Post

Replies

Boosts

Views

Activity

NSInternalInconsistencyException crash in iOS 17
Hey Team, We started to get the NSInternalInconsistencyException crash only for iOS 17. The crash logs are very generic and don’t point to any specific screen or code that’s why it's hard to figure out the root cause for this. We already tried running the main thread checker but we didn’t get any thread issues. Kindly help. Crash Logs: Fatal Exception: NSInternalInconsistencyException Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread. 0 CoreFoundation 0xec870 __exceptionPreprocess 1 libobjc.A.dylib 0x2bc00 objc_exception_throw 2 CoreAutoLayout 0x56c8 NSISSparseVectorAddTermWithPlaceValueCoefficientStartingIndex 3 CoreAutoLayout 0xbadc -[NSISEngine _optimizeWithoutRebuilding] 4 CoreAutoLayout 0xb7f0 -[NSISEngine optimize] 5 CoreAutoLayout 0xb57c -[NSISEngine performPendingChangeNotifications] 6 UIKitCore 0x33f38 -[UIView(Hierarchy) layoutSubviews] 7 UIKitCore 0x32694 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] 8 QuartzCore 0x671c0 CA::Layer::layout_if_needed(CA::Transaction*) 9 QuartzCore 0x66d48 CA::Layer::layout_and_display_if_needed(CA::Transaction*) 10 QuartzCore 0x6d278 CA::Context::commit_transaction(CA::Transaction*, double, double*) 11 QuartzCore 0x66574 CA::Transaction::commit() 12 QuartzCore 0x1fe504 CA::Transaction::release_thread(void*) 13 libsystem_pthread.dylib 0x9f48 _pthread_tsd_cleanup 14 libsystem_pthread.dylib 0x4880 _pthread_exit 15 libsystem_pthread.dylib 0x5d7c _pthread_wqthread_legacy_worker_wrap 16 libsystem_pthread.dylib 0x19ec _pthread_wqthread 17 libsystem_pthread.dylib 0x1a04 start_wqthread
9
2
2.4k
Dec ’23