Skip to content

Instantly share code, notes, and snippets.

@ErikFontanel
Last active December 12, 2015 05:48
Show Gist options
  • Save ErikFontanel/4724452 to your computer and use it in GitHub Desktop.
Save ErikFontanel/4724452 to your computer and use it in GitHub Desktop.
Error log of using incremental search on a new user account. Reproduce: 1. Open file 2. Press Ctrl+S 3. Enter string, press Ctrl+S a few times 4. Press Esc to stop typing 5. Window stops updating, pressing ctrl+s still works, highlights are rendered.
2/6/13 6:49:25.213 PM TextMate: *** Assertion failure in -[NSAutoresizingMaskLayoutConstraint _setSymbolicConstant:constant:], /SourceCache/AppKit/AppKit-1138.51/Layout.subproj/NSLayoutConstraint.m:596
2/6/13 6:49:25.213 PM TextMate: Constant is not finite! That's illegal. constant:nan
2/6/13 6:49:25.228 PM TextMate: (
0 CoreFoundation 0x00007fff8a6fcf56 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff92a51d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff8a6fcd8a +[NSException raise:format:arguments:] + 106
3 Foundation 0x00007fff86f9871f -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 169
4 AppKit 0x00007fff896133b9 -[NSLayoutConstraint _setSymbolicConstant:constant:] + 162
5 AppKit 0x00007fff8960ef67 +[NSAutoresizingMaskLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:] + 371
6 AppKit 0x00007fff896112d9 +[NSLayoutConstraint constraintWithItem:attribute:relatedBy:constant:] + 41
7 AppKit 0x00007fff89619722 -[NSView(NSConstraintBasedLayout) _constraintsEquivalentToAutoresizingMask] + 2414
8 AppKit 0x00007fff8961788f -[NSView(NSConstraintBasedLayout) _updateAutoresizingConstraints] + 58
9 AppKit 0x00007fff8949c02c -[NSView updateConstraints] + 55
10 AppKit 0x00007fff8949bf82 -[NSView updateConstraintsForSubtreeIfNeeded] + 151
11 CoreFoundation 0x00007fff8a68acb4 CFArrayApplyFunction + 68
12 AppKit 0x00007fff8949bf5a -[NSView updateConstraintsForSubtreeIfNeeded] + 111
13 CoreFoundation 0x00007fff8a68acb4 CFArrayApplyFunction + 68
14 AppKit 0x00007fff8949bf5a -[NSView updateConstraintsForSubtreeIfNeeded] + 111
15 CoreFoundation 0x00007fff8a68acb4 CFArrayApplyFunction + 68
16 AppKit 0x00007fff8949bf5a -[NSView updateConstraintsForSubtreeIfNeeded] + 111
17 CoreFoundation 0x00007fff8a68acb4 CFArrayApplyFunction + 68
18 AppKit 0x00007fff8949bf5a -[NSView updateConstraintsForSubtreeIfNeeded] + 111
19 CoreFoundation 0x00007fff8a68acb4 CFArrayApplyFunction + 68
20 AppKit 0x00007fff8949bf5a -[NSView updateConstraintsForSubtreeIfNeeded] + 111
21 CoreFoundation 0x00007fff8a68acb4 CFArrayApplyFunction + 68
22 AppKit 0x00007fff8949bf5a -[NSView updateConstraintsForSubtreeIfNeeded] + 111
23 AppKit 0x00007fff89616e09 __-[NSWindow(NSConstraintBasedLayout) updateConstraintsIfNeeded]_block_invoke_1 + 133
24 AppKit 0x00007fff8960e808 -[NSISEngine withAutomaticOptimizationDisabled:] + 57
25 AppKit 0x00007fff89616d7e -[NSWindow(NSConstraintBasedLayout) updateConstraintsIfNeeded] + 132
26 AppKit 0x00007fff89616bf7 -[NSWindow(NSConstraintBasedLayout) layoutIfNeeded] + 27
27 AppKit 0x00007fff88e63f5c -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 52
28 AppKit 0x00007fff88e5dc35 -[NSView displayIfNeeded] + 1676
29 AppKit 0x00007fff88e62d9e -[NSClipView _immediateScrollToPoint:] + 6533
30 AppKit 0x00007fff88e61381 -[NSClipView scrollToPoint:] + 239
31 OakTextView 0x00000001039a85ea -[GutterView boundsDidChange:] + 148
32 Foundation 0x00007fff86ee3d0e __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
33 CoreFoundation 0x00007fff8a6a57ba _CFXNotificationPost + 2634
34 Foundation 0x00007fff86ecffc3 -[NSNotificationCenter postNotificationName:object:userInfo:] + 65
35 AppKit 0x00007fff88f4cf5f -[NSView _postBoundsChangeNotification] + 194
36 AppKit 0x00007fff88f51341 -[NSView translateOriginToPoint:] + 475
37 AppKit 0x00007fff88e62185 -[NSClipView _immediateScrollToPoint:] + 3436
38 AppKit 0x00007fff88e61381 -[NSClipView scrollToPoint:] + 239
39 AppKit 0x00007fff88f4f25b -[NSScrollView scrollClipView:toPoint:] + 266
40 AppKit 0x00007fff88f4effe -[NSClipView _scrollTo:animateScroll:flashScrollerKnobs:] + 1497
41 AppKit 0x00007fff88f51fd7 -[NSClipView _scrollTo:animate:] + 27
42 AppKit 0x00007fff8958c876 -[NSScrollView _doScroller:hitPart:multiplier:] + 970
43 CoreFoundation 0x00007fff8a6ec70d -[NSObject performSelector:withObject:] + 61
44 AppKit 0x00007fff88f248ca -[NSApplication sendAction:to:from:] + 139
45 AppKit 0x00007fff88f247fe -[NSControl sendAction:to:] + 88
46 AppKit 0x00007fff89366586 -[NSScroller sendAction:to:] + 93
47 AppKit 0x00007fff89367a3c -[NSScroller(NSScrollerPrivate) _scrollByDelta:] + 896
48 AppKit 0x00007fff8958b4c9 -[NSScrollView _smoothScrollWithEvent:] + 2461
49 AppKit 0x00007fff8958a9f8 -[NSScrollView scrollWheel:] + 1622
50 CoreFoundation 0x00007fff8a6ec70d -[NSObject performSelector:withObject:] + 61
51 AppKit 0x00007fff88ef38ba forwardMethod + 129
52 AppKit 0x00007fff89499127 -[NSView scrollWheel:] + 273
53 CoreFoundation 0x00007fff8a6ec70d -[NSObject performSelector:withObject:] + 61
54 AppKit 0x00007fff88ef38ba forwardMethod + 129
55 AppKit 0x00007fff89499127 -[NSView scrollWheel:] + 273
56 AppKit 0x00007fff88eee0fc -[NSWindow sendEvent:] + 7430
57 AppKit 0x00007fff88e86f74 -[NSApplication sendEvent:] + 4520
58 AppKit 0x00007fff88e1da0e -[NSApplication run] + 555
59 AppKit 0x00007fff89099eac NSApplicationMain + 867
60 TextMate 0x00000001030c7dca main + 696
61 TextMate 0x00000001030ae004 start + 52
62 ??? 0x0000000000000002 0x0 + 2
)
2/6/13 6:50:40.741 PM [0x0-0x153153].com.macromates.TextMate.preview: Feb 6 18:50:40 macbookpro.lan TextMate[12355] <Error>: CGContextScaleCTM: invalid context 0x0
2/6/13 6:51:12.655 PM TextMate: Layout still needs update after calling -[WebHTMLView layout]. WebHTMLView or one of its superclasses may have overridden -layout without calling super. Or, something may have dirtied layout in the middle of updating it. Both are programming errors in Cocoa Autolayout. The former is pretty likely to arise if some pre-Cocoa Autolayout class had a method called layout, but it should be fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment