Crash on "exit"
When tabs/sessions are opened from an AppleScript with commands, as soon as I disconnect with the "exit" command or "shutdown -r", iTerm2 crashes. I currently run 2.9.20160324-nightly. Closing the tab will not crash iTerm2. I sent several bug reports and here is an example of an AppleScript with which I can reproduce the bug.
This script assumes iTerm2 is launched with a window and that a server can be reached at 192.168.1.2 on default port. Edit the command as you like, it seems to always reproduce the bug whatever is my command. Once connected, type "exit" to disconnect from the server, iTerm2 should crash immediately.
Thank you!