App Crashes on Launch only on iPad Mini 4

My app runs well on iPad Air, but when I ran Debug on iPad Mini 4 it crashes on launch. Previously it was working fine before I added app icons.. Not sure what went wrong. Any idea how to solve this? Below my crash log retrieved from Xcode.

Date/Time:           2016-09-27 14:19:18.4378 +0800
Launch Time:         2016-09-27 14:19:15.8678 +0800
OS Version:          iPhone OS 10.0.1 (14A403)
Report Version:      104

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

Application Specific Information:
abort() called

Filtered syslog:
None found

Thread 0 name:  tid_a07  Dispatch queue: com.apple.main-thread
Thread 0:
0   libobjc.A.dylib                 0x0000000188a12f3c objc_msgSend + 28
1   CoreUI                          0x000000018fc20290 -[_CSIRenditionBlockData initWithPixelWidth:pixelHeight:sourceRowbytes:pixelFormat:] + 156
2   CoreUI                          0x000000018fc29674 __csiCompressImageProviderCopyImageBlockSetWithOptions + 1044
3   CoreGraphics                    0x000000018b43f9a0 subImageProviderCopyImageBlockSet + 224
4   CoreGraphics                    0x000000018b43f5c0 CGImageProviderCopyImageBlockSet + 220
5   CoreGraphics                    0x000000018b6d27a8 imageProvider_getBytes + 88
6   QuartzCore                      0x000000018d1d5ba8 CA::Render::(anonymous namespace)::create_image_by_copying(unsigned int, unsigned int, CGColorSpace*, CGDataProvider*, void const*, unsigned long, unsigned int, unsigned int) + 292
7   QuartzCore                      0x000000018d1d6138 CA::Render::(anonymous namespace)::create_image_from_image_data(CGImage*, CGColorSpace*, unsigned int, unsigned int, double) + 672
8   QuartzCore                      0x000000018d1d3348 CA::Render::create_image(CGImage*, CGColorSpace*, unsigned int, double) + 1016
9   QuartzCore                      0x000000018d1d506c CA::Render::copy_image(CGImage*, CGColorSpace*, unsigned int, double, double) + 500
10  QuartzCore                      0x000000018d1d52d0 CA::Render::prepare_image(CGImage*, CGColorSpace*, unsigned int, double) + 16
11  QuartzCore                      0x000000018d2c430c CA::Layer::prepare_commit(CA::Transaction*) + 292
12  QuartzCore                      0x000000018d240c70 CA::Context::commit_transaction(CA::Transaction*) + 264
13  QuartzCore                      0x000000018d2680d0 CA::Transaction::commit() + 512
14  QuartzCore                      0x000000018d268af0 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 120
15  CoreFoundation                  0x0000000189f757dc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
16  CoreFoundation                  0x0000000189f7340c __CFRunLoopDoObservers + 372
17  CoreFoundation                  0x0000000189ea2068 CFRunLoopRunSpecific + 476
18  UIKit                           0x000000018fe747cc -[UIApplication _run] + 608
19  UIKit                           0x000000018fe6f550 UIApplicationMain + 208
20  libXamarin.iOS.dll.dylib        0x0000000100902bc4 0x100894000 + 453572
21  libXamarin.iOS.dll.dylib        0x00000001008d05bc 0x100894000 + 247228
22  libXamarin.iOS.dll.dylib        0x00000001008d057c 0x100894000 + 247164
23  libAnacleMobile.exe.dylib       0x000000010057e190 0x100578000 + 24976
24  libmscorlib.dll.dylib           0x0000000100cba574 0x100a7c000 + 2352500
25  libmonosgen-2.0.dylib           0x000000010026a1dc 0x100204000 + 418268
26  libmonosgen-2.0.dylib           0x00000001002dad0c 0x100204000 + 879884
27  libmonosgen-2.0.dylib           0x00000001002dd2f0 0x100204000 + 889584
28  libmonosgen-2.0.dylib           0x00000001002dcf0c 0x100204000 + 888588
29  libmonosgen-2.0.dylib           0x000000010024e7f8 0x100204000 + 305144
30  libxamarin-debug.dylib          0x000000010053dcd8 0x100514000 + 171224
31  AnacleMobile                    0x00000001000e79a8 main (main.arm64.m:81)
32  libdyld.dylib                   0x0000000188e845b8 start + 4

Thread 1 name:  Dispatch queue: CA::CG::Queue
Thread 1:
0   libsystem_kernel.dylib          0x0000000188f7816c mach_msg_trap + 8
1   libsystem_kernel.dylib          0x0000000188f77fdc mach_msg + 72
2   IOKit                           0x000000018a292e74 io_registry_entry_get_property_bin + 264
3   IOKit                           0x000000018a235ac8 IORegistryEntrySearchCFProperty + 232
4   Metal                           0x000000018c597538 +[MTLIOAccelDevice registerDevices] + 396
5   Metal                           0x000000018c58f990 ___ZL24MTLDeviceArrayInitializev_block_invoke + 640
6   libdispatch.dylib               0x0000000188e511c0 _dispatch_client_callout + 16
7   libdispatch.dylib               0x0000000188e51fb4 dispatch_once_f + 56
8   Metal                           0x000000018c58d3c8 MTLCreateSystemDefaultDevice + 224
9   QuartzCore                      0x000000018d24bcc4 CA::CG::IOSurfaceRenderer::acquire(CA::CG::IOSurfaceDrawable&, CA::CG::IOSurfaceRenderer**, unsigned int, bool) + 508
10  QuartzCore                      0x000000018d1c0880 CA::CG::Queue::render_callback(void*) + 68
11  libdispatch.dylib               0x0000000188e511c0 _dispatch_client_callout + 16
12  libdispatch.dylib               0x0000000188e5f194 _dispatch_queue_serial_drain + 240
13  libdispatch.dylib               0x0000000188e549a8 _dispatch_queue_invoke + 652
14  libdispatch.dylib               0x0000000188e6138c _dispatch_root_queue_drain + 572
15  libdispatch.dylib               0x0000000188e610ec _dispatch_worker_thread3 + 124
16  libsystem_pthread.dylib         0x00000001890592c8 _pthread_wqthread + 1288
17  libsystem_pthread.dylib         0x0000000189058db4 start_wqthread + 4

Thread 2:
0   libsystem_pthread.dylib         0x0000000189058db0 start_wqthread + 0

Thread 3 name:  Dispatch queue: com.apple.root.default-qos
Thread 3 Crashed:
0   libsystem_kernel.dylib          0x0000000188f96014 __pthread_kill + 8
1   libsystem_pthread.dylib         0x000000018905d460 pthread_kill + 112
2   libsystem_c.dylib               0x0000000188f0a3f4 abort + 140
3   libmonosgen-2.0.dylib           0x000000010025be54 0x100204000 + 360020
4   libsystem_platform.dylib        0x0000000189057348 _sigtramp + 52
5   libsystem_kernel.dylib          0x0000000188f91480 abort_with_payload_wrapper_internal + 100
6   libsystem_kernel.dylib          0x0000000188f914c8 system_set_sfi_window + 0
7   TCC                             0x000000018c1d2560 __TCCAccessRequest_block_invoke_2.80 + 0
8   TCC                             0x000000018c1d245c __CRASHING_DUE_TO_PRIVACY_VIOLATION__ + 0
9   TCC                             0x000000018c1d552c __tccd_send_block_invoke + 288
10  libxpc.dylib                    0x000000018909c01c _xpc_connection_reply_callout + 80
11  libxpc.dylib                    0x000000018909bf8c _xpc_connection_call_reply + 40
12  libdispatch.dylib               0x0000000188e511c0 _dispatch_client_callout + 16
13  libdispatch.dylib               0x0000000188e5fab4 _dispatch_queue_override_invoke + 732
14  libdispatch.dylib               0x0000000188e6138c _dispatch_root_queue_drain + 572
15  libdispatch.dylib               0x0000000188e610ec _dispatch_worker_thread3 + 124
16  libsystem_pthread.dylib         0x00000001890592c8 _pthread_wqthread + 1288
17  libsystem_pthread.dylib         0x0000000189058db4 start_wqthread + 4

Thread 4 name:  SGen worker
Thread 4:
0   libsystem_kernel.dylib          0x0000000188f95e1c __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x000000018905a9d0 _pthread_cond_wait + 640
2   libmonosgen-2.0.dylib           0x0000000100339840 0x100204000 + 1267776
3   libsystem_pthread.dylib         0x000000018905b860 _pthread_body + 240
4   libsystem_pthread.dylib         0x000000018905b770 _pthread_body + 0
5   libsystem_pthread.dylib         0x0000000189058dbc thread_start + 4

Thread 5 name:  Finalizer
Thread 5:
0   libsystem_kernel.dylib          0x0000000188f781a8 semaphore_wait_trap + 8
1   libmonosgen-2.0.dylib           0x000000010029d514 0x100204000 + 627988
2   libmonosgen-2.0.dylib           0x000000010030d960 0x100204000 + 1087840
3   libmonosgen-2.0.dylib           0x0000000100346234 0x100204000 + 1319476
4   libsystem_pthread.dylib         0x000000018905b860 _pthread_body + 240
5   libsystem_pthread.dylib         0x000000018905b770 _pthread_body + 0
6   libsystem_pthread.dylib         0x0000000189058dbc thread_start + 4

Thread 6 name:  com.apple.uikit.eventfetch-thread
Thread 6:
0   libsystem_kernel.dylib          0x0000000188f7816c mach_msg_trap + 8
1   libsystem_kernel.dylib          0x0000000188f77fdc mach_msg + 72
2   CoreFoundation                  0x0000000189f75cec __CFRunLoopServiceMachPort + 192
3   CoreFoundation                  0x0000000189f73908 __CFRunLoopRun + 1132
4   CoreFoundation                  0x0000000189ea2048 CFRunLoopRunSpecific + 444
5   Foundation                      0x000000018a9b0b1c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6   Foundation                      0x000000018a9d160c -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
7   UIKit                           0x00000001907e9e6c -[UIEventFetcher threadMain] + 136
8   Foundation                      0x000000018aaae50c __NSThread__start__ + 1024
9   libsystem_pthread.dylib         0x000000018905b860 _pthread_body + 240
10  libsystem_pthread.dylib         0x000000018905b770 _pthread_body + 0
11  libsystem_pthread.dylib         0x0000000189058dbc thread_start + 4

Thread 7:
0   libsystem_kernel.dylib          0x0000000188f96314 __semwait_signal + 8
1   libsystem_c.dylib               0x0000000188eb427c nanosleep + 212
2   libc++.1.dylib                  0x00000001889c5994 std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > const&) + 80
3   JavaScriptCore                  0x000000018e743384 void std::__1::this_thread::sleep_for<long long, std::__1::ratio<1l, 1000l> >(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> > const&) + 76
4   JavaScriptCore                  0x000000018e742484 bmalloc::waitUntilFalse(std::__1::unique_lock<bmalloc::StaticMutex>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> >, bool&) + 128
5   JavaScriptCore                  0x000000018e7422c0 bmalloc::Heap::scavenge(std::__1::unique_lock<bmalloc::StaticMutex>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> >) + 60
6   JavaScriptCore                  0x000000018e742160 bmalloc::Heap::concurrentScavenge() + 80
7   JavaScriptCore                  0x000000018e743470 bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadRunLoop() + 92
8   JavaScriptCore                  0x000000018e74339c std::__1::__shared_ptr_emplace<std::__1::mutex, std::__1::allocator<std::__1::mutex> >::~__shared_ptr_emplace() + 0
9   JavaScriptCore                  0x000000018e74364c void* std::__1::__thread_proxy<std::__1::tuple<void (*)(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*), bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*> >(void*) + 92
10  libsystem_pthread.dylib         0x000000018905b860 _pthread_body + 240
11  libsystem_pthread.dylib         0x000000018905b770 _pthread_body + 0
12  libsystem_pthread.dylib         0x0000000189058dbc thread_start + 4

Thread 8 name:  WebThread
Thread 8:
0   libsystem_kernel.dylib          0x0000000188f95e64 __psynch_mutexwait + 8
1   libsystem_pthread.dylib         0x000000018905edb4 _pthread_mutex_lock_wait + 96
2   libsystem_pthread.dylib         0x000000018905efb8 _pthread_mutex_lock_slow + 296
3   WebCore                         0x000000018ea3eef4 _WebTryThreadLock(bool) + 128
4   WebCore                         0x000000018ea3ee54 WebRunLoopLock(__CFRunLoopObserver*, unsigned long, void*) + 44
5   CoreFoundation                  0x0000000189f757dc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
6   CoreFoundation                  0x0000000189f7340c __CFRunLoopDoObservers + 372
7   CoreFoundation                  0x0000000189f73a4c __CFRunLoopRun + 1456
8   CoreFoundation                  0x0000000189ea2048 CFRunLoopRunSpecific + 444
9   WebCore                         0x000000018ea3ca2c RunWebThread(void*) + 456
10  libsystem_pthread.dylib         0x000000018905b860 _pthread_body + 240
11  libsystem_pthread.dylib         0x000000018905b770 _pthread_body + 0
12  libsystem_pthread.dylib         0x0000000189058dbc thread_start + 4

Thread 9 name:  AVAudioSession Notify Thread
Thread 9:
0   libsystem_kernel.dylib          0x0000000188f7816c mach_msg_trap + 8
1   libsystem_kernel.dylib          0x0000000188f77fdc mach_msg + 72
2   CoreFoundation                  0x0000000189f75cec __CFRunLoopServiceMachPort + 192
3   CoreFoundation                  0x0000000189f73908 __CFRunLoopRun + 1132
4   CoreFoundation                  0x0000000189ea2048 CFRunLoopRunSpecific + 444
5   AVFAudio                        0x00000001a3024fe8 GenericRunLoopThread::Entry(void*) + 164
6   AVFAudio                        0x00000001a304af14 CAPThread::Entry(CAPThread*) + 84
7   libsystem_pthread.dylib         0x000000018905b860 _pthread_body + 240
8   libsystem_pthread.dylib         0x000000018905b770 _pthread_body + 0
9   libsystem_pthread.dylib         0x0000000189058dbc thread_start + 4

Thread 3 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000026
    x4: 0x000000000000001b   x5: 0x000000016e115ab0   x6: 0x0000000000000031   x7: 0xffffffffffffffec
    x8: 0x000000000c000000   x9: 0x0000000004000000  x10: 0x0000000000003db5  x11: 0x00000001b0b89bcb
   x12: 0x00000001b0b89bcb  x13: 0x0000000000000018  x14: 0x0000000000000001  x15: 0x0000000000000881
   x16: 0x0000000000000148  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x000000016e117000  x21: 0x0000000100365cbc  x22: 0x0000000100365d83  x23: 0xaf37961ab098005a
   x24: 0x000000016e115ee8  x25: 0x0000000100365d36  x26: 0x0000000104209c78  x27: 0x0000000000000004
   x28: 0xffffffffffffffff   fp: 0x000000016e115e80   lr: 0x000000018905d460
    sp: 0x000000016e115e60   pc: 0x0000000188f96014 cpsr: 0x00000000
Tagged:

Answers

  • Not sure if the binary image of the crash log is needed? Coz it's too long..

  • NuninzNuninz USMember ✭✭

    The crash is happening on Thread 0 so this should be enough. It looks like you're doing something with an image and it crashes when rendering? You might be doing UI Thread stuff on a background thread but without the code it's just a guess

  • ConwayConway USMember ✭✭

    Thread 3 crashed and in its callstack, there is a line that mentions "CRASHING_DUE_TO_PRIVACY_VIOLATION". I also see you are running on iOS10, which contains new privacy declarations (https://blog.xamarin.com/new-ios-10-privacy-permission-settings/). You might want to look in that area to see if you've got privacy declarations for all the features of your app that require them.

Sign In or Register to comment.