iTerm2 UI hangs
Bug report
Thanks for filing an issue! Please answer the questions below so I can help you.
-
iTerm2 version: Build 3.4.15
-
OS version: macOS 12.1 (arm64)
-
Attach
~/Library/Preferences/com.googlecode.iterm2.plisthere (drag-drop from finder into this window) com.googlecode.iterm2.plist -
Attach a debug log, if possible.
-
Attach a screen capture video if it would make the reproduction steps clearer.
Detailed steps to reproduce the problem
Apologies, I have not found a way to reliably reproduce this as it happens sporadically. In short, after using latest version of iTerm2 for a while (varying amounts of time), the UI freezes and does not respond to any input. There is not a beachball, but the menubar does not respond.
I have attached 2 separate sample outputs for the issue. I took the samples after the freeze by taking the following steps:
- See that iTerm ui freezes after a certain amount of usage (sorry, I know, useless repro info)
- Open Terminal.app and
ps -ef | grep iTerm, thensample <pid of iTerm UI> -file iterm.sample - Cmd-tab to the (fullscreen iTerm) and click randomly, hit keyboard etc.
- save sample
- Force-quit iTerm.
- Restart iTerm
What happened
The iTerm UI did not respond. When restarting iTerm, the session "layout" was not saved, though the underlying terminal sessions were recovered.
Samples:
What should have happened
The UI should not have frozen. Ideally the layout of the session would be restored after force quit.