Unable to launch: NSInternalInconsistencyException
Opened this issue · 0 comments
robeberhardt commented
Let me know how I can help troubleshoot!
iMac Pro 3.2 GHz 8-Core Intel Xeon W, 32Gb RAM
Radeon Pro Vega 56 8 GB
Catalina 10.15.5
XCode 11.6 (11E708)
2020-08-09 21:36:03.413436-0400 Steve ][[40735:81182034] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
Stack:(
0 Foundation 0x00007fff37354ce9 _AssertAutolayoutOnAllowedThreadsOnly + 195
1 Foundation 0x00007fff37364e61 -[NSISEngine tryToChangeConstraintSuchThatMarker:isReplacedByMarkerPlusDelta:undoHandler:] + 38
2 Foundation 0x00007fff3735cfd5 -[NSLayoutConstraint _tryToChangeContainerGeometryWithUndoHandler:] + 389
3 Foundation 0x00007fff3734fae4 -[NSLayoutConstraint _setSymbolicConstant:constant:] + 553
4 Foundation 0x00007fff37352b80 -[NSLayoutConstraint setConstant:] + 66
5 AppKit 0x00007fff31fe7197 -[NSView(NSConstraintBasedLayout) _updateSimpleAutoresizingConstraintsInPlace:forAutoresizingMask:] + 895
6 AppKit 0x00007fff31f5e53d NSViewUpdateConstraintsForFrameChange + 434
7 AppKit 0x00007fff31f5692a -[NSView setFrameSize:] + 1894
8 AppKit 0x00007fff320e2d31 -[NSTextView(NSPrivate) _setFrameSize:forceScroll:] + 962
9 AppKit 0x00007fff320e2865 -[NSTextView setFrameSize:] + 145
10 AppKit 0x00007fff32053ebb -[NSTextView setConstrainedFrameSize:] + 591
11 UIFoundation 0x00007fff65cc7338 -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 1103
12 UIFoundation 0x00007fff65d0c405 _resizeTextViewsIfNeeded + 284
13 UIFoundation 0x00007fff65cd5870 _NSFastFillAllLayoutHolesForGlyphRange + 1863
14 UIFoundation 0x00007fff65cf765a -[NSLayoutManager(NSPrivate) _firstPassGlyphRangeForBoundingRect:inTextContainer:okToFillHoles:] + 1441
15 UIFoundation 0x00007fff65cf611b -[NSLayoutManager(NSPrivate) _glyphRangeForBoundingRect:inTextContainer:fast:okToFillHoles:] + 857
16 AppKit 0x00007fff320eefaa -[NSTextView drawRect:] + 1076
17 AppKit 0x00007fff320a8d8f _NSViewDrawRect + 139
18 AppKit 0x00007fff320a809e -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 2170
19 AppKit 0x00007fff320a749a -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 1271
20 QuartzCore 0x00007fff40790c5d CABackingStoreUpdate_ + 595
21 QuartzCore 0x00007fff407f07d9 ___ZN2CA5Layer8display_Ev_block_invoke + 53
22 QuartzCore 0x00007fff40790162 -[CALayer _display] + 2103
23 AppKit 0x00007fff320a6e8a -[_NSBackingLayer display] + 537
24 AppKit 0x00007fff32008977 -[_NSViewBackingLayer display] + 800
25 QuartzCore 0x00007fff407b83fd _ZL16display_callbackPvS_ + 71
26 QuartzCore 0x00007fff407b835f _ZN2CA13DispatchGroup8dispatchEb + 65
27 libdispatch.dylib 0x00007fff6ec4a658 _dispatch_client_callout + 8
28 libdispatch.dylib 0x00007fff6ec4fc44 _dispatch_lane_serial_drain + 597
29 libdispatch.dylib 0x00007fff6ec505d6 _dispatch_lane_invoke + 363
30 libdispatch.dylib 0x00007fff6ec59c09 _dispatch_workloop_worker_thread + 596
31 libsystem_pthread.dylib 0x00007fff6eea4a3d _pthread_wqthread + 290
32 libsystem_pthread.dylib 0x00007fff6eea3b77 start_wqthread + 15
)
2020-08-09 21:36:03.425916-0400 Steve ][[40735:81182034] [General] An uncaught exception was raised
2020-08-09 21:36:03.425977-0400 Steve ][[40735:81182034] [General] Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.
2020-08-09 21:36:03.426048-0400 Steve ][[40735:81182034] [General] (
0 CoreFoundation 0x00007fff34d24be7 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff6dafc5bf objc_exception_throw + 48
2 Foundation 0x00007fff37354dd7 _AssertAutolayoutOnAllowedThreadsOnly + 433
3 Foundation 0x00007fff37364e61 -[NSISEngine tryToChangeConstraintSuchThatMarker:isReplacedByMarkerPlusDelta:undoHandler:] + 38
4 Foundation 0x00007fff3735cfd5 -[NSLayoutConstraint _tryToChangeContainerGeometryWithUndoHandler:] + 389
5 Foundation 0x00007fff3734fae4 -[NSLayoutConstraint _setSymbolicConstant:constant:] + 553
6 Foundation 0x00007fff37352b80 -[NSLayoutConstraint setConstant:] + 66
7 AppKit 0x00007fff31fe7197 -[NSView(NSConstraintBasedLayout) _updateSimpleAutoresizingConstraintsInPlace:forAutoresizingMask:] + 895
8 AppKit 0x00007fff31f5e53d NSViewUpdateConstraintsForFrameChange + 434
9 AppKit 0x00007fff31f5692a -[NSView setFrameSize:] + 1894
10 AppKit 0x00007fff320e2d31 -[NSTextView(NSPrivate) _setFrameSize:forceScroll:] + 962
11 AppKit 0x00007fff320e2865 -[NSTextView setFrameSize:] + 145
12 AppKit 0x00007fff32053ebb -[NSTextView setConstrainedFrameSize:] + 591
13 UIFoundation 0x00007fff65cc7338 -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 1103
14 UIFoundation 0x00007fff65d0c405 _resizeTextViewsIfNeeded + 284
15 UIFoundation 0x00007fff65cd5870 _NSFastFillAllLayoutHolesForGlyphRange + 1863
16 UIFoundation 0x00007fff65cf765a -[NSLayoutManager(NSPrivate) _firstPassGlyphRangeForBoundingRect:inTextContainer:okToFillHoles:] + 1441
17 UIFoundation 0x00007fff65cf611b -[NSLayoutManager(NSPrivate) _glyphRangeForBoundingRect:inTextContainer:fast:okToFillHoles:] + 857
18 AppKit 0x00007fff320eefaa -[NSTextView drawRect:] + 1076
19 AppKit 0x00007fff320a8d8f _NSViewDrawRect + 139
20 AppKit 0x00007fff320a809e -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 2170
21 AppKit 0x00007fff320a749a -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 1271
22 QuartzCore 0x00007fff40790c5d CABackingStoreUpdate_ + 595
23 QuartzCore 0x00007fff407f07d9 ___ZN2CA5Layer8display_Ev_block_invoke + 53
24 QuartzCore 0x00007fff40790162 -[CALayer _display] + 2103
25 AppKit 0x00007fff320a6e8a -[_NSBackingLayer display] + 537
26 AppKit 0x00007fff32008977 -[_NSViewBackingLayer display] + 800
27 QuartzCore 0x00007fff407b83fd _ZL16display_callbackPvS_ + 71
28 QuartzCore 0x00007fff407b835f _ZN2CA13DispatchGroup8dispatchEb + 65
29 libdispatch.dylib 0x00007fff6ec4a658 _dispatch_client_callout + 8
30 libdispatch.dylib 0x00007fff6ec4fc44 _dispatch_lane_serial_drain + 597
31 libdispatch.dylib 0x00007fff6ec505d6 _dispatch_lane_invoke + 363
32 libdispatch.dylib 0x00007fff6ec59c09 _dispatch_workloop_worker_thread + 596
33 libsystem_pthread.dylib 0x00007fff6eea4a3d _pthread_wqthread + 290
34 libsystem_pthread.dylib 0x00007fff6eea3b77 start_wqthread + 15
)
2020-08-09 21:36:03.426485-0400 Steve ][[40735:81182034] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff34d24be7 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff6dafc5bf objc_exception_throw + 48
2 Foundation 0x00007fff37354dd7 _AssertAutolayoutOnAllowedThreadsOnly + 433
3 Foundation 0x00007fff37364e61 -[NSISEngine tryToChangeConstraintSuchThatMarker:isReplacedByMarkerPlusDelta:undoHandler:] + 38
4 Foundation 0x00007fff3735cfd5 -[NSLayoutConstraint _tryToChangeContainerGeometryWithUndoHandler:] + 389
5 Foundation 0x00007fff3734fae4 -[NSLayoutConstraint _setSymbolicConstant:constant:] + 553
6 Foundation 0x00007fff37352b80 -[NSLayoutConstraint setConstant:] + 66
7 AppKit 0x00007fff31fe7197 -[NSView(NSConstraintBasedLayout) _updateSimpleAutoresizingConstraintsInPlace:forAutoresizingMask:] + 895
8 AppKit 0x00007fff31f5e53d NSViewUpdateConstraintsForFrameChange + 434
9 AppKit 0x00007fff31f5692a -[NSView setFrameSize:] + 1894
10 AppKit 0x00007fff320e2d31 -[NSTextView(NSPrivate) _setFrameSize:forceScroll:] + 962
11 AppKit 0x00007fff320e2865 -[NSTextView setFrameSize:] + 145
12 AppKit 0x00007fff32053ebb -[NSTextView setConstrainedFrameSize:] + 591
13 UIFoundation 0x00007fff65cc7338 -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 1103
14 UIFoundation 0x00007fff65d0c405 _resizeTextViewsIfNeeded + 284
15 UIFoundation 0x00007fff65cd5870 _NSFastFillAllLayoutHolesForGlyphRange + 1863
16 UIFoundation 0x00007fff65cf765a -[NSLayoutManager(NSPrivate) _firstPassGlyphRangeForBoundingRect:inTextContainer:okToFillHoles:] + 1441
17 UIFoundation 0x00007fff65cf611b -[NSLayoutManager(NSPrivate) _glyphRangeForBoundingRect:inTextContainer:fast:okToFillHoles:] + 857
18 AppKit 0x00007fff320eefaa -[NSTextView drawRect:] + 1076
19 AppKit 0x00007fff320a8d8f _NSViewDrawRect + 139
20 AppKit 0x00007fff320a809e -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 2170
21 AppKit 0x00007fff320a749a -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 1271
22 QuartzCore 0x00007fff40790c5d CABackingStoreUpdate_ + 595
23 QuartzCore 0x00007fff407f07d9 ___ZN2CA5Layer8display_Ev_block_invoke + 53
24 QuartzCore 0x00007fff40790162 -[CALayer _display] + 2103
25 AppKit 0x00007fff320a6e8a -[_NSBackingLayer display] + 537
26 AppKit 0x00007fff32008977 -[_NSViewBackingLayer display] + 800
27 QuartzCore 0x00007fff407b83fd _ZL16display_callbackPvS_ + 71
28 QuartzCore 0x00007fff407b835f _ZN2CA13DispatchGroup8dispatchEb + 65
29 libdispatch.dylib 0x00007fff6ec4a658 _dispatch_client_callout + 8
30 libdispatch.dylib 0x00007fff6ec4fc44 _dispatch_lane_serial_drain + 597
31 libdispatch.dylib 0x00007fff6ec505d6 _dispatch_lane_invoke + 363
32 libdispatch.dylib 0x00007fff6ec59c09 _dispatch_workloop_worker_thread + 596
33 libsystem_pthread.dylib 0x00007fff6eea4a3d _pthread_wqthread + 290
34 libsystem_pthread.dylib 0x00007fff6eea3b77 start_wqthread + 15
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)