I am getting at the below crash error on Crashlytics. I couldn't find any solution about that and I didn't understand the reason. 95% happening on iPads.
I implemented at this link advise but didn't work for me
https://github.com/firebase/quickstart-unity/issues/610#issuecomment-618897361
Thanks in advance for your helps.
Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x2d318 __abort_with_payload + 8
1 libsystem_kernel.dylib 0x2fc24 abort_with_payload_wrapper_internal + 104
2 libsystem_kernel.dylib 0x2fbbc abort_with_payload_wrapper_internal + 30
3 libobjc.A.dylib 0x2d0b4 _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) + 116
4 libobjc.A.dylib 0x2d040 _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) + 30
5 libobjc.A.dylib 0x5acc weak_register_no_lock + 392
6 libobjc.A.dylib 0xb440 objc_initWeak + 400
7 UIKitCore 0x1d70c4 -[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] + 1980
8 UIKitCore 0x2b6fb4 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1516
9 UIKitCore 0x1dd664 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 140
10 CoreAutoLayout 0x85c4 -[NSISEngine withBehaviors:performModifications:] + 88
11 UIKitCore 0x26cd78 -[UIView(Hierarchy) _postMovedFromSuperview:] + 840
12 UIKitCore 0x19dbd8 __UIViewWasRemovedFromSuperview + 168
13 UIKitCore 0x1afa5c -[UIView(Hierarchy) removeFromSuperview] + 400
14 libdispatch.dylib 0x1e6c _dispatch_call_block_and_release + 32
15 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20
16 libdispatch.dylib 0x11f48 _dispatch_main_queue_drain + 928
17 libdispatch.dylib 0x11b98 _dispatch_main_queue_callback_4CF + 44
18 CoreFoundation 0x51800 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
19 CoreFoundation 0xb704 __CFRunLoopRun + 2532
20 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
21 GraphicsServices 0x1374 GSEventRunModal + 164
22 UIKitCore 0x514648 -[UIApplication _run] + 1100
23 UIKitCore 0x295d90 UIApplicationMain + 364
24 UnityFramework 0x1a398 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 96 (main.mm:96)
25 LaserSplit 0x7d58 main + 28 (main.mm:28)
26 ??? 0x10076dce4 (Missing)
Related
I kept getting these warning messages periodically when working in Rstudio or R.
Can you help me resolve this?
I have tried restarting r and rstudio. restarting the machine but no luck.
I have cut some of the errors to be post on SO.
> ggplot(diamonds, aes(depth)) + geom_freqpoly()
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
1 HIToolbox 0x00007ff80a4fc726 _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102
2 HIToolbox 0x00007ff80a4a0852 SetMenuBarObscured + 226
3 HIToolbox 0x00007ff80a4a04ca _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh + 164
4 HIToolbox 0x00007ff80a49a996 _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252
5 HIToolbox 0x00007ff80a462bd2 _NotifyEventLoopObservers + 153
6 HIToolbox 0x00007ff80a49a3e6 AcquireEventFromQueue + 494
7 HIToolbox 0x00007ff80a4893ec ReceiveNextEventCommon + 285
8 HIToolbox 0x00007ff80a4892b3 _BlockUntilNextEventMatchingListInModeWithFilter + 70
9 AppKit 0x00007ff803c90f33 _DPSNextEvent + 909
10 AppKit 0x00007ff803c8fdb4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
11 grDevices.so 0x000000010da8db76 cocoa_process_events + 118
12 libR.dylib 0x000000010d6ecf61 R_ProcessEvents + 33
13 rsession 0x000000010cbff3f9 _ZN13rstudio_boost4asio6detail24descriptor_write_op_baseINS0_15const_buffers_1EE10do_performEPNS1_10reactor_opE + 693497
14 libR.dylib 0x000000010d54e40d R_ToplevelExec + 637
15 rsession 0x000000010cb915c1 _ZN13rstudio_boost4asio6detail24descriptor_write_op_baseINS0_15const_buffers_1EE10do_performEPNS1_10reactor_opE + 243393
16 rsession 0x000000010c2eadfb _ZN13rstudio_boost4asio6detail30reactive_socket_accept_op_baseINS0_12basic_socketINS0_2ip3tcpEEES5_E10do_performEPNS1_10reactor_opE + 247835
17 rsession 0x000000010c21b3aa rsession + 222122
18 rsession 0x000000010cbd4b3a _ZN13rstudio_boost4asio6detail24descriptor_write_op_baseINS0_15const_buffers_1EE10do_performEPNS1_10reactor_opE + 519226
19 libR.dylib 0x000000010d5eb9e4 Rf_ReplIteration + 100
20 libR.dylib 0x000000010d5ed3b1 R_ReplConsole + 161
21 libR.dylib 0x000000010d5ed302 run_Rmainloop + 82
22 libR.dylib 0x000000010d5ed43e Rf_mainloop + 14
23 rsession 0x000000010cbfead0 _ZN13rstudio_boost4asio6detail24descriptor_write_op_baseINS0_15const_buffers_1EE10do_performEPNS1_10reactor_opE + 691152
24 rsession 0x000000010cbd1f54 _ZN13rstudio_boost4asio6detail24descriptor_write_op_baseINS0_15const_buffers_1EE10do_performEPNS1_10reactor_opE + 507988
25 rsession 0x000000010c33d751 _ZN13rstudio_boost4asio6detail30reactive_socket_accept_op_baseINS0_12basic_socketINS0_2ip3tcpEEES5_E10do_performEPNS1_10reactor_opE + 586097
26 dyld 0x00007ff800738310 start + 2432
12 grDevices.so 0x000000010da8dbb7 cocoa_process_events + 183
13 libR.dylib 0x000000010d6ecf61 R_ProcessEvents + 33
14 rsession 0x000000010cbff3f9 _ZN13rstudio_boost4asio6detail24descriptor_write_op_baseINS0_15const_buffers_1EE10do_performEPNS1_10reactor_opE + 693497
15 libR.dylib 0x000000010d54e40d R_ToplevelExec + 637
16 rsession 0x000000010cb915c1 _ZN13rstudio_boost4asio6detail24descriptor_write_op_baseINS0_15const_buffers_1EE10do_performEPNS1_10reactor_opE + 243393
17 rsession 0x000000010c2eadfb _ZN13rstudio_boost4asio6detail30reactive_socket_accept_op_baseINS0_12basic_socketINS0_2ip3tcpEEES5_E10do_performEPNS1_10reactor_opE + 247835
18 rsession 0x000000010c21b3aa rsession + 222122
19 rsession 0x000000010cbd4b3a _ZN13rstudio_boost4asio6detail24descriptor_write_op_baseINS0_15const_buffers_1EE10do_performEPNS1_10reactor_opE + 519226
20 libR.dylib 0x000000010d5eb9e4 Rf_ReplIteration + 100
21 libR.dylib 0x000000010d5ed3b1 R_ReplConsole + 161
22 libR.dylib 0x000000010d5ed302 run_Rmainloop + 82
23 libR.dylib 0x000000010d5ed43e Rf_mainloop + 14
24 rsession 0x000000010cbfead0 _ZN13rstudio_boost4asio6detail24descriptor_write_op_baseINS0_15const_buffers_1EE10do_performEPNS1_10reactor_opE + 691152
25 rsession 0x000000010cbd1f54 _ZN13rstudio_boost4asio6detail24descriptor_write_op_baseINS0_15const_buffers_1EE10do_performEPNS1_10reactor_opE + 507988
26 rsession 0x000000010c33d751 _ZN13rstudio_boost4asio6detail30reactive_socket_accept_op_baseINS0_12basic_socketINS0_2ip3tcpEEES5_E10do_performEPNS1_10reactor_opE + 586097
27 dyld 0x00007ff800738310 start + 2432
>
Here is the crash log attached-
Incident Identifier: 64813956-C44C-44AD-9BAC-3202E2B917DF
Hardware Model: iPhone14,2
Process: __ [5030]
Path: /private/var/containers/Bundle/Application/E2923602-E7D8-45CA-AC8F-81BBDAE2BBED/.app/
Identifier: __
Version: 9.0.4 (8)
AppStoreTools: 13F100
AppVariant: 1:iPhone14,2:15
Code Type: ARM-64 (Native)
Role: Background
Parent Process: launchd [1]
Coalition: __[1191]
Date/Time: 2022-07-23 19:09:39.4396 +0530
Launch Time: 2022-07-23 18:00:47.6213 +0530
OS Version: iPhone OS 15.6 (19G71)
Release Type: User
Baseband Version: 1.70.01
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: FRONTBOARD 2343432205
<RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-update watchdog transgression: application<__>:5030 exhausted real (wall clock) time allowance of 10.00 seconds
ProcessVisibility: Background
ProcessState: Running
WatchdogEvent: scene-update
WatchdogVisibility: Background
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 25.120 (user 20.330, system 4.790), 39% CPU",
"Elapsed application CPU time (seconds): 10.751, 17% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>
Triggered by Thread: 0
Kernel Triage:
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
Thread 0 name:
Thread 0 Crashed:
0 CoreFoundation 0x00000001a2b370d0 CFCharacterSetIsCharacterMember + 8 (CFCharacterSet.c:1816)
1 CoreFoundation 0x00000001a2b58248 -[__NSCFCharacterSet characterIsMember:] + 20 (CFObject.m:1346)
2 Foundation 0x00000001a4322170 _NSScanLongLongFromString + 876 (NSScanner.m:60)
3 __ 0x0000000105576264 +[FUtilities intForString:] + 128 (FUtilities.m:306)
4 __ 0x00000001055208b8 __30-[FChildrenNode valForExport:]_block_invoke + 264 (FChildrenNode.m:190)
5 __ 0x0000000105573010 __67-[FTreeSortedDictionary enumerateKeysAndObjectsReverse:usingBlock:]_block_invoke.58 + 40 (FTreeSortedDictionary.m:150)
6 __ 0x0000000105541960 -[FLLRBValueNode inorderTraversal:] + 176 (FLLRBValueNode.m:48)
7 __ 0x0000000105541908 -[FLLRBValueNode inorderTraversal:] + 88 (FLLRBValueNode.m:47)
8 __ 0x0000000105541994 -[FLLRBValueNode inorderTraversal:] + 228 (FLLRBValueNode.m:49)
9 __ 0x0000000105541908 -[FLLRBValueNode inorderTraversal:] + 88 (FLLRBValueNode.m:47)
10 __ 0x0000000105572f54 -[FTreeSortedDictionary enumerateKeysAndObjectsReverse:usingBlock:] + 316 (FTreeSortedDictionary.m:149)
11 __ 0x000000010552183c -[FChildrenNode enumerateChildrenUsingBlock:] + 80 (FChildrenNode.m:367)
12 __ 0x0000000105520514 -[FChildrenNode valForExport:] + 348 (FChildrenNode.m:174)
13 __ 0x00000001055207ec __30-[FChildrenNode valForExport:]_block_invoke + 60 (FChildrenNode.m:176)
14 __ 0x000000010551dc88 -[FArraySortedDictionary enumerateKeysAndObjectsReverse:usingBlock:] + 520 (FArraySortedDictionary.m:233)
15 __ 0x000000010552183c -[FChildrenNode enumerateChildrenUsingBlock:] + 80 (FChildrenNode.m:367)
16 __ 0x0000000105520514 -[FChildrenNode valForExport:] + 348 (FChildrenNode.m:174)
17 __ 0x00000001055207ec _30-[FChildrenNode valForExport:]block_invoke + 60 (FChildrenNode.m:176)
18 __ 0x000000010551dc88 -[FArraySortedDictionary enumerateKeysAndObjectsReverse:usingBlock:] + 520 (FArraySortedDictionary.m:233)
19 __ 0x000000010552183c -[FChildrenNode enumerateChildrenUsingBlock:] + 80 (FChildrenNode.m:367)
20 __ 0x0000000105520514 -[FChildrenNode valForExport:] + 348 (FChildrenNode.m:174)
21 __ 0x0000000105536a0c -[FIRDataSnapshot value] + 76 (FIRDataSnapshot.m:40)
22 __ 0x000000010534c980 closure #1 in PinDispatch.addObserverForRide(rideID:forNearby:) + 236 (PinDispatch.swift:1783)
23 __ 0x000000010528a6cc $s8__15FirebaseHandlerC015getResponseFromC09addedPath12onCompletionySS_ySo15FIRDataSnapshotCctFyAH_So7NSErrorCSgtcfU + 4 (FirebaseHandler.swift:24)
24 __ 0x000000010528a6cc partial apply for closure #1 in FirebaseHandler.getResponseFromFirebase(addedPath:onCompletion:) + 20 (:0)
25 __ 0x000000010528b040 $s8__15FirebaseHandlerC04makeC19RequestWithObserver024_EDBAA01EC6873A021A9D1F2N7FDAE871LL5route12onCompletionySS_ySo15FIRDataSnapshotC_So7NSErrorCSgtctFyAIcfU + 192 (FirebaseHandler.swift:0)
26 __ 0x000000010528b040 partial apply for closure #1 in FirebaseHandler.makeFirebaseRequestWithObserver(route:onCompletion:) + 232 (:0)
27 __ 0x000000010528a944 thunk for #escaping #callee_guaranteed (#guaranteed FIRDataSnapshot) -> () + 52 (:0)
28 __ 0x00000001055789ac __43-[FValueEventRegistration fireEvent:queue:]_block_invoke.42 + 88 (FValueEventRegistration.m:81)
29 libdispatch.dylib 0x00000001a27f2e6c _dispatch_call_block_and_release + 32 (init.c:1517)
30 libdispatch.dylib 0x00000001a27f4a30 _dispatch_client_callout + 20 (object.m:560)
31 libdispatch.dylib 0x00000001a2802f48 _dispatch_main_queue_drain + 928 (inline_internal.h:2622)
32 libdispatch.dylib 0x00000001a2802b98 _dispatch_main_queue_callback_4CF + 44 (queue.c:7770)
33 CoreFoundation 0x00000001a2b45800 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 (CFRunLoop.c:1795)
34 CoreFoundation 0x00000001a2aff704 __CFRunLoopRun + 2532 (CFRunLoop.c:3144)
35 CoreFoundation 0x00000001a2b12bc8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
36 GraphicsServices 0x00000001bec7d374 GSEventRunModal + 164 (GSEvent.c:2200)
37 UIKitCore 0x00000001a5486b58 -[UIApplication _run] + 1100 (UIApplication.m:3511)
38 UIKitCore 0x00000001a5208090 UIApplicationMain + 364 (UIApplication.m:5064)
39 __ 0x00000001050f7ea4 main + 68 (AppDelegate.swift:29)
40 dyld 0x00000001071d9da4 start + 520 (dyldMain.cpp:879)
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x00000001da7824a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001da782ae4 mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001a2afad30 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3 CoreFoundation 0x00000001a2aff1bc __CFRunLoopRun + 1180 (CFRunLoop.c:3000)
4 CoreFoundation 0x00000001a2b12bc8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5 Foundation 0x00000001a4305444 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236 (NSRunLoop.m:373)
6 Foundation 0x00000001a4346e0c -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:420)
7 UIKitCore 0x00000001a5400cc4 -[UIEventFetcher threadMain] + 524 (UIEventFetcher.m:1167)
8 Foundation 0x00000001a435541c NSThread__start + 808 (NSThread.m:972)
9 libsystem_pthread.dylib 0x00000002144f19ac _pthread_start + 148 (pthread.c:891)
10 libsystem_pthread.dylib 0x00000002144f0e68 thread_start + 8
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x00000001da7824a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001da782ae4 mach_msg + 76 (mach_msg.c:119)
2 __ 0x0000000105503cac FIRCLSMachExceptionReadMessage + 60 (FIRCLSMachException.c:192)
3 __ 0x0000000105503cac FIRCLSMachExceptionServer + 108 (FIRCLSMachException.c:168)
4 libsystem_pthread.dylib 0x00000002144f19ac _pthread_start + 148 (pthread.c:891)
5 libsystem_pthread.dylib 0x00000002144f0e68 thread_start + 8
Thread 3 name:
Thread 3:
0 libsystem_kernel.dylib 0x00000001da7824a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001da782ae4 mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001a2afad30 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3 CoreFoundation 0x00000001a2aff1bc __CFRunLoopRun + 1180 (CFRunLoop.c:3000)
4 CoreFoundation 0x00000001a2b12bc8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5 CFNetwork 0x00000001a358f1dc +[__CFN_CoreSchedulingSetRunnable _run:] + 472 (CoreSchedulingSet.mm:1372)
6 Foundation 0x00000001a435541c NSThread__start + 808 (NSThread.m:972)
7 libsystem_pthread.dylib 0x00000002144f19ac _pthread_start + 148 (pthread.c:891)
8 libsystem_pthread.dylib 0x00000002144f0e68 thread_start + 8
Thread 4 name:
Thread 4:
0 libsystem_kernel.dylib 0x00000001da7824a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001da782ae4 mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001a2afad30 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3 CoreFoundation 0x00000001a2aff1bc __CFRunLoopRun + 1180 (CFRunLoop.c:3000)
4 CoreFoundation 0x00000001a2b12bc8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5 Foundation 0x00000001a4305444 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236 (NSRunLoop.m:373)
6 __ 0x0000000105567254 -[_FSRRunLoopThread main] + 252 (FSRWebSocket.m:1860)
7 Foundation 0x00000001a435541c NSThread__start + 808 (NSThread.m:972)
8 libsystem_pthread.dylib 0x00000002144f19ac _pthread_start + 148 (pthread.c:891)
9 libsystem_pthread.dylib 0x00000002144f0e68 thread_start + 8
Thread 5 name:
Thread 5:
0 libsystem_kernel.dylib 0x00000001da783164 select$DARWIN_EXTSN + 8
1 CoreFoundation 0x00000001a2b9eb68 __CFSocketManager + 644 (CFSocket.c:1343)
2 libsystem_pthread.dylib 0x00000002144f19ac _pthread_start + 148 (pthread.c:891)
3 libsystem_pthread.dylib 0x00000002144f0e68 thread_start + 8
Thread 6 name:
Thread 6:
0 libsystem_kernel.dylib 0x00000001da7824a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001da782ae4 mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001a2afad30 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3 CoreFoundation 0x00000001a2aff1bc __CFRunLoopRun + 1180 (CFRunLoop.c:3000)
4 CoreFoundation 0x00000001a2b12bc8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5 Foundation 0x00000001a4305444 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236 (NSRunLoop.m:373)
6 __ 0x0000000105aac8f4 -[GMSx_GTMSimpleWorkerThread main] + 184
7 Foundation 0x00000001a435541c NSThread__start + 808 (NSThread.m:972)
8 libsystem_pthread.dylib 0x00000002144f19ac _pthread_start + 148 (pthread.c:891)
9 libsystem_pthread.dylib 0x00000002144f0e68 thread_start + 8
Thread 7 name:
Thread 7:
0 libsystem_kernel.dylib 0x00000001da7824a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001da782ae4 mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001a2afad30 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3 CoreFoundation 0x00000001a2aff1bc __CFRunLoopRun + 1180 (CFRunLoop.c:3000)
4 CoreFoundation 0x00000001a2b12bc8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5 Foundation 0x00000001a4305444 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236 (NSRunLoop.m:373)
6 __ 0x0000000105aac8f4 -[GMSx_GTMSimpleWorkerThread main] + 184
7 Foundation 0x00000001a435541c NSThread__start + 808 (NSThread.m:972)
8 libsystem_pthread.dylib 0x00000002144f19ac _pthread_start + 148 (pthread.c:891)
9 libsystem_pthread.dylib 0x00000002144f0e68 thread_start + 8
Thread 8 name:
Thread 8:
0 libsystem_kernel.dylib 0x00000001da7824a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001da782ae4 mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001a2afad30 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3 CoreFoundation 0x00000001a2aff1bc __CFRunLoopRun + 1180 (CFRunLoop.c:3000)
4 CoreFoundation 0x00000001a2b12bc8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5 Foundation 0x00000001a4305444 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236 (NSRunLoop.m:373)
6 __ 0x0000000105aac8f4 -[GMSx_GTMSimpleWorkerThread main] + 184
7 Foundation 0x00000001a435541c NSThread__start + 808 (NSThread.m:972)
8 libsystem_pthread.dylib 0x00000002144f19ac _pthread_start + 148 (pthread.c:891)
9 libsystem_pthread.dylib 0x00000002144f0e68 thread_start + 8
Thread 9:
0 libsystem_pthread.dylib 0x00000002144f0e54 start_wqthread + 0
Thread 10:
0 libsystem_pthread.dylib 0x00000002144f0e54 start_wqthread + 0
Thread 11 name:
Thread 11:
0 libsystem_kernel.dylib 0x00000001da783138 __ulock_wait + 8
1 libdispatch.dylib 0x00000001a27f5420 _dlock_wait + 56 (lock.c:326)
2 libdispatch.dylib 0x00000001a27f51d4 _dispatch_thread_event_wait_slow + 56 (lock.c:366)
3 libdispatch.dylib 0x00000001a2803f70 DISPATCH_WAIT_FOR_QUEUE + 356 (lock.h:330)
4 libdispatch.dylib 0x00000001a2803b28 _dispatch_sync_f_slow + 144 (queue.c:1774)
5 UIKitCore 0x00000001a52e0a20 __37-[_UIRemoteKeyboards startConnection]_block_invoke_3 + 136 (UIRemoteKeyboards.m:1094)
6 CoreFoundation 0x00000001a2b15b24 invoking + 148
7 CoreFoundation 0x00000001a2b33610 -[NSInvocation invoke] + 468 (NSForwarding.m:3378)
8 Foundation 0x00000001a4321918 NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK + 24 (NSXPCConnection.m:170)
9 Foundation 0x00000001a4342f54 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 572 (NSXPCConnection.m:316)
10 Foundation 0x00000001a431d460 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_3 + 212 (NSXPCConnection.m:1630)
11 libxpc.dylib 0x00000002145266ac _xpc_connection_reply_callout + 124 (serializer.c:119)
12 libxpc.dylib 0x0000000214519bcc _xpc_connection_call_reply_async + 88 (connection.c:833)
13 libdispatch.dylib 0x00000001a27f4ab0 _dispatch_client_callout3 + 20 (object.m:586)
14 libdispatch.dylib 0x00000001a2812214 _dispatch_mach_msg_async_reply_invoke + 340 (mach.c:2418)
15 libdispatch.dylib 0x00000001a27fc000 _dispatch_lane_serial_drain + 376 (inline_internal.h:0)
16 libdispatch.dylib 0x00000001a27fccb4 _dispatch_lane_invoke + 444 (queue.c:3944)
17 libdispatch.dylib 0x00000001a2807500 _dispatch_workloop_worker_thread + 648 (queue.c:6732)
18 libsystem_pthread.dylib 0x00000002144f10bc _pthread_wqthread + 288 (pthread.c:2599)
19 libsystem_pthread.dylib 0x00000002144f0e5c start_wqthread + 8
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x00000002830fca50 x1: 0x0000000000000031 x2: 0x0000000000000031 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000031 x7: 0x0000000000000f00
x8: 0x0000000000000000 x9: 0x00000001ec9ec2db x10: 0x0000000290851cd3 x11: 0x000f0002802f9800
x12: 0x000000000000000e x13: 0x00000002802f9890 x14: 0x000000000aa00000 x15: 0x00000001fc344608
x16: 0x00000001fc344608 x17: 0x0347c001a2b58234 x18: 0x0000000000000000 x19: 0xa0c66d68ef888b31
x20: 0x0000000282bf9c80 x21: 0x0000000000000031 x22: 0x00000001ec9ec2db x23: 0x0000000000000000
x24: 0x00000001fc352000 x25: 0x00000002832015c0 x26: 0x00000002833dfe70 x27: 0xa0ce65b2ba1911d1
x28: 0x00000001ec9ec000 fp: 0x000000016b0edcf0 lr: 0x4410a901a2b58248
sp: 0x000000016b0edcd0 pc: 0x00000001a2b370d0 cpsr: 0x60001000
esr: 0x92000007 (Data Abort) byte read Translation fault
Binary Images:
0x104d10000 - 0x106883fff __ arm64 <64c8b7b612c531b4b256bd66c20fdaf8> /private/var/containers/Bundle/Application/E2923602-E7D8-45CA-AC8F-81BBDAE2BBED/.app/
0x1071c0000 - 0x107217fff dyld arm64e <66e1fb2668f8379ba052eb8b8291b5e1> /usr/lib/dyld
0x1a27f1000 - 0x1a2836fff libdispatch.dylib arm64e /usr/lib/system/libdispatch.dylib
0x1a2af4000 - 0x1a2f49fff CoreFoundation arm64e <6b22dd8135853be6bc77ba19810ec0f2> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1a3317000 - 0x1a37d8fff CFNetwork arm64e <106410ffdd4f3527ad531980fe8b0ddd> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x1a42ec000 - 0x1a45f6fff Foundation arm64e /System/Library/Frameworks/Foundation.framework/Foundation
0x1a4f72000 - 0x1a680ffff UIKitCore arm64e <137a95aada6d332cbc01e13bb9b6e317> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x1bec7c000 - 0x1bec84fff GraphicsServices arm64e /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x1da781000 - 0x1da7b6fff libsystem_kernel.dylib arm64e <9ab02ad0348c30cb99f40979c2d47515> /usr/lib/system/libsystem_kernel.dylib
0x2144f0000 - 0x2144fbfff libsystem_pthread.dylib arm64e /usr/lib/system/libsystem_pthread.dylib
0x21450b000 - 0x214547fff libxpc.dylib arm64e /usr/lib/system/libxpc.dylib
EOF
I have an app that has been working fine in production and on Testflight. However, recently our customer upgraded to iOS 15 and the app started crashing for them on startup. I looked into this and was able to reproduce the crash by deploying directly to a device. The cause of the crash ended up being related to the Microsoft AppCenter Crash Analytics Nuget package we were using. The problem related to some namespaces, that were protected by iOS, being used by the Microsoft Analytics package. The fix was simply to upgrade the package and after deploying to the device I was no longer able to reproduce the crash.
However, when I uploaded the build to Testflight the app still crashes on startup. Since I am unable to debug or even get past the splashscreen I cannot get any useful logs or crash reports. I have the iOS crash log but it is not particularly useful since there is no backtrace. I will post the crash here anyways, in case someone can make sense of it.
I have since tried a myriad of things to try and resolve this issue. One of which being removing the MS Analytics package entirely from the project. Another being upgrading all of the nuget packages in my app to their latest version.
There are old versions of the app that do not crash on Testflight, but when I revert my code back to those version commits and build/upload to Testflight those new versions crash on startup. This leads me to believe there is something wrong with my build setup (I use a windows machine connected to a Mac to build). However, I can build other apps with the same setup that do not crash. I am at a loss! I have a hard time believing that this is a completely separate issue from the MS Analytics issue that I already resolved, but maybe I am wrong?
So in summary:
Has anyone experienced this issue or something similar? And what did you do to fix it?
Is Testflight and/or the Mac that I'm building off of capable of adding dependencies that are no longer in my app into the Release build (like as if they were cached somewhere)??
If no one has experienced this, can someone at least give me some troubleshooting tips? I am running out of ideas.
Thank you in advance!
Incident Identifier: 000A8232-87D1-4991-B66A-EB01EF57A2EF
Beta Identifier: F8073B0C-689B-42D8-8945-BE7C9F40F112
Hardware Model: iPad5,3
Process: MYAPP.iOS [710]
Path: /private/var/containers/Bundle/Application/024CEC96-F13C-40F6-9100-D583526450D7/MYAPP.iOS.app/MYAPP.iOS
Identifier: com.MYCOMPANY.MYAPP.atco
Version: 1.0.95 (1.95)
AppStoreTools: 13C90b
AppVariant: 1:iPad5,3:15
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.MYCOMPANY.MYAPP.atco [474]
Date/Time: 2022-01-25 11:38:13.0492 -0500
Launch Time: 2022-01-25 11:38:11.4917 -0500
OS Version: iPhone OS 15.1 (19B74)
Release Type: User
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Thread 0 name: tid_103 Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x1baa369e8 __pthread_kill + 8
1 libsystem_pthread.dylib 0x1dab81824 pthread_kill + 208
2 libsystem_c.dylib 0x18c0600b4 abort + 120
3 MYAPP.iOS 0x1040920cc xamarin_unhandled_exception_handler + 60
4 MYAPP.iOS 0x103f5906c mono_invoke_unhandled_exception_hook + 132
5 MYAPP.iOS 0x103eee1e4 mono_handle_exception_internal + 5664
6 MYAPP.iOS 0x103eecbb8 mono_handle_exception + 56
7 MYAPP.iOS 0x103ee2934 mono_arm_throw_exception + 360
8 MYAPP.iOS 0x1014c654c throw_exception + 172
9 MYAPP.iOS 0x1010f8664 MYAPP_iOS_Application_Main_string__ + 52
10 MYAPP.iOS 0x101486b80 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 272
11 MYAPP.iOS 0x103efff2c mono_jit_runtime_invoke + 1136
12 MYAPP.iOS 0x103fb9b08 mono_runtime_invoke_checked + 148
13 MYAPP.iOS 0x103fbfdbc mono_runtime_exec_main_checked + 128
14 MYAPP.iOS 0x103ede33c mono_jit_exec + 376
15 MYAPP.iOS 0x10409a940 xamarin_main + 1024
16 MYAPP.iOS 0x1010f85b4 main + 76
17 dyld 0x109560190 start + 444
Thread 1 name: Dispatch queue: com.apple.UIKit.KeyboardManagement
Thread 1:
0 libsystem_kernel.dylib 0x1baa316f4 __ulock_wait + 8
1 libdispatch.dylib 0x1818536ec _dlock_wait + 52
2 libdispatch.dylib 0x1818534d8 _dispatch_thread_event_wait_slow$VARIANT$mp + 52
3 libdispatch.dylib 0x181860480 __DISPATCH_WAIT_FOR_QUEUE__ + 320
4 libdispatch.dylib 0x1818600a4 _dispatch_sync_f_slow + 136
5 UIKitCore 0x18420ccb4 __37-[_UIRemoteKeyboards startConnection]_block_invoke_3 + 112
6 CoreFoundation 0x181b758d0 __invoking___ + 144
7 CoreFoundation 0x181b915a8 -[NSInvocation invoke] + 300
8 Foundation 0x1832c6d70 __NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__ + 20
9 Foundation 0x1832e6518 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 552
10 Foundation 0x1832c2bbc __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_3 + 208
11 libxpc.dylib 0x1dababcc8 _xpc_connection_reply_callout + 60
12 libxpc.dylib 0x1daba0004 _xpc_connection_call_reply_async + 76
13 libdispatch.dylib 0x1818b3210 _dispatch_client_callout3 + 16
14 libdispatch.dylib 0x18186c050 _dispatch_mach_msg_async_reply_invoke$VARIANT$mp + 352
15 libdispatch.dylib 0x181858fa4 _dispatch_lane_serial_drain$VARIANT$mp + 340
16 libdispatch.dylib 0x181859bb4 _dispatch_lane_invoke$VARIANT$mp + 456
17 libdispatch.dylib 0x181863750 _dispatch_workloop_worker_thread + 632
18 libsystem_pthread.dylib 0x1dab75e84 _pthread_wqthread + 284
19 libsystem_pthread.dylib 0x1dab759f0 start_wqthread + 8
Thread 2 name: SGen worker
Thread 2:
0 libsystem_kernel.dylib 0x1baa314f0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1dab7dbfc _pthread_cond_wait$VARIANT$mp + 1216
2 MYAPP.iOS 0x10405ccd4 thread_func + 236
3 libsystem_pthread.dylib 0x1dab773a4 _pthread_start + 116
4 libsystem_pthread.dylib 0x1dab759fc thread_start + 8
Thread 3 name: Finalizer
Thread 3:
0 libsystem_kernel.dylib 0x1baa30b4c semaphore_wait_trap + 8
1 MYAPP.iOS 0x103f5c474 finalizer_thread + 344
2 MYAPP.iOS 0x10400760c start_wrapper_internal + 356
3 MYAPP.iOS 0x104007490 start_wrapper + 68
4 libsystem_pthread.dylib 0x1dab773a4 _pthread_start + 116
5 libsystem_pthread.dylib 0x1dab759fc thread_start + 8
Thread 4:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 6 name: com.apple.uikit.eventfetch-thread
Thread 6:
0 libsystem_kernel.dylib 0x1baa30b10 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1baa31134 mach_msg + 72
2 CoreFoundation 0x181b5bac0 __CFRunLoopServiceMachPort + 368
3 CoreFoundation 0x181b5fba8 __CFRunLoopRun + 1184
4 CoreFoundation 0x181b72d7c CFRunLoopRunSpecific + 572
5 Foundation 0x1832ab00c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232
6 Foundation 0x1832ea18c -[NSRunLoop(NSRunLoop) runUntilDate:] + 88
7 UIKitCore 0x184322d58 -[UIEventFetcher threadMain] + 512
8 Foundation 0x1832f7efc __NSThread__start__ + 792
9 libsystem_pthread.dylib 0x1dab773a4 _pthread_start + 116
10 libsystem_pthread.dylib 0x1dab759fc thread_start + 8
Thread 7:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 8:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 9:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 10:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 11:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 12:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 13:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 14:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 15:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 16:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 17:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 18:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 19:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 20:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 21:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 22:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 23:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 24:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 25:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 26:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 27:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 28:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 29:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 30:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 31:
0 libsystem_pthread.dylib 0x1dab759e8 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x00000000000001f0 x5: 0x0000000109752670 x6: 0x000000000000006c x7: 0x0000000000000000
x8: 0x00000001095a8580 x9: 0x83715f9c5efc65bc x10: 0x0000000000000040 x11: 0x0000000000000000
x12: 0x0000000109725da0 x13: 0x000000010b0f19cb x14: 0x0000000000000060 x15: 0x0000000080000000
x16: 0x0000000000000148 x17: 0x00000000000fbf80 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000000103 x21: 0x00000001095a8660 x22: 0x0000000000000000 x23: 0x000000010a015a00
x24: 0x000000010b0f19c8 x25: 0x000000016eebe730 x26: 0x0000000000000001 x27: 0x000000010440c6a8
x28: 0x0000000000ffffff fp: 0x000000016eebd930 lr: 0x00000001dab81824
sp: 0x000000016eebd910 pc: 0x00000001baa369e8 cpsr: 0x40000000
far: 0x000000010dad0094 esr: 0x56000080 Address size fault
Binary Images:
0x1baa30000 - 0x1baa61fff libsystem_kernel.dylib arm64 <28a82cbdb2103662af9e636819d8909a> /usr/lib/system/libsystem_kernel.dylib
0x1dab71000 - 0x1dab84fff libsystem_pthread.dylib arm64 <ce7eb78851553c3888d812f1419fa5fa> /usr/lib/system/libsystem_pthread.dylib
0x18c041000 - 0x18c0bbfff libsystem_c.dylib arm64 <5700e26c19b735c9b739e62c325f4fcc> /usr/lib/system/libsystem_c.dylib
0x100f40000 - 0x1041e3fff MYAPP.iOS arm64 <f6534b39802d3520a881546f47b6fd61> /private/var/containers/Bundle/Application/024CEC96-F13C-40F6-9100-D583526450D7/MYAPP.iOS.app/MYAPP.iOS
0x109548000 - 0x10959bfff dyld arm64 <5e7ef5771cc5369aa04d28fbba883086> /usr/lib/dyld
0x18184f000 - 0x1818d1fff libdispatch.dylib arm64 <56aa6e938d8e32feac73d3e79b1ba2f5> /usr/lib/system/libdispatch.dylib
0x183eb9000 - 0x185642fff UIKitCore arm64 <fb5c2d366a053355b898d8d3c163d02e> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x181b55000 - 0x181f8ffff CoreFoundation arm64 <ea9c1df294c7379bbf8d970335b1552f> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x183293000 - 0x183573fff Foundation arm64 <86d8a58db71f34c683e0014b2b835f1d> /System/Library/Frameworks/Foundation.framework/Foundation
0x1dab93000 - 0x1dabc5fff libxpc.dylib arm64 <0d9c930f4a4b352c988d4b52a1636fb2> /usr/lib/system/libxpc.dylib
EOF
With one particular Xcode project, my Xcode will launch, go through the usual startup (build, find working copies, etc) sequence then after the progress bar stops moving it abruptly quits. This section always seems to be in the crash logs:
Thread 18 Crashed:
0 libobjc.A.dylib 0x00007fff89eed118 objc_msgSend_vtable4 + 24
1 com.apple.Xcode.DevToolsCore 0x0000000111f81583 -[XCStringList appendElementsByTransferringFromStringList:] + 174
2 com.apple.Xcode.DevToolsCore 0x0000000111fc98cd +[XCStringList(Utilities) stringListWithDirectoryEntriesAtPath:relativeToPath:includedNamePatterns:excludedNamePatterns:directoriesOnly:followSymlinks:recursionType:includeTopLevelDirectoryItself:maxArgumentSize:errorPath:] + 2254
3 com.apple.Xcode.DevToolsCore 0x0000000111f52a6e -[PBXTargetBuildContext effectiveSearchPathsForSearchPath:] + 533
4 com.apple.Xcode.DevToolsCore 0x0000000111f52cd4 -[PBXTargetBuildContext _effectiveSearchPathsForSearchPathBuildSetting:] + 275
5 com.apple.Xcode.DevToolsCore 0x0000000111f6ff8c +[PBXCompilerSpecificationGcc2_95_2 headerSearchPathFlagsInTargetBuildContext:dashIFlagAcceptsHeadermaps:supportsSeparateUserHeaderPaths:] + 733
6 com.apple.Xcode.DevToolsCore 0x0000000111f70438 -[PBXCompilerSpecificationGcc2_95_2 standardFlagsInTargetBuildContext:] + 188
7 com.apple.Xcode.DevToolsCore 0x0000000111f743c1 -[PBXCompilerSpecificationGcc3_3 standardFlagsInTargetBuildContext:] + 55
8 com.apple.Xcode.DevToolsCore 0x000000011205c1a3 -[XCCompilerSpecificationClang standardFlagsInTargetBuildContext:] + 302
9 com.apple.Xcode.DevToolsCore 0x0000000111f719c1 -[PBXCompilerSpecificationGcc2_95_2 compileSourceCodeFileAtPath:ofType:toOutputDirectory:inTargetBuildContext:] + 3408
10 com.apple.Xcode.DevToolsCore 0x000000011205c063 -[XCCompilerSpecificationClang compileSourceCodeFileAtPath:ofType:toOutputDirectory:inTargetBuildContext:] + 1374
11 com.apple.Xcode.DevToolsCore 0x0000000111f6fb0a -[PBXCompilerSpecificationGcc computeDependenciesForInputNodes:ofType:variant:architecture:outputDirectory:inTargetBuildContext:] + 2360
12 com.apple.Xcode.DevToolsCore 0x0000000111fa8754 -[XCCompilerSpecification computeDependenciesForFilePath:ofType:outputDirectory:inTargetBuildContext:] + 2130
13 com.apple.Xcode.DevToolsCore 0x0000000112050090 -[XCBuildRuleDGSnapshot(DependencyGraphCreation) computeDependenciesForFilePath:ofType:forBuildFileReference:withOutputDirectory:additionalProperties:inTargetBuildContext:] + 7271
14 com.apple.Xcode.DevToolsCore 0x00000001120485a4 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) _computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:processedPaths:] + 2349
15 com.apple.Xcode.DevToolsCore 0x0000000112048cd4 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:] + 112
16 com.apple.Xcode.DevToolsCore 0x0000000112049293 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForBuildFileReference:inTargetBuildContext:] + 1442
17 com.apple.Xcode.DevToolsCore 0x000000011203db43 -[XCBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] + 2019
18 com.apple.Xcode.DevToolsCore 0x000000011204ac89 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] + 48
19 com.apple.Xcode.DevToolsCore 0x000000011204b6fe -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesInTargetBuildContext:] + 2650
20 com.apple.Xcode.DevToolsCore 0x0000000111faab64 -[XCProductTypeSpecification computeDependenciesInTargetBuildContext:] + 976
21 com.apple.Xcode.DevToolsCore 0x0000000112039443 -[XCNativeTargetDGSnapshot(DependencyGraphCreation) computeDependenciesInTargetBuildContext:] + 3732
22 com.apple.Xcode.DevToolsCore 0x0000000111f49ebb -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] + 4798
23 com.apple.Xcode.DevToolsCore 0x0000000111f5bb62 -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] + 453
24 com.apple.CoreFoundation 0x00007fff88b8e90c __invoking___ + 140
25 com.apple.CoreFoundation 0x00007fff88b8e7a4 -[NSInvocation invoke] + 132
26 com.apple.Xcode.DevToolsCore 0x0000000111f5af48 -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] + 608
27 com.apple.CoreFoundation 0x00007fff88b8e90c __invoking___ + 140
28 com.apple.CoreFoundation 0x00007fff88b8e7a4 -[NSInvocation invoke] + 132
29 com.apple.Xcode.DevToolsCore 0x0000000111fa3de7 -[XCInvocationQueue _processNextInvocationInThreadSlotNumber:] + 381
30 com.apple.Xcode.DevToolsCore 0x0000000111fa41f9 -[XCInvocationQueue _processInvocationsInThreadSlotNumber:] + 525
31 com.apple.Foundation 0x00007fff83b671ea -[NSThread main] + 68
32 com.apple.Foundation 0x00007fff83b67162 __NSThread__main__ + 1575
33 libsystem_c.dylib 0x00007fff81b528bf _pthread_start + 335
34 libsystem_c.dylib 0x00007fff81b55b75 thread_start + 13
I've tried running the Xcode uninstall script and re-installing from the App Store, so I don't think my installation is the issue. I'm running OSX 10.7.1.
I re-created the project with git clone and I was able to open the project again. I suspect that the xcodeproject file was corrupted somehow, perhaps a bad conflict resolution.
Hy,
From time to time, not in a specific moment, my application crushes with this message.
Mprotect failed at 0x4f2f000 (length 12288) with errno 12
Stacktrace:
at Mono.Data.Sqlite.SqliteConvert.UTF8ToString (intptr,int) <0x000af>
at Mono.Data.Sqlite.SQLite3.GetText (Mono.Data.Sqlite.SqliteStatement,int) <0x00037>
at Mono.Data.Sqlite.SQLite3.GetValue (Mono.Data.Sqlite.SqliteStatement,int,Mono.Data.Sqlite.SQLiteType) <0x0047b>
at Mono.Data.Sqlite.SqliteDataReader.GetValue (int) <0x0009f>
at Mono.Data.Sqlite.SqliteDataReader.GetValues (object[]) <0x00057>
at TestLibertatea2.LocalDb.Query (string,Mono.Data.Sqlite.SqliteParameter[]) [0x0008c] in /Users/admin/Projects/TestLibertatea2/TestLibertatea2/Backend/Database/LocalDb.cs:68
at TestLibertatea2.LocalDb.QueryAsList (string,string,Mono.Data.Sqlite.SqliteParameter[]) [0x00006] in /Users/admin/Projects/TestLibertatea2/TestLibertatea2/Backend/Database/LocalDb.cs:85
at TestLibertatea2.LocalDb.QueryAsList (string,string) [0x00000] in /Users/admin/Projects/TestLibertatea2/TestLibertatea2/Backend/Database/LocalDb.cs:79
at TestLibertatea2.DbArticol.GetDbList (string) [0x00006] in /Users/admin/Projects/TestLibertatea2/TestLibertatea2/Backend/DbArticol.cs:37
at TestLibertatea2.HomePage.loadData () [0x00048] in /Users/admin/Projects/TestLibertatea2/TestLibertatea2/Controllers/HomePage.cs:105
at TestLibertatea2.HomePage.<ViewDidAppear>m__5 () [0x00000] in /Users/admin/Projects/TestLibertatea2/TestLibertatea2/Controllers/HomePage.cs:76
at MonoTouch.Foundation.NSActionDispatcher.Apply () <0x0002b>
at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
at MonoTouch.UIKit.UIApplication.Main (string[],string,string) <0x000cf>
at MonoTouch.UIKit.UIApplication.Main (string[]) <0x00023>
at TestLibertatea2.Application.Main (string[]) [0x00000] in /Users/admin/Projects/TestLibertatea2/TestLibertatea2/Main.cs:17
at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
0 TestLibertatea2 0x005bc51c mono_handle_native_sigsegv + 412
1 TestLibertatea2 0x005e3708 sigabrt_signal_handler + 148
2 libsystem_c.dylib 0x36aeb72f _sigtramp + 42
3 libsystem_c.dylib 0x36ae03bb pthread_kill + 58
4 libsystem_c.dylib 0x36ad8bff abort + 78
5 TestLibertatea2 0x0070f044 GC_remap + 200
6 TestLibertatea2 0x00702a28 GC_allochblk_nth + 1536
7 TestLibertatea2 0x007023d8 GC_allochblk + 96
8 TestLibertatea2 0x00708d0c GC_alloc_large + 92
9 TestLibertatea2 0x007093b0 GC_generic_malloc + 324
10 TestLibertatea2 0x00709690 GC_malloc_atomic + 332
11 TestLibertatea2 0x00695ab0 mono_object_allocate_ptrfree + 64
12 TestLibertatea2 0x00695c1c mono_array_new_specific + 148
13 TestLibertatea2 0x0050f34c wrapper_managed_to_native_object___icall_wrapper_mono_array_new_specific_intptr_int + 68
14 TestLibertatea2 0x00349e30 Mono_Data_Sqlite_SQLite3_GetText_Mono_Data_Sqlite_SqliteStatement_int + 56
15 TestLibertatea2 0x0034ac10 Mono_Data_Sqlite_SQLite3_GetValue_Mono_Data_Sqlite_SqliteStatement_int_Mono_Data_Sqlite_SQLiteType + 1148
16 TestLibertatea2 0x00361f90 Mono_Data_Sqlite_SqliteDataReader_GetValue_int + 160
17 TestLibertatea2 0x00361ff4 Mono_Data_Sqlite_SqliteDataReader_GetValues_object__ + 88
18 TestLibertatea2 0x001a01e8 TestLibertatea2_LocalDb_Query_string_Mono_Data_Sqlite_SqliteParameter__ + 1288
19 TestLibertatea2 0x001a0704 TestLibertatea2_LocalDb_QueryAsList_string_string_Mono_Data_Sqlite_SqliteParameter__ + 256
20 TestLibertatea2 0x001a05b8 TestLibertatea2_LocalDb_QueryAsList_string_string + 200
21 TestLibertatea2 0x001bca90 TestLibertatea2_DbArticol_GetDbList_string + 304
22 TestLibertatea2 0x0018b494 TestLibertatea2_HomePage_loadData + 516
23 TestLibertatea2 0x0018cdc8 TestLibertatea2_HomePage__ViewDidAppearm__5 + 128
24 TestLibertatea2 0x0005f3bc MonoTouch_Foundation_NSActionDispatcher_Apply + 44
25 TestLibertatea2 0x0050a498 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200
26 TestLibertatea2 0x005a2064 mono_jit_runtime_invoke + 2800
27 TestLibertatea2 0x00690d38 mono_runtime_invoke + 140
28 TestLibertatea2 0x00716928 monotouch_trampoline + 2840
29 Foundation 0x35dca7cd __NSFireTimer + 136
30 CoreFoundation 0x33538a47 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 14
31 CoreFoundation 0x3353aecb __CFRunLoopDoTimer + 850
32 CoreFoundation 0x3353b845 __CFRunLoopRun + 1088
33 CoreFoundation 0x334cbec3 CFRunLoopRunSpecific + 230
34 CoreFoundation 0x334cbdcb CFRunLoopRunInMode + 58
35 GraphicsServices 0x3639641f GSEventRunModal + 114
36 GraphicsServices 0x363964cb GSEventRun + 62
37 UIKit 0x330e8d69 -[UIApplication _run] + 404
38 UIKit 0x330e6807 UIApplicationMain + 670
39 TestLibertatea2 0x0008c6fc wrapper_managed_to_native_MonoTouch_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 240
40 TestLibertatea2 0x0006af20 MonoTouch_UIKit_UIApplication_Main_string__ + 36
41 TestLibertatea2 0x001847c8 TestLibertatea2_Application_Main_string__ + 128
42 TestLibertatea2 0x0050a498 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200
43 TestLibertatea2 0x005a2064 mono_jit_runtime_invoke + 2800
44 TestLibertatea2 0x00690d38 mono_runtime_invoke + 140
45 TestLibertatea2 0x00693ce8 mono_runtime_exec_main + 784
46 TestLibertatea2 0x00692d4c mono_runtime_run_main + 1048
47 TestLibertatea2 0x005a9814 mono_jit_exec + 216
48 TestLibertatea2 0x0059c620 main + 3616
49 TestLibertatea2 0x000024a0 start + 52
Debug info from gdb:
You are running out of memory.
mmap errno 12 Cannot Allocate Memory
Have a look at Explanation of MProtect Errno 12 (ENOMEM) and iPhone application crashes with Mprotect failed error (MonoTouch) to see some potential workaround (like using IDisposable whenever possible).
Ok, in the last version of monotouch ( 4.0.5 ) this problem is solved. My luck was that it was released just in time!