I just found a way to fool iTerm by running a simple program. This program runs fine in default osx terminal and it's ok for all linux terminals out there (xterm, ..) but in iTerm it just gets locked.
Attached is the test program to trigger this bug.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
test program to crash iterm