Skip to content

Instantly share code, notes, and snippets.

@saitoha
Created September 5, 2013 14:18
Show Gist options
  • Select an option

  • Save saitoha/6450719 to your computer and use it in GitHub Desktop.

Select an option

Save saitoha/6450719 to your computer and use it in GitHub Desktop.
iTerm2 bce behavior with vsplit feature have drawing problem. echo -en "\033c\033[1000d\033[41m\n\n\033[?69h\033[4;33s\033[1000d\033[42m\n\n"
2013-09-05 23:14:13.549 iTerm[24744:303] ** Experimental optimizations enabled **
2013-09-05 23:14:18.232 iTerm[24744:303] No complex char for code 60416
2013-09-05 23:14:18.232 iTerm[24744:303] No complex char for code 1729
(lldb) bt
* thread #1: tid = 0x1c03, 0x00007fff8a38f097 libobjc.A.dylib`objc_msgSend + 23, stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
frame #0: 0x00007fff8a38f097 libobjc.A.dylib`objc_msgSend + 23
frame #1: 0x000000010005fe3b iTerm`-[PTYTextView color:withContrastAgainst:](self=0x0000000101879600, _cmd=0x0000000100505350, mainColor=0x000000010058d290, otherColor=0x00000001029c3fd0) + 107 at PTYTextView.m:6280
frame #2: 0x00000001000608f8 iTerm`-[PTYTextView _constructRuns:theLine:reversed:bgselected:width:indexRange:bgColor:matches:storage:](self=0x0000000101879600, _cmd=0x00000001005054a0, initialPoint=(null), theLine=0x00000001029ed430, reversed='\0', bgselected='\0', width=80, indexRange=(null), bgColor=0x00000001029c3fd0, matches=0x0000000000000000, storage=0x0000000108f34bc0) + 1848 at PTYTextView.m:6402
frame #3: 0x00000001000625a8 iTerm`-[PTYTextView _drawCharactersInLine:inRange:startingAtPoint:bgselected:reversed:bgColor:matches:context:](self=0x0000000101879600, _cmd=0x0000000100505570, theLine=0x00000001029ed430, indexRange=(null), initialPoint=(null), bgselected='\0', reversed='\0', bgColor=0x00000001029c3fd0, matches=0x0000000000000000, ctx=0x000000010069e980) + 376 at PTYTextView.m:6660
frame #4: 0x0000000100063765 iTerm`-[PTYTextView drawRunStartingAtIndex:endAt:yOrigin:toPoint:hasBGImage:defaultBgColorPtr:alphaIfTransparencyInUse:bgColor:bgColorMode:bgBlue:bgGreen:reversed:bgselected:isMatch:stripes:line:matches:context:](self=0x0000000101879600, _cmd=0x0000000100505600, firstIndex=35, lastIndex=36, yOrigin=68, toPoint=0x0000000000000000, hasBGImage='\0', defaultBgColorPtr=0x00007fff5fbfaee8, alphaIfTransparencyInUse=0.963283561170101, bgColor=183, bgColorMode=3, bgBlue=119, bgGreen=121, reversed='\0', bgselected='\0', isMatch='\0', stripes='\0', theLine=0x00000001029ed430, matches=0x0000000000000000, ctx=0x000000010069e980) + 2949 at PTYTextView.m:6805
frame #5: 0x0000000100064f3a iTerm`-[PTYTextView _drawLine:AtY:toPoint:charRange:context:](self=0x0000000101879600, _cmd=0x00000001005042d0, line=4, curY=68, toPoint=0x0000000000000000, charRange=(null), ctx=0x000000010069e980) + 6074 at PTYTextView.m:6983
frame #6: 0x0000000100048371 iTerm`-[PTYTextView drawRect:to:](self=0x0000000101879600, _cmd=0x0000000100504270, rect=(null), toOrigin=0x0000000000000000) + 2257 at PTYTextView.m:2117
frame #7: 0x00000001000465dd iTerm`-[PTYTextView drawRect:](self=0x0000000101879600, _cmd=0x00007fff89306b92, rect=(null)) + 973 at PTYTextView.m:1916
frame #8: 0x00007fff88a2ac39 AppKit`-[NSView _drawRect:clip:] + 3748
frame #9: 0x00007fff88a294ae AppKit`-[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1799
frame #10: 0x00007fff88a2988a AppKit`-[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
frame #11: 0x00007fff88a2988a AppKit`-[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
frame #12: 0x00007fff88a2988a AppKit`-[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
frame #13: 0x00007fff88a2988a AppKit`-[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
frame #14: 0x00007fff88a2988a AppKit`-[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
frame #15: 0x00007fff88a2988a AppKit`-[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
frame #16: 0x00007fff88a2988a AppKit`-[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
frame #17: 0x00007fff88a272f0 AppKit`-[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 841
frame #18: 0x00007fff88a287ae AppKit`-[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
frame #19: 0x00007fff88a26aa1 AppKit`-[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 314
frame #20: 0x00007fff88a23aa9 AppKit`-[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2828
frame #21: 0x00007fff88a02d6a AppKit`-[NSView displayIfNeeded] + 1680
frame #22: 0x00007fff88a6817e AppKit`_handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 884
frame #23: 0x00007fff8903b041 AppKit`__83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1331 + 46
frame #24: 0x00007fff90a0a407 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
frame #25: 0x00007fff90a0a377 CoreFoundation`__CFRunLoopDoObservers + 391
frame #26: 0x00007fff909fbb18 CoreFoundation`__CFRunLoopRun + 776
frame #27: 0x00007fff909fb5d5 CoreFoundation`CFRunLoopRunSpecific + 309
frame #28: 0x00007fff8b25d649 HIToolbox`RunCurrentEventLoopInMode + 226
frame #29: 0x00007fff8b25d3e5 HIToolbox`ReceiveNextEventCommon + 479
frame #30: 0x00007fff8b25d1ea HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 65
frame #31: 0x00007fff888cbd7e AppKit`_DPSNextEvent + 1434
frame #32: 0x00007fff888cb3cb AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
frame #33: 0x00007fff888bf3cc AppKit`-[NSApplication run] + 553
frame #34: 0x00007fff888aa253 AppKit`NSApplicationMain + 940
frame #35: 0x00000001000014e6 iTerm`main(argc=3, argv=0x00007fff5fbff8b0) + 118 at main.m:24
frame #36: 0x0000000100001444 iTerm`start + 52
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment