After macos crash, iTerm2 sessions did not restore properly and many bins behaved weirdly
Thanks for filing an issue! Please answer the questions below so I can help you.
-
iTerm2 version: 3.2.7
-
OS version: 10.14.2
-
Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window) iterm2bugplist
-
Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
-
Are you reporting a performance issue, excessive CPU usage, or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
-
Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
-
Are you reporting excessive memory usage? Please attach a heap analysis: https://gitlab.com/gnachman/iterm2/wikis/heapshot
Detailed steps to reproduce the problem:
- have many tabs open, use
git
,pass
etc, which spawns daemons like ssh-agent, gpg-agent - crash macos
- let iterm2 come up again via macos, without session restoration
What happened:
pass
was failing with "gpg: decryption failed: No secret key", after killing gpg-agent it would work fine again by spawning new daemon
git pull
would fail with "No user exists for uid ####", killed ssh-agent and no luck. quitted iterm2 and started again, it just worked fine
youtube-dl
would fail to resolve hostnames via python http libs, very weirdly - after restart problem was solved.
What should have happened: None of above
I've got that insight from this thread: https://gitlab.com/gitlab-com/support-forum/issues/1406