iTerm beta frequently locking up in password selection dialog (via 1Password integration)
Crash report
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version:3.5.0beta18
- OS version: 14.2.1
- Attach
~/Library/Preferences/com.googlecode.iterm2.plist
: com.googlecode.iterm2.plist - Attach a debug log, if possible.
- Attach a screen capture video if it would make the reproduction steps clearer.
- Please attach the crash log.
PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.
Detailed steps to reproduce the problem
- Set up 1Password integration
- Lock 1Password so you will be prompted to give your master password by 1Password
- Invoke iTerm's password manager with ⌘⌥F
- Cancel password retrieval, or just wait a bit while you enter your master password into the 1Password UI, which will cause iTerm to retrieve no passwords
- Close the password manager
- Re-open the password manager with ⌘⌥F
- Passwords are now listed because you entered your master password in step 4
- Press down arrow to start selecting a password
What happened
iTerm pinwheels: it's locked up and needs to be killed/force closed
What should have happened
iTerm lets me select a password and it doesn't lock up
Additional info
Ever since I started using 1Password integration, if 1Password is locked (i.e. due to timeout) when I invoke iTerm's password manager, upon unlocking 1Password iTerm shows no error but also doesn't have any passwords from 1Password. This behavior is not new, and I've seen it on every machine I've used (three or four at this point). A second invocation of the iTerm password manager immediately afterwards successfully loads the passwords and lets me select one. This behavior is slightly annoying but not at all my problem today. The new behavior, and only on one of my MacBooks, is that iTerm is now locking up during this second invocation as I attempt to select a password.
You may need to repeat steps 6–8 a few times to reproduce this, but I've locked up iTerm at least a half dozen times tonight alone. I don't think I've ever been able to use the password manager more than three or four times. I cannot use the password manager functionality anymore because it will always kill iTerm after a few uses.
I have attached my preferences file above. Here's an Activity Monitor sample of iTerm while it was frozen: Sample_of_iTerm2.txt
I was unable to get a debug log (it locks up and presumably doesn't write out the debug log), and I get no crash dumps from this.