What happened?
when I used gemini cli,there are errors below:
ERROR ioctl(2) failed, EBADF
.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/node_modules/@lydell/node-pty/unixTerminal.js:243:13
240: if (cols <= 0 || rows <= 0 || isNaN(cols) || isNaN(rows) || cols === Infinity || rows === Infinity) {
241: throw new Error('resizing must be done using positive cols and rows');
242: }
243: pty.resize(this._fd, cols, rows);
244: this._cols = cols;
245: this._rows = rows;
246: };
-UnixTerminal.resiz
e
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/node_modules/@lydell/node-pty/unixTerminal.
js:243:13)
-_ShellExecutionService.resizePt
y
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-BE42OOYM.js:32026
2:30)
- (.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-RDMZS6KL.js:6529:31)
- commitHookEffectListMount
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:5260:30)
- commitPassiveMountOnFiber
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6282:29)
-recursivelyTraversePassiveMountEffec
ts
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:
6263:13)
- commitPassiveMountOnFiber
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
-recursivelyTraversePassiveMountEffec
ts
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:
6263:13)
- commitPassiveMountOnFiber
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
-recursivelyTraversePassiveMountEffec
ts
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:
6263:13)
An unexpected critical error occurred:Error: ioctl(2) failed, EBADF
at UnixTerminal.resize
(/home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/node_modules/@lydell/node-pty/unixTerminal.js:
243:13)
at _ShellExecutionService.resizePty
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-BE42OOYM.js:320262:30)
at
file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-RDMZS6KL.js:6529:3
1
at commitHookEffectListMount
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:5260:30)
at commitPassiveMountOnFiber
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6282:29)
at recursivelyTraversePassiveMountEffects
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
at commitPassiveMountOnFiber
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
at recursivelyTraversePassiveMountEffects
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
at commitPassiveMountOnFiber
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
at recursivelyTraversePassiveMountEffects
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
What did you expect to happen?
this error should not happened,pls fix it, thank you
Client information
- CLI Version: 0.44.1
- Git Commit: b9b7416
- Session ID: cdac8908-f9b8-4b6d-8751-b2e76a334ccf
- Operating System: linux v25.6.0
- Sandbox Environment: no sandbox
- Model Version: auto
- Auth Type: oauth-personal
- Memory Usage: 360.5 MB
- Terminal Name: Unknown
- Terminal Background: #000000
- Kitty Keyboard Protocol: Unsupported
Login information
No response
Anything else we need to know?
No response
What happened?
when I used gemini cli,there are errors below:
ERROR ioctl(2) failed, EBADF
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/node_modules/@lydell/node-pty/unixTerminal.
js:243:13)
-_ShellExecutionService.resizePt
y
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-BE42OOYM.js:32026
2:30)
- (.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-RDMZS6KL.js:6529:31)
- commitHookEffectListMount
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:5260:30)
- commitPassiveMountOnFiber
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6282:29)
-recursivelyTraversePassiveMountEffec
ts
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:
6263:13)
- commitPassiveMountOnFiber
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
-recursivelyTraversePassiveMountEffec
ts
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:
6263:13)
- commitPassiveMountOnFiber
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
-recursivelyTraversePassiveMountEffec
ts
(.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:
6263:13)
An unexpected critical error occurred:Error: ioctl(2) failed, EBADF
at UnixTerminal.resize
(/home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/node_modules/@lydell/node-pty/unixTerminal.js:
243:13)
at _ShellExecutionService.resizePty
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-BE42OOYM.js:320262:30)
at
file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-RDMZS6KL.js:6529:3
1
at commitHookEffectListMount
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:5260:30)
at commitPassiveMountOnFiber
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6282:29)
at recursivelyTraversePassiveMountEffects
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
at commitPassiveMountOnFiber
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
at recursivelyTraversePassiveMountEffects
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
at commitPassiveMountOnFiber
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
at recursivelyTraversePassiveMountEffects
(file:///home/baymax/.nvm/versions/node/v25.6.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
What did you expect to happen?
this error should not happened,pls fix it, thank you
Client information
Login information
No response
Anything else we need to know?
No response