I'm getting occasional crashes with the following on a background thread:
Of course no idea what actual class was doing what. I'm trying to focus on where this could be, and it would seem "CA::Transaction::commit()" points to some kind of animation block. But, if the view uses constraint based layout, could it be anything?
Code Block NSInternalInconsistencyException Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread. 0 __exceptionPreprocess + 224 1 objc_exception_throw + 52 2 _AssertAutolayoutOnAllowedThreadsOnly + 416 3 -[NSISEngine withBehaviors:performModifications:] + 28 4 -[UIView(UIConstraintBasedLayout) _resetLayoutEngineHostConstraints] + 72 5 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1948 6 -[CALayer layoutSublayers] + 280 7 CA::Layer::layout_if_needed(CA::Transaction*) + 464 8 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 136 9 CA::Context::commit_transaction(CA::Transaction*, double) + 292 10 CA::Transaction::commit() + 672 11 CA::Transaction::release_thread(void*) + 224 12 _pthread_tsd_cleanup + 576 13 _pthread_exit + 76 14 _pthread_wqthread_exit + 92 15 _pthread_wqthread + 412 16 start_wqthread + 4
Of course no idea what actual class was doing what. I'm trying to focus on where this could be, and it would seem "CA::Transaction::commit()" points to some kind of animation block. But, if the view uses constraint based layout, could it be anything?