I have a situation that is driving me crazy. I have an app that runs fine on both simulator and device. Only on the device, and only on certain moments ( apparently unrelated ) when he app is put in the background ( say when you want to open another app) it crashes.
It TestFlight only the feedback json is available to download, and no crashlog is generated.
I went on the device to see if there is any crash log generated from the app but none generated.
The only log that is generated is splashboardd witch gives the following output:
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 1
Application Specific Information:
abort() called
Last Exception Backtrace:
0 CoreFoundation 0x19c3e186c __exceptionPreprocess + 220
1 libobjc.A.dylib 0x1b1350c50 objc_exception_throw + 59
2 CoreFoundation 0x19c2e7000 +[NSException raise:format:arguments:] + 99
3 Foundation 0x19d67b91c -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 131
4 splashboardd 0x100a7b068 0x100a74000 + 28776
5 splashboardd 0x100a7a748 0x100a74000 + 26440
6 BaseBoard 0x1a0997568 __40-[BSBaseXPCServer _addClientConnection:]_block_invoke + 99
7 libxpc.dylib 0x1e7bda0e4 _xpc_connection_call_event_handler + 163
8 libxpc.dylib 0x1e7bda4a0 _xpc_connection_mach_event + 923
9 libdispatch.dylib 0x19bfd5e7c _dispatch_client_callout4 + 19
10 libdispatch.dylib 0x19bfefd2c _dispatch_mach_msg_invoke + 471
11 libdispatch.dylib 0x19bfdcfd8 _dispatch_lane_serial_drain + 271
12 libdispatch.dylib 0x19bff0a3c _dispatch_mach_invoke + 467
13 libdispatch.dylib 0x19bfdcfd8 _dispatch_lane_serial_drain + 271
14 libdispatch.dylib 0x19bfddc90 _dispatch_lane_invoke + 459
15 libdispatch.dylib 0x19bfe7d78 _dispatch_workloop_worker_thread + 707
16 libsystem_pthread.dylib 0x1e7bb3804 _pthread_wqthread + 275
17 libsystem_pthread.dylib 0x1e7bba75c start_wqthread + 7
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x00000001ca1342d0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001ca133660 mach_msg + 76
2 CoreFoundation 0x000000019c35cc30 __CFRunLoopServiceMachPort + 380
3 CoreFoundation 0x000000019c356c14 __CFRunLoopRun + 1216
4 CoreFoundation 0x000000019c35621c CFRunLoopRunSpecific + 600
5 Foundation 0x000000019d605df0 -[NSRunLoop+ 36336 (NSRunLoop) runMode:beforeDate:] + 232
6 Foundation 0x000000019d6396bc -[NSRunLoop+ 247484 (NSRunLoop) run] + 92
7 splashboardd 0x0000000100a7a558 0x100a74000 + 25944
8 libdyld.dylib 0x000000019c0166b0 start + 4
Thread 1 name: Dispatch queue: com.apple.splashboard.launchimage.serverTaskQueue
Thread 1 Crashed:
0 libsystem_kernel.dylib 0x00000001ca158414 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001e7bb2b40 pthread_kill + 272
2 libsystem_c.dylib 0x00000001a577eb74 abort + 104
3 libc++abi.dylib 0x00000001b1456cf8 __cxxabiv1::__aligned_malloc_with_fallback+ 81144 (unsigned long) + 0
4 libc++abi.dylib 0x00000001b1447e4c demangling_unexpected_handler+ 20044 () + 0
5 libobjc.A.dylib 0x00000001b1350f64 _objc_terminate+ 28516 () + 144
6 libc++abi.dylib 0x00000001b14560e0 std::__terminate(void (*)+ 78048 ()) + 20
7 libc++abi.dylib 0x00000001b145606c std::terminate+ 77932 () + 44
8 libdispatch.dylib 0x000000019bfd5e90 _dispatch_client_callout4 + 40
9 libdispatch.dylib 0x000000019bfefd2c _dispatch_mach_msg_invoke + 472
10 libdispatch.dylib 0x000000019bfdcfd8 _dispatch_lane_serial_drain + 272
11 libdispatch.dylib 0x000000019bff0a3c _dispatch_mach_invoke + 468
12 libdispatch.dylib 0x000000019bfdcfd8 _dispatch_lane_serial_drain + 272
13 libdispatch.dylib 0x000000019bfddc90 _dispatch_lane_invoke + 460
14 libdispatch.dylib 0x000000019bfe7d78 _dispatch_workloop_worker_thread + 708
15 libsystem_pthread.dylib 0x00000001e7bb3804 _pthread_wqthread + 276
16 libsystem_pthread.dylib 0x00000001e7bba75c start_wqthread + 8
Thread 1 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000016f4115c0 x5: 0x000000016f411b70 x6: 0x000000000000006e x7: 0x0000000000001400
x8: 0x00000000000005b9 x9: 0x868d4dbec9338e54 x10: 0x0000000000000002 x11: 0x0000000000000003
x12: 0x0000000000000000 x13: 0x0000010000000000 x14: 0x0000000000000010 x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x000000016f413000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x000000000000293b x21: 0x000000016f4130e0 x22: 0x0000000000000000 x23: 0x0000000001010000
x24: 0x0000000101833038 x25: 0x000000016f4130e0 x26: 0x000000016f412120 x27: 0xafce000100e282c8
x28: 0x0000000100e052d0 fp: 0x000000016f411ad0 lr: 0x00000001e7bb2b40
sp: 0x000000016f411ab0 pc: 0x00000001ca158414 cpsr: 0x40000000
esr: 0x56000080 Address size fault
Any point in the right direction will be greatly appreciated.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…