Unicode/Binary Long Lines Cause Crash
By dabr... on January 16, 2013 07:07 (imported from Google Code)
** READ THIS **
ATTACH YOUR ~/Library/Preferences/com.googlecode.iterm2.plist FILE TO THIS
ISSUE!
Almost all issues are configuration-specific. Issues missing this file will
be closed.
What steps will reproduce the problem?
- Ensure that Profile > Terminal > Character Encoding is "UTF-8"
- Ensure window width is less than 275 columns
- curl -O http://dabe.com/misc/iTerm2-Crash.txt
- cat iTerm2-Crash.txt
Or:
- Resize window to 275 columns or GREATER (e.g., 27" iMac)
- cat iTerm2-Crash.txt
- Attempt to resize window to FEWER than 275 columns
What is the expected output? What do you see instead?
App shouldn't crash! ;-)
The "Ignore, Report..., Reopen" dialog appears.
What version of the product are you using? On what operating system?
Build 1.0.0.20121224
Mountain Lion (10.8.2; Build 12C60)
Please provide any additional information below.
"od -c -t x1" shows the culprit to be the Combining Diacritical Mark for "U+0300 COMBINING GRAVE ACCENT":
<b>** READ THIS **</b>
ATTACH YOUR ~/Library/Preferences/com.googlecode.iterm2.plist FILE TO THIS
ISSUE!
Almost all issues are configuration-specific. Issues missing this file will
be closed.
What steps will reproduce the problem?
- Ensure that Profile > Terminal > Character Encoding is "UTF-8"
- Ensure window width is less than 275 columns
- curl -O http://dabe.com/misc/iTerm2-Crash.txt
- cat iTerm2-Crash.txt
Or:
- Resize window to 275 columns or GREATER (e.g., 27" iMac)
- cat iTerm2-Crash.txt
- Attempt to resize window to FEWER than 275 columns
What is the expected output? What do you see instead?
App shouldn't crash! ;-)
The "Ignore, Report..., Reopen" dialog appears.
What version of the product are you using? On what operating system?
Build 1.0.0.20121224
Mountain Lion (10.8.2; Build 12C60)
Please provide any additional information below.
"od -c -t x1" shows the culprit to be the Combining Diacritical Mark for "U+0300 COMBINING GRAVE ACCENT":
**
or: 0xCC 0x80
Not surprisingly, setting the Character Set to ASCII or ISO Latin 1 "works" but that has undesirable side-effects -- i.e., not showing all the OTHER characters I've come to know and love... Heh
PS – I also tried unchecking "Treat ambiguous-width characters as double-width" but to no avail.
Good luck!