Home Features Docs Blog Support GitHub

I don't understand from crash logs

Hi,
I just released new version of my application but I get an error that is only seen on iphone 11 pro phones. I examine crash log from Xcode but I could not understand why the error was caused, the error log is as follows, how can I understand where the real error originated?

Here is the original crash log:

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 3

Last Exception Backtrace:
0 CoreFoundation 0x18b35c96c __exceptionPreprocess + 224 (NSException.m:199)
1 libobjc.A.dylib 0x18b075028 objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreFoundation 0x18b2594fc +[NSException raise:format:arguments:] + 100 (NSException.m:146)
3 Foundation 0x18b69a690 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 132 (NSException.m:231)
4 FrontBoardServices 0x19059e7ec -[FBSSerialQueue assertOnQueue] + 236 (FBSSerialQueue.m:98)
5 FrontBoardServices 0x190550460 -[FBSSceneImpl updateClientSettings:withTransitionContext:] + 80 (FBSSceneImpl.m:190)
6 FrontBoardServices 0x1905506ec -[FBSSceneImpl updateClientSettingsWithTransitionBlock:] + 168 (FBSSceneImpl.m:213)
7 FrontBoardServices 0x1905505e4 -[FBSSceneImpl updateClientSettingsWithBlock:] + 128 (FBSSceneImpl.m:203)
8 UIKitCore 0x18efd1c40 -[FBSScene(UIApp) updateUIClientSettingsWithBlock:] + 184 (FBSScene+UIApp.m:41)
9 UIKitCore 0x18f0c1870 -[UIDevice(Private) _enableDeviceOrientationEvents:] + 156 (UIDevice.m:467)
10 UIKitCore 0x18f0c2640 -[UIDevice endGeneratingDeviceOrientationNotifications] + 60 (UIDevice.m:828)
11 MOE 0x108a18044 ffi_call_SYSV + 68
12 MOE 0x108a2c6ac ffi_call_int + 960
13 MOE 0x108a0eaac std::__1::function<void (unsigned int, _ffi_type**, void**)>::operator()(unsigned int, _ffi_type*… + 68
14 MOE 0x108a0e94c ValueConverter<(ValueConverterKind)1>::ValueConverter(ValueConverter<(ValueConverterKind)1>::Desc… + 280
15 MOE 0x108a0c864 javaToNativeMessageHandler(ffi_cif*, void*, void**, void*) + 1256
16 MOE 0x108a2ce44 ffi_closure_SYSV_inner + 708
17 MOE 0x108a181b4 ffi_closure_SYSV + 52
18 MOE 0x10f1f2a2c 0x1084d8000 + 114403884
19 MOE 0x108722280 art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) + 200
20 MOE 0x10876bd04 art::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::ArgA… + 112
21 MOE 0x10876cd10 art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*… + 336
22 MOE 0x108622528 art::thread::CreateCallback(void*) + 992
23 libsystem_pthread.dylib 0x18b065840 _pthread_start + 168 (pthread.c:896)
24 libsystem_pthread.dylib 0x18b06d9f4 thread_start + 8

From the stack trace, there is call to UIKitCore
endGeneratingDeviceOrientationNotifications method and either parameters of that call or something with application or UI state isn’t right for that call to go trough

Googling on “ios endGeneratingDeviceOrientationNotifications crash” gives number of results, including this:

Thank you ekuleshov for your clue, i will investigate