Closed fettergabor closed 4 years ago
5 OlympusMobilityTouch 0x0000000106b5af30 mono_invoke_unhandled_exception_hook + 39612208 (exception.c:1299)
6 OlympusMobilityTouch 0x0000000106aef570 mono_handle_exception_internal + 39171440 (mini-exceptions.c:2778)
7 OlympusMobilityTouch 0x0000000106aedf94 mono_handle_exception + 39165844 (mini-exceptions.c:3102)
8 OlympusMobilityTouch 0x0000000106ae37a0 mono_arm_throw_exception + 39122848 (exceptions-arm64.c:400)
9 OlympusMobilityTouch 0x000000010513ca0c throw_exception + 172
10 OlympusMobilityTouch 0x0000000104eef6fc System_Runtime_ExceptionServices_ExceptionDispatchInfo_Throw + 44
11 OlympusMobilityTouch 0x0000000104ef6544 System_Runtime_CompilerServices_AsyncMethodBuilderCore__c__ThrowAsyncb__7_0_object + 84
12 OlympusMobilityTouch 0x0000000105d667cc Foundation_NSAsyncSynchronizationContextDispatcher_Apply + 24979404 (NSAction.cs:178)
13 OlympusMobilityTouch 0x00000001050fe340 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 272
14 OlympusMobilityTouch 0x0000000106b0142c mono_jit_runtime_invoke + 39244844 (mini-runtime.c:3164)
15 OlympusMobilityTouch 0x0000000106bc1b74 mono_runtime_invoke_checked + 40033140 (object.c:3212)
16 OlympusMobilityTouch 0x0000000106bc5478 mono_runtime_invoke + 40047736 (object.c:3099)
17 OlympusMobilityTouch 0x0000000104be5068 native_to_managed_trampoline_8(objc_object*, objc_selector*, _MonoMethod**, unsigned int) + 6623336 (registrar.m:341)
18 OlympusMobilityTouch 0x0000000104c1b67c -[MonoMac_NSAsyncSynchronizationContextDispatcher xamarinApplySelector] + 6846076 (registrar.m:22529)
That suggests we had some managed exception that "bubbled up" and was unhandled. However, without a sample or more details it is impossible to know more.
Please attach more details and/or a sample project showing the issue.
Thank you for the feedback! Meanwhile Apple approved the binary without comments. Also I came across a thread where people claim that this kind of crash happens when using certain versions of Firebase nuget: https://github.com/firebase/firebase-ios-sdk/issues/4504
Steps to Reproduce
The app starts up correctly on Simulator and device builds. The app passes Testflight beta approval and starts up on various devices. The very same binary fails during AppStore approval due to crash during startup.
Expected Behavior
App launches successfully
Actual Behavior
App crashes within a second during Xamarin intialzation. See crashlog below
Environment
Build Logs
Crash log: {"app_name":"","timestamp":"2020-04-07 11:51:41.94 -0700","app_version":"2.3.0","slice_uuid":"c19c8030-22c4-3771-a1f2-ba73661a9975","adam_id":1137566612,"build_version":"187","bundleID":"com.olympus-mobility.olympus","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 13.3.1 (17D50)","incident_id":"63878985-72D9-4B41-8207-945039FE9DDE","name":"OlympusMobilityTouch"}
Incident Identifier: 63878985-72D9-4B41-8207-945039FE9DDE
CrashReporter Key: 0cf4898b22fa8325c3996b774dc58a6aa95ee653
Hardware Model: iPad11,3
Process: OlympusMobilityTouch [1161]
Path: /private/var/containers/Bundle/Application/D6A90D1E-E03D-4E96-BE30-E04E8E7B88A2/.app/
Identifier: com.olympus-mobility.olympus
Version: 187 (2.3.0)
AppStoreTools: 11E146
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.olympus-mobility.olympus [844]
Date/Time: 2020-04-07 11:51:41.2762 -0700 Launch Time: 2020-04-07 11:51:40.4410 -0700 OS Version: iPhone OS 13.3.1 (17D50) Release Type: User Baseband Version: n/a Report Version: 104
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0
Thread 0 name: tid_407 Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libsystem_kernel.dylib 0x00000001a4638efc 0x1a4613000 + 155388 1 libsystem_pthread.dylib 0x00000001a45588b8 0x1a4556000 + 10424 2 libsystem_c.dylib 0x00000001a44e8a74 0x1a4472000 + 486004 3 OlympusMobilityTouch 0x0000000106ca4b18 xamarin_initialize.cold.1 + 0 4 OlympusMobilityTouch 0x0000000106c9a470 xamarin_printf + 40920176 (runtime.m:2468) 5 OlympusMobilityTouch 0x0000000106b5af30 mono_invoke_unhandled_exception_hook + 39612208 (exception.c:1299) 6 OlympusMobilityTouch 0x0000000106aef570 mono_handle_exception_internal + 39171440 (mini-exceptions.c:2778) 7 OlympusMobilityTouch 0x0000000106aedf94 mono_handle_exception + 39165844 (mini-exceptions.c:3102) 8 OlympusMobilityTouch 0x0000000106ae37a0 mono_arm_throw_exception + 39122848 (exceptions-arm64.c:400) 9 OlympusMobilityTouch 0x000000010513ca0c throw_exception + 172 10 OlympusMobilityTouch 0x0000000104eef6fc System_Runtime_ExceptionServices_ExceptionDispatchInfo_Throw + 44 11 OlympusMobilityTouch 0x0000000104ef6544 System_Runtime_CompilerServices_AsyncMethodBuilderCorecThrowAsyncb7_0_object + 84 12 OlympusMobilityTouch 0x0000000105d667cc Foundation_NSAsyncSynchronizationContextDispatcher_Apply + 24979404 (NSAction.cs:178) 13 OlympusMobilityTouch 0x00000001050fe340 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 272 14 OlympusMobilityTouch 0x0000000106b0142c mono_jit_runtime_invoke + 39244844 (mini-runtime.c:3164) 15 OlympusMobilityTouch 0x0000000106bc1b74 mono_runtime_invoke_checked + 40033140 (object.c:3212) 16 OlympusMobilityTouch 0x0000000106bc5478 mono_runtime_invoke + 40047736 (object.c:3099) 17 OlympusMobilityTouch 0x0000000104be5068 native_to_managed_trampoline_8(objc_object, objc_selector, _MonoMethod**, unsigned int) + 6623336 (registrar.m:341) 18 OlympusMobilityTouch 0x0000000104c1b67c -[MonoMac_NSAsyncSynchronizationContextDispatcher xamarinApplySelector] + 6846076 (registrar.m:22529) 19 libobjc.A.dylib 0x00000001a4562a4c 0x1a4561000 + 6732 20 Foundation 0x00000001a4c43c00 0x1a4b01000 + 1321984 21 CoreFoundation 0x00000001a47ca108 0x1a471c000 + 712968 22 CoreFoundation 0x00000001a47ca05c 0x1a471c000 + 712796 23 CoreFoundation 0x00000001a47c97c8 0x1a471c000 + 710600 24 CoreFoundation 0x00000001a47c4694 0x1a471c000 + 689812 25 CoreFoundation 0x00000001a47c3f40 0x1a471c000 + 687936 26 GraphicsServices 0x00000001aea54534 0x1aea51000 + 13620 27 UIKitCore 0x00000001a894f580 0x1a7f0c000 + 10761600 28 OlympusMobilityTouch 0x0000000105dbb9fc wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_intstringintptr_intptr + 348 29 OlympusMobilityTouch 0x0000000105d2bdc0 UIKit_UIApplication_Mainstringintptr_intptr + 24739264 (UIApplication.cs:86) 30 OlympusMobilityTouch 0x0000000105d2bd44 UIKit_UIApplication_Main_string_string_string + 24739140 (UIApplication.cs:66) 31 OlympusMobilityTouch 0x0000000104c477f4 Olympus_Mobility_Touch_Application_Main_string + 7026676 (/:1)
32 OlympusMobilityTouch 0x00000001050fe340 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 272
33 OlympusMobilityTouch 0x0000000106b0142c mono_jit_runtime_invoke + 39244844 (mini-runtime.c:3164)
34 OlympusMobilityTouch 0x0000000106bc1b74 mono_runtime_invoke_checked + 40033140 (object.c:3212)
35 OlympusMobilityTouch 0x0000000106bc7f80 mono_runtime_exec_main_checked + 40058752 (object.c:5273)
36 OlympusMobilityTouch 0x0000000106adf580 mono_jit_exec + 39105920 (driver.c:1267)
37 OlympusMobilityTouch 0x0000000106ca1798 xamarin_main + 40949656 (monotouch-main.m:0)
38 OlympusMobilityTouch 0x0000000104c328c0 main + 6940864 (main.m:190)
39 libdyld.dylib 0x00000001a4642e18 0x1a4642000 + 3608
Thread 1: 0 libsystem_pthread.dylib 0x00000001a455f9e0 0x1a4556000 + 39392
Thread 2: 0 libsystem_pthread.dylib 0x00000001a455f9e0 0x1a4556000 + 39392
Thread 3 name: Dispatch queue: com.google.FirebaseInstanceID.Keychain Thread 3: 0 libsystem_kernel.dylib 0x00000001a4616c04 0x1a4613000 + 15364 1 libsystem_kernel.dylib 0x00000001a4616020 0x1a4613000 + 12320 2 libdispatch.dylib 0x00000001a4509510 0x1a44f1000 + 99600 3 libdispatch.dylib 0x00000001a4509904 0x1a44f1000 + 100612 4 libxpc.dylib 0x00000001a4449594 0x1a443d000 + 50580 5 Security 0x00000001a569db18 0x1a567d000 + 133912 6 Security 0x00000001a569e58c 0x1a567d000 + 136588 7 Security 0x00000001a5724d24 0x1a567d000 + 687396 8 Security 0x00000001a572377c 0x1a567d000 + 681852 9 Security 0x00000001a572263c 0x1a567d000 + 677436 10 Security 0x00000001a5723000 0x1a567d000 + 679936 11 Security 0x00000001a5724c10 0x1a567d000 + 687120 12 Security 0x00000001a5720bdc 0x1a567d000 + 670684 13 Security 0x00000001a5723f34 0x1a567d000 + 683828 14 FirebaseInstanceID 0x0000000107b5e740 39-[FIRInstanceIDKeychain itemWithQuery:]_block_invoke + 44 15 libdispatch.dylib 0x00000001a44f3fd8 0x1a44f1000 + 12248 16 libdispatch.dylib 0x00000001a45007f4 0x1a44f1000 + 63476 17 FirebaseInstanceID 0x0000000107b5e6dc -[FIRInstanceIDKeychain itemWithQuery:] + 124 18 FirebaseInstanceID 0x0000000107b5f3f8 FIRInstanceIDKeyDataWithTag + 116 19 FirebaseInstanceID 0x0000000107b60434 +[FIRInstanceIDKeyPairStore keyPairForPrivateKeyTag:publicKeyTag:error:] + 156 20 FirebaseInstanceID 0x0000000107b60368 -[FIRInstanceIDKeyPairStore cachedKeyPairWithSubtype:error:] + 108 21 FirebaseInstanceID 0x0000000107b60280 -[FIRInstanceIDKeyPairStore validCachedKeyPairWithSubtype:error:] + 232 22 FirebaseInstanceID 0x0000000107b5fcbc -[FIRInstanceIDKeyPairStore loadKeyPairWithError:] + 292 23 FirebaseInstanceID 0x0000000107b5fac8 -[FIRInstanceIDKeyPairStore appIdentityWithError:] + 36 24 FirebaseInstanceID 0x0000000107b52798 -[FIRInstanceID+ 26520 (Private) appInstanceID:] + 56 25 OlympusMobilityTouch 0x0000000104b604f4 -[APMIdentity firebaseInstanceID] + 152 26 OlympusMobilityTouch 0x0000000104b6c448 -[APMMeasurement createRawEventMetadataWithUserAttributes:] + 608 27 OlympusMobilityTouch 0x0000000104b697e0 42-[APMMeasurement writeEventOnWorkerQueue:]_block_invoke.1192 + 256 28 OlympusMobilityTouch 0x0000000104b90c84 -[APMSqliteStore performTransaction:] + 92 29 OlympusMobilityTouch 0x0000000104b687ec -[APMMeasurement writeEventOnWorkerQueue:] + 1404 30 OlympusMobilityTouch 0x0000000104b67fd4 -[APMMeasurement handleEventOnWorkerQueue:] + 1320 31 OlympusMobilityTouch 0x0000000104b7c710 __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 44 32 libdispatch.dylib 0x00000001a44f2b7c 0x1a44f1000 + 7036 33 libdispatch.dylib 0x00000001a44f3fd8 0x1a44f1000 + 12248 34 libdispatch.dylib 0x00000001a44fa450 0x1a44f1000 + 37968 35 libdispatch.dylib 0x00000001a44fae7c 0x1a44f1000 + 40572 36 libdispatch.dylib 0x00000001a4503f20 0x1a44f1000 + 77600 37 libsystem_pthread.dylib 0x00000001a45596d0 0x1a4556000 + 14032 38 libsystem_pthread.dylib 0x00000001a455f9e8 0x1a4556000 + 39400
Example Project (If Possible)