What happened?
Gemini CLI still crashes with the following log.
ERROR ioctl(2) failed, EBADF
/home/kazuhito/.nvm/versions/node/v22.17.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.resize (/home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/node_modules/@lydell/node-pty/unixTerminal.js:243:13)
- _ShellExecutionService.resizePty (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-BE42OOYM.js:320262:30)
- (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-RDMZS6KL.js:6529:31)
- commitHookEffectListMount (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:5260:30)
- commitPassiveMountOnFiber (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6282:29)
- recursivelyTraversePassiveMountEffects (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
- commitPassiveMountOnFiber (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
- recursivelyTraversePassiveMountEffects (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
- commitPassiveMountOnFiber (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
- recursivelyTraversePassiveMountEffects (file:///home/kazuhito/.nvm/versions/node/v22.17.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/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/node_modules/@lydell/node-pty/unixTerminal.js:243:13)
at _ShellExecutionService.resizePty (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-BE42OOYM.js:320262:30)
at file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-RDMZS6KL.js:6529:31
at commitHookEffectListMount (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:5260:30)
at commitPassiveMountOnFiber (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6282:29)
at recursivelyTraversePassiveMountEffects (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
at commitPassiveMountOnFiber (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
at recursivelyTraversePassiveMountEffects (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
at commitPassiveMountOnFiber (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
at recursivelyTraversePassiveMountEffects (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
What did you expect to happen?
I had expected the issue to be resolved today following my previous bug report, but it still hasn’t been resolved at all.
Client information
- CLI Version: 0.44.1
- Git Commit: b9b7416
- Session ID: c242da1e-b984-48ac-a99e-098e139918c5
- Operating System: linux v22.17.0
- Sandbox Environment: no sandbox
- Model Version: gemini-3-flash-preview
- Auth Type: oauth-personal
- Memory Usage: 267.9 MB
- Terminal Name: Unknown
- Terminal Background: #282c34
- Kitty Keyboard Protocol: Unsupported
Login information
Google account
Anything else we need to know?
When I asked gemini cli to recall my previous work, it crashed.
What happened?
Gemini CLI still crashes with the following log.
ERROR ioctl(2) failed, EBADF
/home/kazuhito/.nvm/versions/node/v22.17.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: };
An unexpected critical error occurred:Error: ioctl(2) failed, EBADF
at UnixTerminal.resize (/home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/node_modules/@lydell/node-pty/unixTerminal.js:243:13)
at _ShellExecutionService.resizePty (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-BE42OOYM.js:320262:30)
at file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-RDMZS6KL.js:6529:31
at commitHookEffectListMount (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:5260:30)
at commitPassiveMountOnFiber (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6282:29)
at recursivelyTraversePassiveMountEffects (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
at commitPassiveMountOnFiber (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
at recursivelyTraversePassiveMountEffects (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
at commitPassiveMountOnFiber (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6374:13)
at recursivelyTraversePassiveMountEffects (file:///home/kazuhito/.nvm/versions/node/v22.17.0/lib/node_modules/@google/gemini-cli/bundle/chunk-VUERI7WB.js:6263:13)
What did you expect to happen?
I had expected the issue to be resolved today following my previous bug report, but it still hasn’t been resolved at all.
Client information
Login information
Google account
Anything else we need to know?
When I asked gemini cli to recall my previous work, it crashed.