My app sometimes crash if it has been in the background for a while and I bring it back into the foreground. I would much appreciate any help on the matter. The log say that the crash is triggered by tread 5. It seems to have something to do with resuming the Meteor session. using a token?
Any help would be very much appreciated. Thank You !
Hardware Model: iPhone7,2
Process: MyApp [1971]
Path: /private/var/mobile/Containers/Bundle/Application/801F312F-A114-4EBC-81B3-5DDC8AEA76BC/MyApp.app/MyApp
Identifier: MyApp
Version: 4 (1)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2016-03-30 18:59:31.31 +0200
Launch Time: 2016-03-30 18:41:24.24 +0200
OS Version: iOS 9.0.2 (13A452)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 5
Filtered syslog:
None found
Last Exception Backtrace:
0 CoreFoundation 0x182464f5c __exceptionPreprocess + 124
1 libobjc.A.dylib 0x19705bf80 objc_exception_throw + 56
2 CoreFoundation 0x182464e2c +[NSException raise:format:arguments:] + 108
3 Foundation 0x183353f3c -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112
4 Meteor 0x100b3c910 -[METDDPConnection sendMessage:] (METDDPConnection.m:72)
5 Meteor 0x100b36f18 -[METDDPClient sendMessage:] (METDDPClient.m:275)
6 Meteor 0x100b3a40c -[METDDPClient sendMethodMessageForMethodInvocation:] (METDDPClient.m:609)
7 Meteor 0x100b4ccb0 -[METMethodInvocation start] (METMethodInvocation.m:81)
8 Foundation 0x183389c20 __NSOQSchedule_f + 224
9 libdispatch.dylib 0x197855770 _dispatch_client_callout + 16
10 libdispatch.dylib 0x19786175c _dispatch_queue_drain + 864
11 libdispatch.dylib 0x197859274 _dispatch_queue_invoke + 464
12 libdispatch.dylib 0x19786362c _dispatch_root_queue_drain + 728
13 libdispatch.dylib 0x19786334c _dispatch_worker_thread3 + 112
14 libsystem_pthread.dylib 0x197a69478 _pthread_wqthread + 1092
15 libsystem_pthread.dylib 0x197a69028 start_wqthread + 4
Global Trace Buffer (reverse chronological seconds):
412.483308 CFNetwork 0x0000000181b699a4 TCP Conn 0x12f667c10 SSL Handshake DONE
412.625113 CFNetwork 0x0000000181b698b4 TCP Conn 0x12f667c10 starting SSL negotiation
412.625906 CFNetwork 0x0000000181c0b760 TCP Conn 0x12f667c10 complete. fd: 6, err: 0
412.625907 CFNetwork 0x0000000181c0cc8c TCP Conn 0x12f667c10 event 1. err: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libobjc.A.dylib 0x000000019706da6c weak_read_no_lock + 44
1 libobjc.A.dylib 0x000000019706da60 weak_read_no_lock + 32
2 libobjc.A.dylib 0x0000000197074984 objc_loadWeakRetained + 108
3 UIKit 0x00000001879fb6a4 -[UITextSelectionView interactionAssistant] + 24
4 UIKit 0x0000000187a025dc -[UITextSelectionView updateSelectionRects] + 128
5 UIKit 0x0000000187a02524 -[UITextSelectionView updateSelectionRectsIfNeeded] + 84
6 UIKit 0x0000000187f325f4 __51-[UITextSelectionView deferredUpdateSelectionRects]_block_invoke + 36
7 CoreFoundation 0x000000018241bc30 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
8 CoreFoundation 0x00000001824199d4 __CFRunLoopDoObservers + 372
9 CoreFoundation 0x0000000182419d1c __CFRunLoopRun + 696
10 CoreFoundation 0x0000000182348dc0 CFRunLoopRunSpecific + 384
11 GraphicsServices 0x000000018d49c088 GSEventRunModal + 180
12 UIKit 0x0000000187a22f44 UIApplicationMain + 204
13 MyApp 0x000000010016582c 0x1000b8000 + 710700
14 libdyld.dylib 0x00000001978868b8 start + 4
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x00000001979a459c kevent_qos + 8
1 libdispatch.dylib 0x0000000197868a04 _dispatch_mgr_invoke + 232
2 libdispatch.dylib 0x000000019785793c _dispatch_source_invoke + 0
Thread 2:
0 libsystem_kernel.dylib 0x0000000197988c30 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000197988aac mach_msg + 72
2 CoreFoundation 0x000000018241c168 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000182419e6c __CFRunLoopRun + 1032
4 CoreFoundation 0x0000000182348dc0 CFRunLoopRunSpecific + 384
5 Foundation 0x00000001832bc7ec -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 308
6 PocketSocket 0x0000000100bba2b4 -[PSWebSocketNetworkThread main] (PSWebSocketNetworkThread.m:64)
7 Foundation 0x00000001833a3138 __NSThread__start__ + 1000
8 libsystem_pthread.dylib 0x0000000197a6bb3c _pthread_body + 156
9 libsystem_pthread.dylib 0x0000000197a6baa0 _pthread_body + 0
10 libsystem_pthread.dylib 0x0000000197a69030 thread_start + 4
Thread 3 name: com.apple.NSURLConnectionLoader
Thread 3:
0 libsystem_kernel.dylib 0x0000000197988c30 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000197988aac mach_msg + 72
2 CoreFoundation 0x000000018241c168 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000182419e6c __CFRunLoopRun + 1032
4 CoreFoundation 0x0000000182348dc0 CFRunLoopRunSpecific + 384
5 CFNetwork 0x0000000181be6074 +[NSURLConnection(Loader) _resourceLoadLoop:] + 412
6 Foundation 0x00000001833a3138 __NSThread__start__ + 1000
7 libsystem_pthread.dylib 0x0000000197a6bb3c _pthread_body + 156
8 libsystem_pthread.dylib 0x0000000197a6baa0 _pthread_body + 0
9 libsystem_pthread.dylib 0x0000000197a69030 thread_start + 4
Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x00000001979a3408 __select + 8
1 CoreFoundation 0x00000001824226d0 __CFSocketManager + 648
2 libsystem_pthread.dylib 0x0000000197a6bb3c _pthread_body + 156
3 libsystem_pthread.dylib 0x0000000197a6baa0 _pthread_body + 0
4 libsystem_pthread.dylib 0x0000000197a69030 thread_start + 4
Thread 5 name: Dispatch queue: NSOperationQueue 0x12f57ff00 :: login((
{
resume = "dLJOlefqcSP3c8jFB6J4l_ZEnN6l_5UxpAlo1gUYBas";
}
)) (QOS
Thread 5 Crashed:
0 libsystem_kernel.dylib 0x00000001979a31e0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000197a6cf0c pthread_kill + 112
2 libsystem_c.dylib 0x0000000197916b78 abort + 140
3 libc++abi.dylib 0x00000001966d93f4 __cxa_bad_cast + 0
4 libc++abi.dylib 0x00000001966f5e98 default_unexpected_handler() + 0
5 libobjc.A.dylib 0x000000019705c248 _objc_terminate() + 124
6 libc++abi.dylib 0x00000001966f2f44 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x00000001966f2fd0 std::set_new_handler(void (*)()) + 0
8 libobjc.A.dylib 0x000000019705c1a4 _destroyAltHandlerList + 0
9 libdispatch.dylib 0x0000000197855784 _dispatch_client_callout + 36
10 libdispatch.dylib 0x000000019786175c _dispatch_queue_drain + 864
11 libdispatch.dylib 0x0000000197859274 _dispatch_queue_invoke + 464
12 libdispatch.dylib 0x000000019786362c _dispatch_root_queue_drain + 728
13 libdispatch.dylib 0x000000019786334c _dispatch_worker_thread3 + 112
14 libsystem_pthread.dylib 0x0000000197a69478 _pthread_wqthread + 1092
15 libsystem_pthread.dylib 0x0000000197a69028 start_wqthread + 4**
Thread 6:
0 libsystem_kernel.dylib 0x00000001979a3c0c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197a69538 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000197a69028 start_wqthread + 4
Thread 7:
0 libsystem_kernel.dylib 0x00000001979a3c0c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197a69538 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000197a69028 start_wqthread + 4
Thread 8:
0 libsystem_kernel.dylib 0x00000001979a3c0c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197a69538 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000197a69028 start_wqthread + 4
Thread 9:
0 libsystem_kernel.dylib 0x00000001979a3c0c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197a69538 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000197a69028 start_wqthread + 4
Thread 10:
0 libsystem_kernel.dylib 0x00000001979a3c0c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197a69538 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000197a69028 start_wqthread + 4
Thread 11:
0 libsystem_kernel.dylib 0x00000001979a3c0c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197a69538 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000197a69028 start_wqthread + 4
Thread 12:
0 libsystem_kernel.dylib 0x00000001979a3c0c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197a69538 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000197a69028 start_wqthread + 4
Thread 13:
0 libsystem_kernel.dylib 0x00000001979a3c0c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197a69538 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000197a69028 start_wqthread + 4
Thread 14:
0 libsystem_kernel.dylib 0x00000001979a3c0c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197a69538 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000197a69028 start_wqthread + 4
Thread 15:
0 libsystem_kernel.dylib 0x00000001979a3c0c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197a69538 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000197a69028 start_wqthread + 4
Related
I am getting SIGSEGV SEGV_MAPERR crash in my live iOS app.
These crashes weren't there when my app was 32 bit. Since I made my app 64 bit compatible, these crashes started coming.
Also, the iOS devices that report these errors are 64 bit. So, no errors on 32 bit devices.
Please help me out. This crash is deteriorating my app's performance. They occur quite frequently.
Following stack trace is reported by Crittercism.
Crashed Thread
0 libobjc.A.dylib 0x0000000196703bd0 objc_msgSend + 12
1 CoreFoundation 0x0000000184951458 CFRelease + 520
2 QuartzCore 0x0000000188e24ad8 CA::release_objects() + 28
3 QuartzCore 0x0000000188e2aaec -[CAAnimation dealloc] + 80
4 CoreFoundation 0x0000000184951458 CFRelease + 520
5 QuartzCore 0x0000000188e2d634 CA::Layer::run_animation_callbacks() + 300
6 libdispatch.dylib 0x0000000196d6d954 _dispatch_client_callout + 12
7 libdispatch.dylib 0x0000000196d7220c _dispatch_main_queue_callback_4CF + 1604
8 CoreFoundation 0x0000000184a2b7f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
9 CoreFoundation 0x0000000184a298a0 __CFRunLoopRun + 1488
10 CoreFoundation 0x00000001849552d4 CFRunLoopRunSpecific + 392
11 GraphicsServices 0x000000018e3b36fc GSEventRunModal + 164
12 UIKit 0x0000000189552f40 UIApplicationMain + 1484
13 My App 0x00000001000f2a7c main (main.m:19)
14 libdyld.dylib 0x0000000196d9aa08 start + 0
14 other threads
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000196e98c24 kevent64 + 4
1 libdispatch.dylib 0x0000000196d6f99c _dispatch_mgr_thread + 48
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000196eb3c78 __workq_kernreturn + 4
1 libsystem_pthread.dylib 0x0000000196f4cef0 start_wqthread + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000196eb3c78 __workq_kernreturn + 4
1 libsystem_pthread.dylib 0x0000000196f4cef0 start_wqthread + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000196eb3c78 __workq_kernreturn + 4
1 libsystem_pthread.dylib 0x0000000196f4cef0 start_wqthread + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000196eb3c78 __workq_kernreturn + 4
1 libsystem_pthread.dylib 0x0000000196f4cef0 start_wqthread + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000196eb3c78 __workq_kernreturn + 4
1 libsystem_pthread.dylib 0x0000000196f4cef0 start_wqthread + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000196eb3c78 __workq_kernreturn + 4
1 libsystem_pthread.dylib 0x0000000196f4cef0 start_wqthread + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000196e98e0c mach_msg_trap + 4
1 CoreFoundation 0x0000000184a2b724 __CFRunLoopServiceMachPort + 196
2 CoreFoundation 0x0000000184a29678 __CFRunLoopRun + 936
3 CoreFoundation 0x00000001849552d4 CFRunLoopRunSpecific + 392
4 CFNetwork 0x0000000184432594 +[NSURLConnection(Loader) _resourceLoadLoop:] + 436
5 Foundation 0x0000000185975db8 __NSThread__main__ + 1068
6 libsystem_pthread.dylib 0x0000000196f4fdc8 _pthread_body + 160
7 libsystem_pthread.dylib 0x0000000196f4fd24 _pthread_start + 156
8 libsystem_pthread.dylib 0x0000000196f4cef8 thread_start + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000196eb3078 __psynch_cvwait + 4
1 libc++.1.dylib 0x0000000195e80cb0 std::__1::condition_variable::wait() + 52
2 My App 0x000000010022c41c _ZN7dropbox11LogUploader17log_upload_threadEv + 2024
3 My App 0x00000001002b18c8 -[DBThreadRunner runThread:] + 136
4 Foundation 0x0000000185975db8 __NSThread__main__ + 1068
5 libsystem_pthread.dylib 0x0000000196f4fdc8 _pthread_body + 160
6 libsystem_pthread.dylib 0x0000000196f4fd24 _pthread_start + 156
7 libsystem_pthread.dylib 0x0000000196f4cef8 thread_start + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000196eb3c78 __workq_kernreturn + 4
1 libsystem_pthread.dylib 0x0000000196f4cef0 start_wqthread + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000196eb3078 __psynch_cvwait + 4
1 libc++.1.dylib 0x0000000195e80cb0 std::__1::condition_variable::wait() + 52
2 My App 0x0000000100365c24 _ZN11DbxUnlinker3runEv + 108
3 My App 0x00000001002b18c8 -[DBThreadRunner runThread:] + 136
4 Foundation 0x0000000185975db8 __NSThread__main__ + 1068
5 libsystem_pthread.dylib 0x0000000196f4fdc8 _pthread_body + 160
6 libsystem_pthread.dylib 0x0000000196f4fd24 _pthread_start + 156
7 libsystem_pthread.dylib 0x0000000196f4cef8 thread_start + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000196eb3c78 __workq_kernreturn + 4
1 libsystem_pthread.dylib 0x0000000196f4cef0 start_wqthread + 0
Thread: Unknown Name
0 My App 0x00000001001faf34 mach_exception_callback + 168
1 My App 0x00000001002074d0 exception_server_thread + 304
2 libsystem_pthread.dylib 0x0000000196f4fdc8 _pthread_body + 160
3 libsystem_pthread.dylib 0x0000000196f4fd24 _pthread_start + 156
4 libsystem_pthread.dylib 0x0000000196f4cef8 thread_start + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000196eb3498 select$DARWIN_EXTSN + 4
1 libsystem_pthread.dylib 0x0000000196f4fdc8 _pthread_body + 160
2 libsystem_pthread.dylib 0x0000000196f4fd24 _pthread_start + 156
3 libsystem_pthread.dylib 0x0000000196f4cef8 thread_start + 0
There are many ways for application to catch a crash. In most kinds of them there is much enough that info which is provided by IDE. (Xcode & iOS/OS X development)
But there are some crash reports which provide us the crashed thread and it’s stack trace (as usual) but no one frame from it is pointed to any call from our application! There are involved native libraries there.
Could anybody share his/her own experience of fixing such kinds of bugs with existing crash reports?
Many thanks in advance!
UPD:
I'm familiar with such docs as: Crash Report (TN2123), looked through function calling conventions, started Mac OS X Debugging Magic (TN2124).
But didn't succeed yet.
UPD2, stack trace:
Process: My Application [5708]
Path: /Applications/My Application.app/Contents/MacOS/My Application
Identifier: com.MyApplication
Version: 1.0 (0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: My Application [5708]
User ID: 10001
Date/Time: 2015-05-05 18:30:02.782 +0300
OS Version: Mac OS X 10.10.1 (14B25)
Report Version: 11
Anonymous UUID: FE6D3DC3-9F32-246F-B1FD-5884D8CABA62
Sleep/Wake UUID: 7B4B18F9-E17D-48CA-AB36-0C75F236A14F
Time Awake Since Boot: 9000 seconds
Time Since Wake: 5700 seconds
Crashed Thread: 3 Dispatch queue: com.apple.videotoolbox.preparationQueue
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000011ccce000
VM Regions Near 0x11ccce000:
IOKit 000000011cc5a000-000000011ccce000 [ 464K] rw-/rw- SM=SHM
-->
IOKit 000000011d04f000-000000011d0fd000 [ 696K] rw-/rw- SM=SHM
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff87e6152e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff87e6069f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a1bfb14 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a1befdb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a1be838 CFRunLoopRunSpecific + 296
5 com.apple.HIToolbox 0x00007fff8c28a43f RunCurrentEventLoopInMode + 235
6 com.apple.HIToolbox 0x00007fff8c28a1ba ReceiveNextEventCommon + 431
7 com.apple.HIToolbox 0x00007fff8c289ffb _BlockUntilNextEventMatchingListInModeWithFilter + 71
8 com.apple.AppKit 0x00007fff84b0a6d1 _DPSNextEvent + 964
9 com.apple.AppKit 0x00007fff84b09e80 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
10 com.apple.AppKit 0x00007fff84afde23 -[NSApplication run] + 594
11 com.apple.AppKit 0x00007fff84ae92d4 NSApplicationMain + 1832
12 com.MyApplication 0x0000000104eac864 start + 52
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff87e6722e kevent64 + 10
1 libdispatch.dylib 0x00007fff92e85a6a _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff87e66946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8cbca4a1 start_wqthread + 13
Thread 3 Crashed:: Dispatch queue: com.apple.videotoolbox.preparationQueue
0 com.apple.VideoToolbox 0x00007fff92ee10e5 0x7fff92eac000 + 217317
1 com.apple.VideoToolbox 0x00007fff92ec324b VTPixelTransferSessionTransferImage + 13362
2 com.apple.VideoToolbox 0x00007fff92eb40e7 0x7fff92eac000 + 32999
3 libdispatch.dylib 0x00007fff92e82c13 _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007fff92e86365 _dispatch_queue_drain + 1100
5 libdispatch.dylib 0x00007fff92e87ecc _dispatch_queue_invoke + 202
6 libdispatch.dylib 0x00007fff92e856b7 _dispatch_root_queue_drain + 463
7 libdispatch.dylib 0x00007fff92e93fe4 _dispatch_worker_thread3 + 91
8 libsystem_pthread.dylib 0x00007fff8cbcc6cb _pthread_wqthread + 729
9 libsystem_pthread.dylib 0x00007fff8cbca4a1 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff87e6152e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff87e6069f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a1bfb14 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a1befdb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a1be838 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff84c6d7a7 _NSEventThread + 137
6 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff87e66946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8cbca4a1 start_wqthread + 13
Thread 6:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff87e6152e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff87e6069f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a1bfb14 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a1befdb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a1be838 CFRunLoopRunSpecific + 296
5 com.apple.CFNetwork 0x00007fff8465bd20 +[NSURLConnection(Loader) _resourceLoadLoop:] + 434
6 com.apple.Foundation 0x00007fff842ecb7a __NSThread__main__ + 1345
7 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 7:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff87e663f6 __select + 10
1 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
2 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
3 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 8:: CVDisplayLink
0 libsystem_kernel.dylib 0x00007fff87e66132 __psynch_cvwait + 10
1 com.apple.CoreVideo 0x00007fff8d424ff8 CVDisplayLink::waitUntil(unsigned long long) + 240
2 com.apple.CoreVideo 0x00007fff8d4244b3 CVDisplayLink::runIOThread() + 511
3 com.apple.CoreVideo 0x00007fff8d42429b startIOThread(void*) + 147
4 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
5 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
6 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff87e66946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8cbca4a1 start_wqthread + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff87e6152e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff87e6069f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a1bfb14 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a1befdb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a1be838 CFRunLoopRunSpecific + 296
5 com.apple.CoreFoundation 0x00007fff8a274ed1 CFRunLoopRun + 97
6 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d39b82e DeckLinkDeviceNotificationControlMac::MessageLoop() + 176
7 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d39b3ad DeviceNotificationController::MessageLoopFunc(void*) + 15
8 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
9 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
10 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff87e6152e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff87e6069f mach_msg + 55
2 com.apple.framework.IOKit 0x00007fff8fb4b23a io_connect_method + 381
3 com.apple.framework.IOKit 0x00007fff8faef532 IOConnectCallScalarMethod + 111
4 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d3f469f Nativeproxy::writeScalarReadScalar(int, unsigned long long const*, unsigned int, unsigned long long*, unsigned int) + 39
5 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d3edc53 WaitForNotificationEvents + 94
6 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d368db8 CDeckLinkNotification::run() + 102
7 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d368e7a thread_entry(void*) + 9
8 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
9 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
10 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff87e6152e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff87e6069f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a1bfb14 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a1befdb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a1be838 CFRunLoopRunSpecific + 296
5 com.apple.CoreFoundation 0x00007fff8a274ed1 CFRunLoopRun + 97
6 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d39b82e DeckLinkDeviceNotificationControlMac::MessageLoop() + 176
7 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d39b3ad DeviceNotificationController::MessageLoopFunc(void*) + 15
8 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
9 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
10 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff87e6152e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff87e6069f mach_msg + 55
2 com.apple.framework.IOKit 0x00007fff8fb4b23a io_connect_method + 381
3 com.apple.framework.IOKit 0x00007fff8faef532 IOConnectCallScalarMethod + 111
4 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d3f469f Nativeproxy::writeScalarReadScalar(int, unsigned long long const*, unsigned int, unsigned long long*, unsigned int) + 39
5 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d3edc53 WaitForNotificationEvents + 94
6 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d368db8 CDeckLinkNotification::run() + 102
7 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d368e7a thread_entry(void*) + 9
8 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
9 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
10 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 14:
0 libsystem_kernel.dylib 0x00007fff87e6152e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff87e6069f mach_msg + 55
2 com.apple.framework.IOKit 0x00007fff8fb4b23a io_connect_method + 381
3 com.apple.framework.IOKit 0x00007fff8faef532 IOConnectCallScalarMethod + 111
4 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d3f469f Nativeproxy::writeScalarReadScalar(int, unsigned long long const*, unsigned int, unsigned long long*, unsigned int) + 39
5 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d3edc53 WaitForNotificationEvents + 94
6 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d38ab81 CDeckLinkOutput::DriverNotificationThread() + 119
7 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d3879bd CDeckLinkOutput::DriverNotificationThreadFunction(void*) + 9
8 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
9 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
10 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff87e6152e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff87e6069f mach_msg + 55
2 com.apple.framework.IOKit 0x00007fff8fb4b23a io_connect_method + 381
3 com.apple.framework.IOKit 0x00007fff8faef532 IOConnectCallScalarMethod + 111
4 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d3ee507 WaitForVideoOutputPreviewEvent + 51
5 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d38a427 CDeckLinkOutput::VideoPreviewThread(PreviewThreadArgs*) + 103
6 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d3882e0 CDeckLinkOutput::VideoPreviewThreadFunction(void*) + 18
7 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff87e6152e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff87e6069f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a1bfb14 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a1befdb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a1be838 CFRunLoopRunSpecific + 296
5 com.apple.CoreFoundation 0x00007fff8a274ed1 CFRunLoopRun + 97
6 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000010d37263f CDeckLink::DriverNotificationThreadFunction(void*) + 89
7 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 17:: com.apple.coremedia.mediaprocessor.videocompression
0 libsystem_kernel.dylib 0x00007fff87e66162 __psynch_mutexwait + 10
1 com.apple.VideoToolbox 0x00007fff92eb087b VTCompressionSessionEncodeFrame + 378
2 com.apple.MediaToolbox 0x00007fff8bc4f12e 0x7fff8ba3f000 + 2162990
3 com.apple.MediaToolbox 0x00007fff8bc26cd9 0x7fff8ba3f000 + 1998041
4 com.apple.MediaToolbox 0x00007fff8bc2693f 0x7fff8ba3f000 + 1997119
5 com.apple.MediaToolbox 0x00007fff8bc1b367 0x7fff8ba3f000 + 1950567
6 com.apple.CoreMedia 0x00007fff90a217b5 figThreadMain + 417
7 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 18:: com.apple.coremedia.mediaprocessor.audiocompression
0 libsystem_kernel.dylib 0x00007fff87e66132 __psynch_cvwait + 10
1 com.apple.CoreMedia 0x00007fff90a20d31 WaitOnCondition + 11
2 com.apple.CoreMedia 0x00007fff90a20b3e FigSemaphoreWaitRelative + 156
3 com.apple.MediaToolbox 0x00007fff8bc1b343 0x7fff8ba3f000 + 1950531
4 com.apple.CoreMedia 0x00007fff90a217b5 figThreadMain + 417
5 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
6 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
7 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 19:
0 libsystem_kernel.dylib 0x00007fff87e6152e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff87e6069f mach_msg + 55
2 com.apple.framework.IOKit 0x00007fff8fb4b23a io_connect_method + 381
3 com.apple.framework.IOKit 0x00007fff8faef532 IOConnectCallScalarMethod + 111
4 com.apple.IOAccelerator 0x00007fff8ca1d449 IOAccelContextFinishFenceEvent + 42
5 com.apple.AppleIntelHD4000GraphicsVADriver 0x000000010ecc2732 0x10ecb0000 + 75570
6 com.apple.AppleIntelHD4000GraphicsVADriver 0x000000010ecdd6ca 0x10ecb0000 + 186058
7 com.apple.AppleGVAFramework 0x000000010e8ba4ab 0x10e81d000 + 644267
8 com.apple.AppleGVAFramework 0x000000010e8ba150 0x10e81d000 + 643408
9 com.apple.AppleGVAFramework 0x000000010e8baf74 0x10e81d000 + 647028
10 com.apple.AppleGVAFramework 0x000000010e8bbe2b 0x10e81d000 + 650795
11 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
12 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
13 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 20:: com.apple.coremedia.formatwriter.qtmovie
0 libsystem_kernel.dylib 0x00007fff87e67636 pwrite + 10
1 com.apple.CoreMedia 0x00007fff90a12363 FigFileByteStreamWrite + 60
2 com.apple.CoreMedia 0x00007fff90a11265 CMByteStreamWriteBlockBuffer + 320
3 com.apple.MediaToolbox 0x00007fff8bbea72c 0x7fff8ba3f000 + 1750828
4 com.apple.MediaToolbox 0x00007fff8bbe5e6c 0x7fff8ba3f000 + 1732204
5 com.apple.MediaToolbox 0x00007fff8bbe3726 0x7fff8ba3f000 + 1722150
6 com.apple.CoreMedia 0x00007fff90a217b5 figThreadMain + 417
7 libsystem_pthread.dylib 0x00007fff8cbcc2fc _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8cbcc279 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8cbca4b1 thread_start + 13
Thread 21:
0 libsystem_kernel.dylib 0x00007fff87e66946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8cbca4a1 start_wqthread + 13
Thread 22:
0 libsystem_kernel.dylib 0x00007fff87e66946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8cbca4a1 start_wqthread + 13
Thread 23:
Thread 3 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000010 rbx: 0x00000000000003c0 rcx: 0x000000011c6afa80 rdx: 0x000000011c99dc00
rdi: 0x00000000000002c0 rsi: 0x000000000000007b rbp: 0x00000001051f3a60 rsp: 0x00000001051f3940
r8: 0x0000000000000438 r9: 0x000000011c88fc00 r10: 0x0000000000000f00 r11: 0x0000000000000780
r12: 0x000000011c676000 r13: 0x000000011cccd500 r14: 0x000000011c871000 r15: 0x000000011c97f000
rip: 0x00007fff92ee10e5 rfl: 0x0000000000010202 cr2: 0x000000011ccce000
Logical CPU: 0
Error Code: 0x00000004
Trap Number: 14
Binary Images:...
I noticed that address in Exception Code is equal to address in cr2 register but not in rip as is written in tech notes.
You can use lldb or gdb to debug the code from the Xcode's debug console. At the time of crash these commands could be useful to get info about the state of your objects at runtime to proceed towards the root cause of the issue. For the list of commands which you can use refer http://lldb.llvm.org/lldb-gdb.html
or
http://www.informit.com/articles/article.aspx?p=1829415&seqNum=6
Also you can enable Zombie for getting more info related to crash
NSZombie is a Cocoa trick that turns any object going to be deallocated into a NSZombie instance. You are going to crash anyway, but instead of Xcode just complaining that you tried to access the wrong memory address, you get something a bit better like this:
2011-02-25 01:27:57.063 WordPress[10496:207] *** -[CFString isEqualToString:]: message sent to deallocated instance 0xcf1b0c0
Not much, but at least you know that the guilty object was a string.
For more info related to Zombie refer https://cocoaforbreakfast.wordpress.com/2011/02/25/exc_bad_access-a-zombie-nightmare/
I am trying to release my new App Version with In App Purchases but Apple rejected it twice with the following issue:
Your app crashed when we:
Attempted to download one of the In-App Purchases.
This occurred when your app was used:
- Offline
- On Wi-Fi
They sent me two Crash Logs which gives the following issues:
The first crash log:
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: EXC_ARM_SP_ALIGN at 0x000000013fd4582e
Highlighted Thread: 1
Thread 0 name: Dispatch queue: com.apple.libdispatch-manager
Thread 0:
0 libsystem_kernel.dylib 0x0000000197071aa8 kevent64 + 8
1 libdispatch.dylib 0x0000000196f75998 _dispatch_mgr_thread + 48
Thread 1 name: com.apple.NSURLConnectionLoader
Thread 1:
0 libsystem_kernel.dylib 0x0000000197071ca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000189f7eb70 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000189f7cd00 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000189ebdc1c CFRunLoopRunSpecific + 448
4 Foundation 0x000000018aab2424 +[NSURLConnection(Loader) _resourceLoadLoop:] + 344
5 Foundation 0x000000018ab40408 __NSThread__main__ + 996
6 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
7 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 2 name: com.apple.CFSocket.private
Thread 2:
0 libsystem_kernel.dylib 0x000000019708a76c __select + 8
1 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
2 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
3 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 3:
0 libsystem_kernel.dylib 0x0000000197071ca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000189f7eb70 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000189f7cd00 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000189ebdc1c CFRunLoopRunSpecific + 448
4 CoreFoundation 0x0000000189f132a4 CFRunLoopRun + 108
5 CoreMotion 0x000000018a676538 0x18a638000 + 255288
6 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
7 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 4:
0 libsystem_kernel.dylib 0x000000019708ae74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197109548 start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x000000019708ae74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197109548 start_wqthread + 0
Thread 6:
0 libsystem_kernel.dylib 0x000000019708ae74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197109548 start_wqthread + 0
Thread 7:
0 libsystem_kernel.dylib 0x000000019708ae74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197109548 start_wqthread + 0
and the second one:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000013fefffb0
Highlighted Thread: 1
Thread 0 name: Dispatch queue: com.apple.libdispatch-manager
Thread 0:
0 libsystem_kernel.dylib 0x0000000197071aa8 kevent64 + 8
1 libdispatch.dylib 0x0000000196f75998 _dispatch_mgr_thread + 48
Thread 1 name: com.apple.NSURLConnectionLoader
Thread 1:
0 libsystem_kernel.dylib 0x0000000197071ca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000189f7eb70 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000189f7cd00 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000189ebdc1c CFRunLoopRunSpecific + 448
4 Foundation 0x000000018aab2424 +[NSURLConnection(Loader) _resourceLoadLoop:] + 344
5 Foundation 0x000000018ab40408 __NSThread__main__ + 996
6 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
7 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 2 name: com.apple.CFSocket.private
Thread 2:
0 libsystem_kernel.dylib 0x000000019708a76c __select + 8
1 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
2 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
3 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x0000000197071ca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000189f7eb70 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000189f7cd00 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000189ebdc1c CFRunLoopRunSpecific + 448
4 WebCore 0x0000000193aabfd8 RunWebThread(void*) + 468
5 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
6 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
7 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 4 name: JavaScriptCore::BlockFree
Thread 4:
0 libsystem_kernel.dylib 0x000000019708a394 __psynch_cvwait + 8
1 JavaScriptCore 0x000000018b1a6858 JSC::BlockAllocator::blockFreeingThreadMain() + 248
2 JavaScriptCore 0x000000018b1a2330 WTF::wtfThreadEntryPoint(void*) + 20
3 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
4 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
5 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 5 name: JavaScriptCore::Marking
Thread 5:
0 libsystem_kernel.dylib 0x000000019708a394 __psynch_cvwait + 8
1 JavaScriptCore 0x000000018b3ce514 JSC::GCThread::waitForNextPhase() + 104
2 JavaScriptCore 0x000000018b3ce5a8 JSC::GCThread::gcThreadMain() + 88
3 JavaScriptCore 0x000000018b1a2330 WTF::wtfThreadEntryPoint(void*) + 20
4 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
5 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
6 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 6:
0 libsystem_kernel.dylib 0x000000019708ae74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197109548 start_wqthread + 0
Thread 7:
0 libsystem_kernel.dylib 0x0000000197071ca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000189f7eb70 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000189f7cd00 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000189ebdc1c CFRunLoopRunSpecific + 448
4 libAVFAudio.dylib 0x0000000188d5d5ec GenericRunLoopThread::Entry(void*) + 156
5 libAVFAudio.dylib 0x0000000188d5201c CAPThread::Entry(CAPThread*) + 100
6 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
7 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 8:
0 libsystem_kernel.dylib 0x0000000197071ca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000189f7eb70 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000189f7cd00 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000189ebdc1c CFRunLoopRunSpecific + 448
4 CoreFoundation 0x0000000189f132a4 CFRunLoopRun + 108
5 CoreMotion 0x000000018a676538 0x18a638000 + 255288
6 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
7 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 9:
0 libsystem_kernel.dylib 0x000000019708ae74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197109548 start_wqthread + 0
My app works fine in three devices i have tested it (iPhone 4, iPhone5, and iPad), it doesn't crash and i can purchase In Apps without any problem. My app responds to network reachability, so i have tested it when device is in offline mode, Wi-Fi only and when reachability changes while user is purchasing the InApp's. I have read and tried to analyze these crash logs, i have also checked for memory leaks with Allocations and Leaks and for low memory warnings with Zombies in Xcode Instruments but i can't seem to find anything wrong with my code.
Can you please give me a little help about what should i do and where should i look more carefully?
Have you tried to test with a newly created sandbox account?
I'm looking for some advice or help diagnosing this crash that I am seeing. For the moment, I think it is probably a webkit bug, but anything is possible, so please provide any insight you may have:
Incident Identifier: AEB8EE37-E5D4-4975-97F4-2B2038AC225A
CrashReporter Key: 92349a05395ea832c40c49c9e48997c1d65a2371
Hardware Model: iPad3,3
Process: Touch [242]
Path: /var/mobile/Applications/4D2CAEEE-D0F8-4BB4-989A-F8623C877C78/Touch.app/Touch
Identifier: StayinFrontTouch
Version: 3.2.40 (3.2.40)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-04-30 15:26:46.137 +1200
OS Version: iOS 7.1.1 (11D201)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000258
Triggered by Thread: 2
Thread 0:
0 libsystem_kernel.dylib 0x3a2ffa58 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a2ff854 mach_msg + 44
2 CoreFoundation 0x2f06e896 __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2f06d002 __CFRunLoopRun + 850
4 CoreFoundation 0x2efd7f0a CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2efd7cee CFRunLoopRunInMode + 102
6 GraphicsServices 0x33f0a65e GSEventRunModal + 134
7 UIKit 0x31923168 UIApplicationMain + 1132
8 Touch 0x000c064a 0xbd000 + 13898
9 Touch 0x000bf854 0xbd000 + 10324
Thread 1:
0 libsystem_kernel.dylib 0x3a2ff808 kevent64 + 24
1 libdispatch.dylib 0x3a241078 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x3a240dfe _dispatch_mgr_thread$VARIANT$mp + 34
Thread 2 name: WebThread
Thread 2 Crashed:
0 WebCore 0x37584302 WebCore::SubresourceLoader::didReceiveResponse(WebCore::ResourceResponse const&) + 26
1 WebCore 0x377f751c WebCore::DocumentLoader::substituteResourceDeliveryTimerFired(WebCore::Timer*) + 212
2 WebCore 0x374ad3f4 WebCore::ThreadTimers::sharedTimerFiredInternal() + 132
3 WebCore 0x374ad346 WebCore::timerFired(__CFRunLoopTimer*, void*) + 22
4 CoreFoundation 0x2f06f1b4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 12
5 CoreFoundation 0x2f06edca __CFRunLoopDoTimer + 778
6 CoreFoundation 0x2f06d166 __CFRunLoopRun + 1206
7 CoreFoundation 0x2efd7f0a CFRunLoopRunSpecific + 518
8 CoreFoundation 0x2efd7cee CFRunLoopRunInMode + 102
9 WebCore 0x3753a116 RunWebThread(void*) + 414
10 libsystem_pthread.dylib 0x3a37b916 _pthread_body + 138
11 libsystem_pthread.dylib 0x3a37b886 _pthread_start + 98
12 libsystem_pthread.dylib 0x3a379aa0 thread_start + 4
Thread 3 name: com.apple.NSURLConnectionLoader
Thread 3:
0 libsystem_kernel.dylib 0x3a2ffa58 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a2ff854 mach_msg + 44
2 CoreFoundation 0x2f06e896 __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2f06cfbc __CFRunLoopRun + 780
4 CoreFoundation 0x2efd7f0a CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2efd7cee CFRunLoopRunInMode + 102
6 Foundation 0x2fa17082 +[NSURLConnection(Loader) _resourceLoadLoop:] + 314
7 Foundation 0x2fa8ca5a __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x3a37b916 _pthread_body + 138
9 libsystem_pthread.dylib 0x3a37b886 _pthread_start + 98
10 libsystem_pthread.dylib 0x3a379aa0 thread_start + 4
Thread 4:
0 libsystem_kernel.dylib 0x3a2ffa58 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a2ff854 mach_msg + 44
2 CoreFoundation 0x2f06e896 __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2f06cfbc __CFRunLoopRun + 780
4 CoreFoundation 0x2efd7f0a CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2efd7cee CFRunLoopRunInMode + 102
6 libAVFAudio.dylib 0x2e04f44c GenericRunLoopThread::Entry(void*) + 124
7 libAVFAudio.dylib 0x2e0437bc CAPThread::Entry(CAPThread*) + 176
8 libsystem_pthread.dylib 0x3a37b916 _pthread_body + 138
9 libsystem_pthread.dylib 0x3a37b886 _pthread_start + 98
10 libsystem_pthread.dylib 0x3a379aa0 thread_start + 4
Thread 5 name: JavaScriptCore::BlockFree
Thread 5:
0 libsystem_kernel.dylib 0x3a311f2c __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x3a37af22 _pthread_cond_wait + 518
2 libsystem_pthread.dylib 0x3a37bd60 pthread_cond_wait + 36
3 JavaScriptCore 0x30004ee4 JSC::BlockAllocator::blockFreeingThreadMain() + 204
4 JavaScriptCore 0x30002538 WTF::wtfThreadEntryPoint(void*) + 12
5 libsystem_pthread.dylib 0x3a37b916 _pthread_body + 138
6 libsystem_pthread.dylib 0x3a37b886 _pthread_start + 98
7 libsystem_pthread.dylib 0x3a379aa0 thread_start + 4
Thread 6 name: JavaScriptCore::Marking
Thread 6:
0 libsystem_kernel.dylib 0x3a311f2c __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x3a37af22 _pthread_cond_wait + 518
2 libsystem_pthread.dylib 0x3a37bd60 pthread_cond_wait + 36
3 JavaScriptCore 0x301a0406 JSC::GCThread::waitForNextPhase() + 74
4 JavaScriptCore 0x301a0460 JSC::GCThread::gcThreadMain() + 48
5 JavaScriptCore 0x30002538 WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_pthread.dylib 0x3a37b916 _pthread_body + 138
7 libsystem_pthread.dylib 0x3a37b886 _pthread_start + 98
8 libsystem_pthread.dylib 0x3a379aa0 thread_start + 4
Thread 7 name: WebCore: CFNetwork Loader
Thread 7:
0 libsystem_kernel.dylib 0x3a2ffa58 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a2ff854 mach_msg + 44
2 CoreFoundation 0x2f06e896 __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2f06cfbc __CFRunLoopRun + 780
4 CoreFoundation 0x2efd7f0a CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2efd7cee CFRunLoopRunInMode + 102
6 WebCore 0x37582b12 WebCore::runLoaderThread(void*) + 250
7 JavaScriptCore 0x30002538 WTF::wtfThreadEntryPoint(void*) + 12
8 libsystem_pthread.dylib 0x3a37b916 _pthread_body + 138
9 libsystem_pthread.dylib 0x3a37b886 _pthread_start + 98
10 libsystem_pthread.dylib 0x3a379aa0 thread_start + 4
Thread 8 name: com.apple.CFSocket.private
Thread 8:
0 libsystem_kernel.dylib 0x3a312434 __select + 20
1 CoreFoundation 0x2f072758 __CFSocketManager + 480
2 libsystem_pthread.dylib 0x3a37b916 _pthread_body + 138
3 libsystem_pthread.dylib 0x3a37b886 _pthread_start + 98
4 libsystem_pthread.dylib 0x3a379aa0 thread_start + 4
Thread 9 name: WebCore: LocalStorage
Thread 9:
0 libsystem_kernel.dylib 0x3a311f2c __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x3a37af22 _pthread_cond_wait + 518
2 libsystem_pthread.dylib 0x3a37bd60 pthread_cond_wait + 36
3 JavaScriptCore 0x30005012 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 58
4 WebCore 0x3766cf2c WTF::PassOwnPtr > WTF::MessageQueue >::waitForMessageFilteredWithTimeout*)>(WTF::MessageQueueWaitResult&, bool (&)(WTF::Function*), double) + 104
5 WebCore 0x3766ceb2 WebCore::StorageThread::threadEntryPoint() + 162
6 JavaScriptCore 0x30002538 WTF::wtfThreadEntryPoint(void*) + 12
7 libsystem_pthread.dylib 0x3a37b916 _pthread_body + 138
8 libsystem_pthread.dylib 0x3a37b886 _pthread_start + 98
9 libsystem_pthread.dylib 0x3a379aa0 thread_start + 4
Thread 10:
0 libsystem_kernel.dylib 0x3a312c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3a379bda _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3a379a94 start_wqthread + 4
Thread 11:
0 libsystem_kernel.dylib 0x3a312c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3a379bda _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3a379a94 start_wqthread + 4
Thread 12:
0 libsystem_kernel.dylib 0x3a312c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3a379bda _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3a379a94 start_wqthread + 4
Thread 13:
0 libsystem_kernel.dylib 0x3a312c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3a379bda _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3a379a94 start_wqthread + 4
Thread 14:
0 libsystem_kernel.dylib 0x3a312c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3a379bda _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3a379a94 start_wqthread + 4
Thread 15:
0 libsystem_kernel.dylib 0x3a312c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3a379bda _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3a379a94 start_wqthread + 4
Thread 2 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x04ee0238 r2: 0x375842e9 r3: 0x019cb6b8
r4: 0x0a916c00 r5: 0x04ee0238 r6: 0x0a916c00 r7: 0x01bbf028
r8: 0x0549ea00 r9: 0x00000002 r10: 0x0549e9c8 r11: 0x03bc3000
ip: 0x3a6c7838 sp: 0x01bbf014 lr: 0x377f751f pc: 0x37584302
cpsr: 0x20000030
Binary Images:
...
I did some further investigation into the stack trace and found the code for Subresourceloader here (https://webkit.googlesource.com/WebKit/+/master/Source/WebCore/loader/SubresourceLoader.cpp).
My guess is that m_resource is NULL at this point marked with (****) causing the crash:
void SubresourceLoader::didReceiveResponse(const ResourceResponse& response)
{
ASSERT(!response.isNull());
ASSERT(m_state == Initialized);
// Reference the object in this method since the additional processing can do
// anything including removing the last reference to this object; one example of this is 3266216.
Ref<SubresourceLoader> protect(*this);
if (m_resource->resourceToRevalidate()) { ****
if (response.httpStatusCode() == 304) {
// 304 Not modified / Use local copy
// Existing resource is ok, just use it updating the expiration time.
m_resource->setResponse(response);
memoryCache()->revalidationSucceeded(m_resource, response);
if (!reachedTerminalState())
ResourceLoader::didReceiveResponse(response);
return;
}
// Did not get 304 response, continue as a regular resource load.
memoryCache()->revalidationFailed(m_resource);
}
...
If it worked after a reinstall then you could try doing the URL request without caching, since I would assume that will give the same outcome:
NSURLRequest *request = [NSURLRequest requestWithURL:url cachePolicy:NSURLRequestReloadIgnoringLocalAndRemoteCacheData timeoutInterval:30];
[webView loadRequest:request];
I'm guessing something is going wrong with the caching of a resource.
I occasionally get a crash report which looks like to following:
Incident Identifier: 9E8A29CD-C473-41BE-9018-2DFEC530612B
CrashReporter Key: bee45cc2c49f3c1a0c3793b1a519a04012b8dffe
Hardware Model: iPad3,1
Process: dominicanorder [17420]
Path: /var/mobile/Applications/2154A91A-04D2-4F93-A116-DA276DEB6E90/dominicanorder.app/dominicanorder
Identifier: org.idoms.dominicanorder
Version: 232 (1.2.4)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-01-13 09:03:58.173 +0000
OS Version: iOS 7.0.4 (11B554a)
Report Version: 104
Exception Type: EXC_CRASH (SIGSEGV)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 1
Thread 0:
0 libobjc.A.dylib 0x382ec7f0 objc_release + 16
1 UIKit 0x30517a24 -[UIWebTouchEventsGestureRecognizer dealloc] + 44
2 libobjc.A.dylib 0x382fab06 objc_object::sidetable_release(bool) + 170
3 CoreFoundation 0x2dab1650 CFRelease + 552
4 CoreFoundation 0x2dab91dc -[__NSArrayI dealloc] + 60
5 libobjc.A.dylib 0x382fab06 objc_object::sidetable_release(bool) + 170
6 libobjc.A.dylib 0x382ec002 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 354
7 CoreFoundation 0x2dab497c _CFAutoreleasePoolPop + 12
8 UIKit 0x302ec248 _wrapRunLoopWithAutoreleasePoolHandler + 32
9 CoreFoundation 0x2db4c1ca __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
10 CoreFoundation 0x2db49b6c __CFRunLoopDoObservers + 280
11 CoreFoundation 0x2db49eae __CFRunLoopRun + 726
12 CoreFoundation 0x2dab4c22 CFRunLoopRunSpecific + 518
13 CoreFoundation 0x2dab4a06 CFRunLoopRunInMode + 102
14 GraphicsServices 0x327a827e GSEventRunModal + 134
15 UIKit 0x30358044 UIApplicationMain + 1132
16 dominicanorder 0x000d09ce 0xcc000 + 18894
17 dominicanorder 0x000d0984 0xcc000 + 18820
Thread 1 Crashed:
0 libsystem_kernel.dylib 0x3889b83c kevent64 + 24
1 libdispatch.dylib 0x387dc210 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x387dbf96 _dispatch_mgr_thread$VARIANT$mp + 34
Thread 2:
0 libsystem_kernel.dylib 0x388aec7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38914dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38914c80 start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x388aec7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38914dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38914c80 start_wqthread + 4
Thread 4:
0 libsystem_kernel.dylib 0x3889ba8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3889b888 mach_msg + 44
2 CoreFoundation 0x2db4b7be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2db49ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x2dab4c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2dab4a06 CFRunLoopRunInMode + 102
6 libAVFAudio.dylib 0x2cb37584 GenericRunLoopThread::Entry(void*) + 124
7 libAVFAudio.dylib 0x2cb2b99c CAPThread::Entry(CAPThread*) + 176
8 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
9 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
10 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 5 name: com.apple.coremedia.player.async
Thread 5:
0 libsystem_kernel.dylib 0x3889badc semaphore_wait_trap + 8
1 libdispatch.dylib 0x387da428 _dispatch_semaphore_wait_slow + 172
2 MediaToolbox 0x2efa083c fpa_AsyncMovieControlThread + 1752
3 CoreMedia 0x2e0df234 figThreadMain + 192
4 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
5 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
6 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 6:
0 libsystem_kernel.dylib 0x388aec7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38914dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38914c80 start_wqthread + 4
Thread 7:
0 libsystem_kernel.dylib 0x388aec7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38914dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38914c80 start_wqthread + 4
Thread 8:
0 libsystem_kernel.dylib 0x388aec7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38914dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38914c80 start_wqthread + 4
Thread 9:
0 libsystem_kernel.dylib 0x388aec7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38914dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38914c80 start_wqthread + 4
Thread 10 name: com.apple.NSURLConnectionLoader
Thread 10:
0 libsystem_kernel.dylib 0x3889ba8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3889b888 mach_msg + 44
2 CoreFoundation 0x2db4b7be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2db49ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x2dab4c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2dab4a06 CFRunLoopRunInMode + 102
6 Foundation 0x2e4ef2f2 +[NSURLConnection(Loader) _resourceLoadLoop:] + 314
7 Foundation 0x2e564c82 __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
9 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
10 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 11 name: com.apple.CFSocket.private
Thread 11:
0 libsystem_kernel.dylib 0x388ae440 select$DARWIN_EXTSN + 20
1 CoreFoundation 0x2db4f680 __CFSocketManager + 480
2 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
3 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
4 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 12 name: WebThread
Thread 12:
0 libsystem_kernel.dylib 0x388adf38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x38916224 _pthread_cond_wait + 536
2 libsystem_pthread.dylib 0x38917040 pthread_cond_timedwait + 40
3 WebCore 0x35cc0be2 SendDelegateMessage(NSInvocation*) + 690
4 WebCore 0x35c9895e WebRunLoopUnlockInternal(AutoreleasePoolOperation) + 162
5 CoreFoundation 0x2db4c1ca __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
6 CoreFoundation 0x2db49b6c __CFRunLoopDoObservers + 280
7 CoreFoundation 0x2dab4c44 CFRunLoopRunSpecific + 552
8 CoreFoundation 0x2dab4a06 CFRunLoopRunInMode + 102
9 WebCore 0x35c97266 RunWebThread(void*) + 414
10 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
11 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
12 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 13 name: JavaScriptCore::BlockFree
Thread 13:
0 libsystem_kernel.dylib 0x388adf38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x38916224 _pthread_cond_wait + 536
2 libsystem_pthread.dylib 0x38917040 pthread_cond_timedwait + 40
3 JavaScriptCore 0x2ead9eb0 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 104
4 JavaScriptCore 0x2ead9cdc JSC::BlockAllocator::blockFreeingThreadMain() + 88
5 JavaScriptCore 0x2ead73a0 WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
7 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
8 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 14 name: JavaScriptCore::Marking
Thread 14:
0 libsystem_kernel.dylib 0x388adf38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x38916224 _pthread_cond_wait + 536
2 libsystem_pthread.dylib 0x38917000 pthread_cond_wait + 36
3 JavaScriptCore 0x2ec75236 JSC::GCThread::waitForNextPhase() + 74
4 JavaScriptCore 0x2ec75290 JSC::GCThread::gcThreadMain() + 48
5 JavaScriptCore 0x2ead73a0 WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
7 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
8 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 15 name: WebCore: CFNetwork Loader
Thread 15:
0 libsystem_kernel.dylib 0x3889ba8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3889b888 mach_msg + 44
2 CoreFoundation 0x2db4b7be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2db49ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x2dab4c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2dab4a06 CFRunLoopRunInMode + 102
6 WebCore 0x35cdfd5a WebCore::runLoaderThread(void*) + 250
7 JavaScriptCore 0x2ead73a0 WTF::wtfThreadEntryPoint(void*) + 12
8 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
9 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
10 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 1 crashed with ARM Thread State (32-bit):
r0: 0x00000004 r1: 0x00000000 r2: 0x00000000 r3: 0x001b56f0
r4: 0x00000001 r5: 0x00000000 r6: 0x00000000 r7: 0x001b5760
r8: 0x3a748170 r9: 0x00000001 r10: 0x00000000 r11: 0x3a747f40
ip: 0x00000171 sp: 0x001b56d0 lr: 0x387dc215 pc: 0x3889b83c
cpsr: 0x60000010
What could cause this crash?
try to enable breakpoints to all see below
In this way you should be able to identify the bad instruction before sigabrt signal.
I hope this could help