iTerm2 crashes when doing vi /usr/local/bin/rebar
By sigx... on June 18, 2014 11:14 (imported from Google Code)
1) Attach your ~/Library/Preferences/com.googlecode.iterm2.plist to this
issue.
2) Create a debug log while reproducing the issue. Instructions are here:
Process: iTerm [43688]
Path: /Applications/iTerm.app/Contents/MacOS/iTerm
Identifier: com.googlecode.iterm2
Version: 1.0.0.20130622 (1.0.0.20130622)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: iTerm [43688]
User ID: 501
Date/Time: 2014-06-18 14:08:18.089 +0300
OS Version: Mac OS X 10.10 (14A261i)
Report Version: 11
Anonymous UUID: 79FA17EE-8D4E-3F96-80B4-27E44B6C087A
Time Awake Since Boot: 7100 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
__TEXT 0000000100000000-00000001001a6000 [ 1688K] r-x/rwx SM=COW /Applications/iTerm.app/Contents/MacOS/iTerm
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.googlecode.iterm2 0x000000010012e578 -[CharacterRun getPositions:forRun:startingAtIndex:glyphCount:runWidthPtr:] + 152
1 com.googlecode.iterm2 0x000000010003cf8a -[PTYTextView(Private) drawRun:ctx:initialPoint:] + 394
2 com.googlecode.iterm2 0x000000010003d498 -[PTYTextView(Private) _drawRuns:runs:] + 344
3 com.googlecode.iterm2 0x000000010003680e -[PTYTextView(Private) _drawCharactersInLine:inRange:startingAtPoint:bgselected:reversed:bgColor:matches:] + 206
4 com.googlecode.iterm2 0x000000010003c9d0 -[PTYTextView(Private) _drawLine:AtY:toPoint:] + 4208
5 com.googlecode.iterm2 0x00000001000300f8 -[PTYTextView drawRect:to:] + 904
6 com.googlecode.iterm2 0x00000001000309aa -[PTYTextView drawRect:] + 74
7 com.apple.AppKit 0x00007fff8a516076 -[NSView _drawRect:clip:] + 4369
8 com.apple.AppKit 0x00007fff8a512cd9 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3305
9 com.apple.AppKit 0x00007fff8a513877 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6279
10 com.apple.AppKit 0x00007fff8a513877 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6279
11 com.apple.AppKit 0x00007fff8a513877 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6279
12 com.apple.AppKit 0x00007fff8a513877 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6279
13 com.apple.AppKit 0x00007fff8a513877 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6279
14 com.apple.AppKit 0x00007fff8a513877 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6279
15 com.apple.AppKit 0x00007fff8a513877 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6279
16 com.apple.AppKit 0x00007fff8a513877 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6279
17 com.apple.AppKit 0x00007fff8a511ae5 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 333
18 com.apple.AppKit 0x00007fff8a50e614 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2932
19 com.apple.AppKit 0x00007fff8a4ed7b6 -[NSView displayIfNeeded] + 1892
20 com.apple.AppKit 0x00007fff8a50a4a5 -[NSWindow displayIfNeeded] + 232
21 com.apple.AppKit 0x00007fff8a547b42 _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 936
22 com.apple.AppKit 0x00007fff8ab04981 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1494 + 46
23 com.apple.CoreFoundation 0x00007fff8c68b7d7 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23
24 com.apple.CoreFoundation 0x00007fff8c68b730 __CFRunLoopDoObservers + 368
25 com.apple.CoreFoundation 0x00007fff8c67d144 __CFRunLoopRun + 868
26 com.apple.CoreFoundation 0x00007fff8c67cb98 CFRunLoopRunSpecific + 296
27 com.apple.HIToolbox 0x00007fff914878ff RunCurrentEventLoopInMode + 235
28 com.apple.HIToolbox 0x00007fff91487672 ReceiveNextEventCommon + 431
29 com.apple.HIToolbox 0x00007fff914874b3 _BlockUntilNextEventMatchingListInModeWithFilter + 71
30 com.apple.AppKit 0x00007fff8a3e75a5 _DPSNextEvent + 1000
31 com.apple.AppKit 0x00007fff8a3e6d79 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 139
32 com.apple.AppKit 0x00007fff8a3dad53 -[NSApplication run] + 594
33 com.apple.AppKit 0x00007fff8a3c66ce NSApplicationMain + 1778
34 com.googlecode.iterm2 0x0000000100001c42 main + 66
35 com.googlecode.iterm2 0x0000000100001bd4 start + 52
3) If you are reporting a performance problem, do this:
What steps will reproduce the problem?
- Open iTerm2
- vi /usr/local/bin/rebar
- Crash!
What is the expected output?
A garbled vi window.
What do you see instead?
iTerm2 crashes with the above log.
What version of iTerm2 are you using?
1.0.0.20130622
What OS version are you using?
OS X 10.10 Yosemite.
Please provide any additional information below.
I've tried on other binary files, but they seem to open OK with vi. So far, rebar is the only file that crashes iTerm on vi. Maybe there is some wrong UTF character interpreted.