Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #673

Open
violettomsk opened this issue Jun 19, 2021 · 0 comments

Comments

@violettomsk
Copy link

2021-06-20 01:21:58.880 java[61378:4172551] 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 CoreAutoLayout 0x00007fff2730647f _AssertAutoLayoutOnAllowedThreadsOnly + 189
1 CoreAutoLayout 0x00007fff27306950 -[NSISEngine _optimizeIfNotDisabled] + 23
2 CoreAutoLayout 0x00007fff27307c3c -[NSISEngine _tryToAddConstraintWithMarkerEngineVar:row:mutuallyExclusiveConstraints:] + 534
3 CoreAutoLayout 0x00007fff27307845 -[NSISEngine tryToAddConstraintWithMarker:expression:mutuallyExclusiveConstraints:] + 613
4 CoreAutoLayout 0x00007fff2731be53 -[NSLayoutConstraint _addLoweredExpression:toEngine:lastLoweredConstantWasRounded:mutuallyExclusiveConstraints:] + 272
5 CoreAutoLayout 0x00007fff2731f41e -[NSLayoutConstraint _addToEngine:mutuallyExclusiveConstraints:] + 137
6 AppKit 0x00007fff22e4c279 -[NSView(NSConstraintBasedLayout) _layoutEngine_didAddLayoutConstraint:integralizationAdjustment:mutuallyExclusiveConstraints:] + 91
7 AppKit 0x00007fff22e4c047 -[NSView(NSConstraintBasedLayout) _tryToAddConstraint:integralizationAdjustment:mutuallyExclusiveConstraints:] + 272
8 AppKit 0x00007fff230a3b68 -[NSStatusBarWindow setStatusBarView:] + 625
9 AppKit 0x00007fff230a34a7 -[NSStatusBar(NSStatusBar_Appearance) _createStatusItemControlInWindow:] + 162
10 AppKit 0x00007fff230a33cb -[NSSystemStatusBar _createStatusItemControlInWindow:] + 44
11 AppKit 0x00007fff230a333b -[NSStatusItem _button] + 49
12 AppKit 0x00007fff2355b874 -[NSStatusItem setHighlightMode:] + 26
13 jna9950380723194405279.tmp 0x0000000133ae811a ffi_prep_go_closure + 1354
14 ??? 0x000070000a1d4b08 0x0 + 123145472002824
)

@violettomsk violettomsk changed the title Please check this issue. 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. Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant