Weird exception after converting to autolayout
Weird exception after converting to autolayout
- Subject: Weird exception after converting to autolayout
- From: Graham Cox <email@hidden>
- Date: Thu, 31 Jul 2014 09:42:59 +1000
I'm getting this happening at certain unpredictable times - I haven't found a repeatable trigger for it, but it only started happening after I switched to autolayout. The ruler views here are in the scroller that hosts my main content view. I have no constraints set on this view at all, though it works normally most of the time other than this problem.
Since the problem seems to be with ruler marker images, note that I am supplying some custom images for ruler markers, but again, they seem to be working as expected.
Anyone come across this one before, or have any insight into what this is implying?
(n.b. 'xxxxxxxx' is my redacted app name)
2014-07-30 19:10:58.654 xxxxxxxx[5110:303] Overflow allocating bitmap backing store. Cannot back bitmap with 1152921504606846976 bytes per row, -9223372036854775808 height, and 1 planes.
2014-07-30 19:10:58.659 xxxxxxxx[5110:303] (
0 CoreFoundation 0x00007fff832bd25c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff88af2e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff832bd10c +[NSException raise:format:] + 204
3 AppKit 0x00007fff8532465e NSNewBitmapBackingStore + 134
4 AppKit 0x00007fff853a976e +[NSCGImageSnapshotRep _lockFocusForCreatingSnapshot:withRect:context:hints:flipped:] + 749
5 AppKit 0x00007fff854240eb -[NSImageRep _newCGImageForProposedRect:context:hints:flipped:] + 645
6 AppKit 0x00007fff8541dc88 -[NSImageRep CGImageForProposedRect:context:hints:] + 99
7 AppKit 0x00007fff854232c6 -[NSImageRep CGImageForProposedRect:context:hints:flipped:] + 346
8 AppKit 0x00007fff85423df6 -[NSImage _newSnapshotRepForRep:rect:context:processedHints:] + 159
9 AppKit 0x00007fff85423d28 -[NSImage _snapshotRepForRep:rect:context:processedHints:] + 195
10 AppKit 0x00007fff8541cab6 __71-[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke + 264
11 AppKit 0x00007fff853a8286 -[NSImage _usingBestRepresentationForRect:context:hints:body:] + 170
12 AppKit 0x00007fff8541c8ac -[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:] + 1447
13 AppKit 0x00007fff855a0b03 -[NSImage _compositeFlipped:inRect:fromRect:operation:fraction:] + 254
14 AppKit 0x00007fff857e939e -[NSImage _compositeFlipped:atPoint:fromRect:operation:fraction:] + 212
15 AppKit 0x00007fff858bca09 -[NSRulerMarker drawRect:] + 213
16 AppKit 0x00007fff858c41ca -[NSRulerView drawMarkersInRect:] + 399
17 AppKit 0x00007fff858c464e -[NSRulerView drawRect:] + 543
18 AppKit 0x00007fff8540c04f -[NSView _drawRect:clip:] + 3748
19 AppKit 0x00007fff8540a8c4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1799
20 AppKit 0x00007fff858c59ba -[NSRulerView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 537
21 AppKit 0x00007fff8540aca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
22 AppKit 0x00007fff8540aca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
23 AppKit 0x00007fff8540aca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
24 AppKit 0x00007fff8540aca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
25 AppKit 0x00007fff8540aca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
26 AppKit 0x00007fff85408706 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 841
27 AppKit 0x00007fff85407eb1 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 314
28 AppKit 0x00007fff85404e9f -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2828
29 AppKit 0x00007fff853e42fa -[NSView displayIfNeeded] + 1680
30 AppKit 0x00007fff8544974e _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 884
31 AppKit 0x00007fff85a1f061 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1331 + 46
32 CoreFoundation 0x00007fff831ede17 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
33 CoreFoundation 0x00007fff831edd87 __CFRunLoopDoObservers + 391
34 CoreFoundation 0x00007fff831df468 __CFRunLoopRun + 776
35 CoreFoundation 0x00007fff831def25 CFRunLoopRunSpecific + 309
36 HIToolbox 0x00007fff875f5a0d RunCurrentEventLoopInMode + 226
37 HIToolbox 0x00007fff875f5685 ReceiveNextEventCommon + 173
38 HIToolbox 0x00007fff875f55bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
39 AppKit 0x00007fff852ad26e _DPSNextEvent + 1434
40 AppKit 0x00007fff852ac8bb -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
41 AppKit 0x00007fff852a09bc -[NSApplication run] + 553
42 AppKit 0x00007fff8528b7a3 NSApplicationMain + 940
43 xxxxxxxx 0x0000000100017f22 main + 34
44 libdyld.dylib 0x00007fff8d04a5fd start + 1
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden