Could someone please help me understand this crash report. I can't make head or tail of it.
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 8
Last Exception Backtrace:
0 CoreFoundation 0x2ec73fce __exceptionPreprocess + 126
1 libobjc.A.dylib 0x3983dcca objc_exception_throw + 34
2 CoreFoundation 0x2ec73ea8 +[NSException raise:format:arguments:] + 96
3 Foundation 0x2f620d56 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86
4 UIKit 0x314bce9a -[UIKeyboardTaskQueue waitUntilAllTasksAreFinished] + 166
5 UIKit 0x314cdaf4 -[UIKeyboardImpl prepareForSelectionChange] + 88
6 UIKit 0x314afe10 -[UIFieldEditor setAttributedText:andSetCaretSelectionAfterText:] + 52
7 UIKit 0x314cd77a -[UIFieldEditor setText:andSetCaretSelectionAfterText:] + 130
8 UIKit 0x314cd508 -[UITextField setText:] + 220
9 UIKit 0x316852c8 -[UISearchBar setText:] + 40
10 Farm Hand 0x0009b906 0x7000 + 608518
11 Foundation 0x2f65ca5a __NSThread__main__ + 1058
12 libsystem_pthread.dylib 0x39e69914 _pthread_body + 136
13 libsystem_pthread.dylib 0x39e69886 _pthread_start + 98
14 libsystem_pthread.dylib 0x39e67aa0 thread_start + 4
Thread 0:
0 libsystem_kernel.dylib 0x39deda58 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ded854 mach_msg + 44
2 CoreFoundation 0x2ec3e896 __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2ec3d002 __CFRunLoopRun + 850
4 CoreFoundation 0x2eba7f0a CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2eba7cee CFRunLoopRunInMode + 102
6 GraphicsServices 0x33acd65e GSEventRunModal + 134
7 UIKit 0x314f3168 UIApplicationMain + 1132
8 Farm Hand 0x0009de44 0x7000 + 618052
9 libdyld.dylib 0x39d4aab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x39ded808 kevent64 + 24
1 libdispatch.dylib 0x39d2f078 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x39d2edfe _dispatch_mgr_thread$VARIANT$mp + 34
Thread 2:
0 libsystem_kernel.dylib 0x39deda58 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ded854 mach_msg + 44
2 CoreFoundation 0x2ec3e896 __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2ec3cfbc __CFRunLoopRun + 780
4 CoreFoundation 0x2eba7f0a CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2ebeb9fe CFRunLoopRun + 94
6 CoreMotion 0x2f2653a8 ___lldb_unnamed_function1423$$CoreMotion + 724
7 libsystem_pthread.dylib 0x39e69916 _pthread_body + 138
8 libsystem_pthread.dylib 0x39e69886 _pthread_start + 98
9 libsystem_pthread.dylib 0x39e67aa0 thread_start + 4
Thread 3 name: com.apple.CFSocket.private
Thread 3:
0 libsystem_kernel.dylib 0x39e00434 __select + 20
1 CoreFoundation 0x2ec42758 __CFSocketManager + 480
2 libsystem_pthread.dylib 0x39e69916 _pthread_body + 138
3 libsystem_pthread.dylib 0x39e69886 _pthread_start + 98
4 libsystem_pthread.dylib 0x39e67aa0 thread_start + 4
Thread 4:
0 libsystem_kernel.dylib 0x39df11a8 kevent + 24
1 ExternalAccessory 0x2f58567a -[EAInputStream _readInputFromAccThread] + 382
2 Foundation 0x2f65ca5a __NSThread__main__ + 1058
3 libsystem_pthread.dylib 0x39e69916 _pthread_body + 138
4 libsystem_pthread.dylib 0x39e69886 _pthread_start + 98
5 libsystem_pthread.dylib 0x39e67aa0 thread_start + 4
Thread 5:
0 libsystem_kernel.dylib 0x39e00c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x39e67bda _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x39e67a94 start_wqthread + 4
Thread 6:
0 libsystem_kernel.dylib 0x39e00c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x39e67bda _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x39e67a94 start_wqthread + 4
Thread 7:
0 libsystem_kernel.dylib 0x39e00c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x39e67bda _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x39e67a94 start_wqthread + 4
Thread 8 Crashed:
0 libsystem_kernel.dylib 0x39e001f0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x39e6a792 pthread_kill + 54
2 libsystem_c.dylib 0x39db0fd8 abort + 72
3 libc++abi.dylib 0x390dfcd2 abort_message + 70
4 libc++abi.dylib 0x390f86e0 default_terminate_handler() + 248
5 libobjc.A.dylib 0x3983df62 _objc_terminate() + 190
6 libc++abi.dylib 0x390f61c4 std::__terminate(void (*)()) + 76
7 libc++abi.dylib 0x390f5a18 __cxa_throw + 112
8 libobjc.A.dylib 0x3983dd9e objc_exception_throw + 246
9 CoreFoundation 0x2ec73ea8 +[NSException raise:format:arguments:] + 96
10 Foundation 0x2f620d56 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86
11 UIKit 0x314bce9a -[UIKeyboardTaskQueue waitUntilAllTasksAreFinished] + 166
12 UIKit 0x314cdaf4 -[UIKeyboardImpl prepareForSelectionChange] + 88
13 UIKit 0x314afe10 -[UIFieldEditor setAttributedText:andSetCaretSelectionAfterText:] + 52
14 UIKit 0x314cd77a -[UIFieldEditor setText:andSetCaretSelectionAfterText:] + 130
15 UIKit 0x314cd508 -[UITextField setText:] + 220
16 UIKit 0x316852c8 -[UISearchBar setText:] + 40
17 Farm Hand 0x0009b908 0x7000 + 608520
18 Foundation 0x2f65ca5a __NSThread__main__ + 1058
19 libsystem_pthread.dylib 0x39e69916 _pthread_body + 138
20 libsystem_pthread.dylib 0x39e69886 _pthread_start + 98
21 libsystem_pthread.dylib 0x39e67aa0 thread_start + 4
Thread 8 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00002060
r4: 0x00000006 r5: 0x04d2f000 r6: 0x00000000 r7: 0x04d2dd14
r8: 0x1804a3c0 r9: 0x00000001 r10: 0x31ae10c8 r11: 0x00000000
ip: 0x00000148 sp: 0x04d2dd08 lr: 0x39e6a797 pc: 0x39e001f0
cpsr: 0x00000010
I'm using the ExternalAccessory framework which I've had problems with in the past and the App crashed whilst receiving data from a bluetooth connected external device. However, I can't tell if that was what caused the crash.
Thanks in advance.
The crash was caused by something that went wrong inside of:
[UIKeyboardTaskQueue waitUntilAllTasksAreFinished]
which was called in the process of executing:
[UISearchBar setText:]
So, it seems, you typed something in a search bar, and the app crashed.
Related
I tried to rectify the crash using the crash report under "Windows->Devices->View Device Logs", but the crash log is full of numbers. I tried Re-Symbolicate option, but there is no change. "Exceptional Codes" data is also missing in the report. I'm using single Mac System to run the project and view the crash reports.So there should not be any problem about symbolification Any other way to symbolicate ?
Identifier: com.company.app
Version: 2.1 (2.1)
Code Type: ARM (Native)
Parent Process: debugserver [227]
Date/Time: 2015-02-23 11:37:37.379 +0530
Launch Time: 2015-02-23 11:29:40.850 +0530
OS Version: iOS 8.1.2 (12B440)
Report Version: 105
Exception Type: EXC_RESOURCE
Exception Subtype: WAKEUPS
Exception Message: (Limit 150/sec) Observed 298/sec over 300 secs
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Attributed:
0 libsystem_kernel.dylib 0x39ec04f0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ec02e4 mach_msg + 36
2 IOKit 0x2cbfcb72 0x2cbbb000 + 269170
3 IOKit 0x2cbbfe1e 0x2cbbb000 + 19998
4 IOKit 0x2cbbffc2 0x2cbbb000 + 20418
5 IOAccelerator 0x33491646 0x33490000 + 5702
6 libGPUSupportMercury.dylib 0x329813b2 0x3297f000 + 9138
7 IMGSGX554GLDriver 0x2a61240e 0x2a60f000 + 13326
8 libglInterpose.dylib 0x007cfdea 0x695000 + 1289706
9 AppName 0x00195c72 0x98000 + 1039474
10 AppName 0x00172356 0x98000 + 893782
11 libglInterpose.dylib 0x0085317e 0x695000 + 1827198
12 QuartzCore 0x2ebcf7fe 0x2eb75000 + 370686
13 QuartzCore 0x2ebcf666 0x2eb75000 + 370278
14 IOMobileFramebuffer 0x3349b828 0x33496000 + 22568
15 IOKit 0x2cbbf4de 0x2cbbb000 + 17630
16 CoreFoundation 0x2bc4f0a2 0x2bb93000 + 770210
17 CoreFoundation 0x2bc5f570 0x2bb93000 + 836976
18 CoreFoundation 0x2bc5f50a 0x2bb93000 + 836874
19 CoreFoundation 0x2bc5db0c 0x2bb93000 + 830220
20 CoreFoundation 0x2bbab3bc CFRunLoopRunSpecific + 472
21 CoreFoundation 0x2bbab1ce CFRunLoopRunInMode + 102
22 GraphicsServices 0x32f8f0a4 0x32f86000 + 37028
23 UIKit 0x2f1baf9c 0x2f14d000 + 450460
24 AppName 0x0015f0c2 0x98000 + 815298
25 libdyld.dylib 0x39e0daac 0x39e0c000 + 6828
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x39ec02a0 kevent64 + 24
1 libdispatch.dylib 0x008ef674 0x8e1000 + 58996
2 libdispatch.dylib 0x008e4496 0x8e1000 + 13462
Thread 2 name: gputools.smt_poll.0x15588960
Thread 2:
0 libsystem_kernel.dylib 0x39ed419c __semwait_signal + 24
1 libsystem_c.dylib 0x39e33a6c nanosleep + 168
2 libsystem_c.dylib 0x39e339bc usleep + 48
3 GPUToolsCore 0x0092cff4 0x924000 + 36852
4 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
5 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
6 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 3 name: GAIThread
Thread 3:
0 libsystem_kernel.dylib 0x39ec04f0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ec02e4 mach_msg + 36
2 CoreFoundation 0x2bc5f316 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2bc5d8bc __CFRunLoopRun + 1012
4 CoreFoundation 0x2bbab3bc CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2bbab1ce CFRunLoopRunInMode + 102
6 Foundation 0x2c8e4bf8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 260
7 Foundation 0x2c9330b8 -[NSRunLoop(NSRunLoop) run] + 76
8 AppName 0x00218354 0x98000 + 1573716
9 Foundation 0x2c9a9b56 __NSThread__main__ + 1114
10 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
11 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
12 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 4 name: AVAudioSession Notify Thread
Thread 4:
0 libsystem_kernel.dylib 0x39ec04f0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ec02e4 mach_msg + 36
2 CoreFoundation 0x2bc5f316 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2bc5d8bc __CFRunLoopRun + 1012
4 CoreFoundation 0x2bbab3bc CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2bbab1ce CFRunLoopRunInMode + 102
6 libAVFAudio.dylib 0x2a8b53ea GenericRunLoopThread::Entry(void*) + 130
7 libAVFAudio.dylib 0x2a8a7908 CAPThread::Entry(CAPThread*) + 192
8 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
9 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
10 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 5 name: com.apple.coremedia.player.async
Thread 5:
0 libsystem_kernel.dylib 0x39ec0540 semaphore_wait_trap + 8
1 libdispatch.dylib 0x008edaaa 0x8e1000 + 51882
2 MediaToolbox 0x2d667ff6 fpa_AsyncMovieControlThread + 1962
3 CoreMedia 0x2c402d10 figThreadMain + 184
4 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
5 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
6 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 6 name: com.apple.coremedia.player.remote
Thread 6:
0 libsystem_kernel.dylib 0x39ec04f0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ec02e4 mach_msg + 36
2 MediaToolbox 0x2d66d0dc FigExpressNotificationThread + 84
3 CoreMedia 0x2c402d10 figThreadMain + 184
4 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
5 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
6 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x39ec04f0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ec02e4 mach_msg + 36
2 CoreFoundation 0x2bc5f316 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2bc5d8bc __CFRunLoopRun + 1012
4 CoreFoundation 0x2bbab3bc CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2bbf40e6 CFRunLoopRun + 94
6 CoreMotion 0x2c4aee9a 0x2c46f000 + 261786
7 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
8 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
9 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 8 name: com.apple.NSURLConnectionLoader
Thread 8:
0 libsystem_kernel.dylib 0x39ec04f0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ec02e4 mach_msg + 36
2 CoreFoundation 0x2bc5f316 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2bc5d8bc __CFRunLoopRun + 1012
4 CoreFoundation 0x2bbab3bc CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2bbab1ce CFRunLoopRunInMode + 102
6 CFNetwork 0x2b760952 +[NSURLConnection(Loader) _resourceLoadLoop:] + 482
7 Foundation 0x2c9a9b56 __NSThread__main__ + 1114
8 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
9 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
10 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 9 name: com.apple.CFSocket.private
Thread 9:
0 libsystem_kernel.dylib 0x39ed408c __select + 20
1 CoreFoundation 0x2bc63ae2 __CFSocketManager + 494
2 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
3 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
4 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 10:
0 libsystem_kernel.dylib 0x39ed49cc __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x39f4eea8 _pthread_wqthread + 788
2 libsystem_pthread.dylib 0x39f4eb80 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000003 r2: 0x000000dc r3: 0x000010bc
r4: 0x0000cf3b r5: 0x00000000 r6: 0x00000000 r7: 0x006745f8
r8: 0x00000000 r9: 0x00000000 r10: 0x00000003 r11: 0x00000003
ip: 0xffffffe1 sp: 0x006745bc lr: 0x39ec02e9 pc: 0x39ec04f0
cpsr: 0x00080010
Bad magic 0x2BBAB1D3
Microstackshots: 1 (from 2147483647-08-23 07:00:00 +0530 to 2147483647-08-23 07:00:00 +0530)
1 ??? [0x677868]
1 CoreFoundation 0x2bb93000 + 829633 [0x2bc5d8c1]
1 ??? [0x676bd0]
1 CoreFoundation 0x2bb93000 + 836379 [0x2bc5f31b]
1 ??? [0x676b90]
1 libsystem_kernel.dylib 0x39ebf000 + 4841 [0x39ec02e9]
1 ??? [0x676b54]
1 libsystem_kernel.dylib 0x39ebf000 + 5360 [0x39ec04f0]
*1 ??? [0x80012f3d]
Binary Images:
0x98000 - 0x2cffff AppName armv7 <f7d35a1c655d3510b2e82a4f84a1cec1> /var/mobile/Containers/Bundle/Application/0107CC0F-E58F-4410-99CF-342284A7BBC9/AppName.app/AppName
0x678000 - 0x67ffff libBacktraceRecording.dylib armv7s
You could integrate some api for crash report. use the fabric.io api.
Thanks
My iOS application crashed. In crash log I've found such info:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 9
Thread 9 Crashed:
0 libsystem_kernel.dylib 0x39189c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x391eec1f _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x391eead8 start_wqthread + 4
I have no idea how to interpret this. There are some additional actions happening in other thread but they looks ok. Any idea why thread which does nothing crashed?
Full crash report:
Incident Identifier: 10D06EC1-B25F-47C3-99B8-6940748ACB87
CrashReporter Key: 5b7280661b8ec1e78028ed23448f54ab51a78b2c
Hardware Model: iPad4,5
Process: MyApp [4949]
Path: /var/mobile/Applications/584B97BE-1555-4B03-A00D-9A563AA71E48/MyApp.app/MyApp
Identifier: com.me.myapp
Version: 2.0.0.1 (2.0.0.1)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-08-07 10:58:24.111 +0200
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 9
Thread 0:
0 libsystem_kernel.dylib 0x39176a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39176849 mach_msg + 37
2 CoreFoundation 0x2dfc55e5 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2dfc3d4b __CFRunLoopRun + 859
4 CoreFoundation 0x2df2e725 CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2df2e507 CFRunLoopRunInMode + 103
6 GraphicsServices 0x32e676cf GSEventRunModal + 135
7 UIKit 0x3088f86d UIApplicationMain + 1133
8 Myapp 0x00186623 main (main.m:20)
9 libdyld.dylib 0x390d2ab5 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x39176804 kevent64 + 24
1 libdispatch.dylib 0x390c5051 _dispatch_mgr_invoke + 229
2 libdispatch.dylib 0x390bf2df _dispatch_mgr_thread + 35
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x39176a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39176849 mach_msg + 37
2 CoreFoundation 0x2dfc55e5 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2dfc3d05 __CFRunLoopRun + 789
4 CoreFoundation 0x2df2e725 CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2df2e507 CFRunLoopRunInMode + 103
6 Foundation 0x2e96f23d +[NSURLConnection(Loader) _resourceLoadLoop:] + 317
7 Foundation 0x2e9e4a0b __NSThread__main__ + 1059
8 libsystem_pthread.dylib 0x391f0957 _pthread_body + 139
9 libsystem_pthread.dylib 0x391f08c7 _pthread_start + 99
10 libsystem_pthread.dylib 0x391eeae4 thread_start + 4
Thread 3 name: com.apple.CFSocket.private
Thread 3:
0 libsystem_kernel.dylib 0x39189434 __select + 20
1 CoreFoundation 0x2dfc94df __CFSocketManager + 483
2 libsystem_pthread.dylib 0x391f0957 _pthread_body + 139
3 libsystem_pthread.dylib 0x391f08c7 _pthread_start + 99
4 libsystem_pthread.dylib 0x391eeae4 thread_start + 4
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x39176a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39176849 mach_msg + 37
2 CoreFoundation 0x2dfc55e5 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2dfc3d05 __CFRunLoopRun + 789
4 CoreFoundation 0x2df2e725 CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2df2e507 CFRunLoopRunInMode + 103
6 WebCore 0x364ccc71 RunWebThread(void*) + 417
7 libsystem_pthread.dylib 0x391f0957 _pthread_body + 139
8 libsystem_pthread.dylib 0x391f08c7 _pthread_start + 99
9 libsystem_pthread.dylib 0x391eeae4 thread_start + 4
Thread 5 name: JavaScriptCore::BlockFree
Thread 5:
0 libsystem_kernel.dylib 0x39188f2c __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x391eff63 _pthread_cond_wait + 519
2 libsystem_pthread.dylib 0x391f0d9d pthread_cond_wait + 37
3 JavaScriptCore 0x2ef5d309 JSC::BlockAllocator::blockFreeingThreadMain() + 205
4 JavaScriptCore 0x2ef5a971 WTF::wtfThreadEntryPoint(void*) + 13
5 libsystem_pthread.dylib 0x391f0957 _pthread_body + 139
6 libsystem_pthread.dylib 0x391f08c7 _pthread_start + 99
7 libsystem_pthread.dylib 0x391eeae4 thread_start + 4
Thread 6 name: JavaScriptCore::Marking
Thread 6:
0 libsystem_kernel.dylib 0x39188f2c __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x391eff63 _pthread_cond_wait + 519
2 libsystem_pthread.dylib 0x391f0d9d pthread_cond_wait + 37
3 JavaScriptCore 0x2f0fbcb3 JSC::GCThread::waitForNextPhase() + 75
4 JavaScriptCore 0x2f0fbd0d JSC::GCThread::gcThreadMain() + 49
5 JavaScriptCore 0x2ef5a971 WTF::wtfThreadEntryPoint(void*) + 13
6 libsystem_pthread.dylib 0x391f0957 _pthread_body + 139
7 libsystem_pthread.dylib 0x391f08c7 _pthread_start + 99
8 libsystem_pthread.dylib 0x391eeae4 thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x39176a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39176849 mach_msg + 37
2 CoreFoundation 0x2dfc55e5 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2dfc3d05 __CFRunLoopRun + 789
4 CoreFoundation 0x2df2e725 CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2df72347 CFRunLoopRun + 95
6 CoreMotion 0x2e5ed4fd ___lldb_unnamed_function1426$$CoreMotion + 725
7 libsystem_pthread.dylib 0x391f0957 _pthread_body + 139
8 libsystem_pthread.dylib 0x391f08c7 _pthread_start + 99
9 libsystem_pthread.dylib 0x391eeae4 thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x39188744 __lseek + 8
1 Foundation 0x2e9aa02f -[NSConcreteFileHandle readDataOfLength:] + 119
2 MyApp 0x001549b1 -[MyClass myMethod:] (MyClass.m:425)
3 MyApp 0x001540d9 -[MyClass myMethod:] (MyClass.m:425)
4 MyApp 0x004b58d9 -[MyClass myMethod:] (MyClass.m:425)
5 MyApp 0x004b6bff -[MyClass myMethod:] (MyClass.m:425)
6 MyApp 0x004b88e1 -[MyClass myMethod:] (MyClass.m:425)
7 MyApp 0x004b0203 -[MyClass myMethod:] (MyClass.m:425)
8 CoreFoundation 0x2dffe410 __invoking___ + 64
9 CoreFoundation 0x2df48963 -[NSInvocation invoke] + 283
10 Foundation 0x2e9d1d05 -[NSInvocationOperation main] + 109
11 Foundation 0x2e92f871 -[__NSOperationInternal _start:] + 769
12 Foundation 0x2e9d3741 __NSOQSchedule_f + 57
13 libdispatch.dylib 0x390c2cb9 _dispatch_queue_drain + 485
14 libdispatch.dylib 0x390bfc6b _dispatch_queue_invoke + 39
15 libdispatch.dylib 0x390c35ef _dispatch_root_queue_drain + 75
16 libdispatch.dylib 0x390c38d9 _dispatch_worker_thread2 + 53
17 libsystem_pthread.dylib 0x391eec15 _pthread_wqthread + 297
18 libsystem_pthread.dylib 0x391eead8 start_wqthread + 4
Thread 9 Crashed:
0 libsystem_kernel.dylib 0x39189c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x391eec1f _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x391eead8 start_wqthread + 4
Thread 10:
0 libsystem_c.dylib 0x3911ff65 usleep$NOCANCEL + 1
1 libsystem_c.dylib 0x39139ffd abort + 81
2 libsystem_malloc.dylib 0x391b772d szone_error + 313
3 libsystem_malloc.dylib 0x391b79ef free_tiny_botch + 63
4 CoreFoundation 0x2e012bb4 __CFBasicHashRehash + 2884
5 CoreFoundation 0x2e01362c __CFBasicHashAddValue + 96
6 CoreFoundation 0x2df2d850 CFBasicHashAddValue + 3320
7 CoreData 0x2dd6d861 _PFFastMOCObjectWillChange + 217
8 CoreData 0x2dd6d66f _PF_ManagedObject_WillChangeValueForKeyIndex + 211
9 CoreData 0x2dd6d4ff _sharedIMPL_setvfk_core + 107
10 MyApp 0x0019dcaf -[MyClass myMethod:] (MyClass.m:425)
11 MyApp 0x0019ec49 -[MyClass myMethod:] (MyClass.m:425)
12 CoreFoundation 0x2dffe410 __invoking___ + 64
13 CoreFoundation 0x2df48963 -[NSInvocation invoke] + 283
14 Foundation 0x2e9d1d05 -[NSInvocationOperation main] + 109
15 Foundation 0x2e92f871 -[__NSOperationInternal _start:] + 769
16 Foundation 0x2e9d3741 __NSOQSchedule_f + 57
17 libdispatch.dylib 0x390c2cb9 _dispatch_queue_drain + 485
18 libdispatch.dylib 0x390bfc6b _dispatch_queue_invoke + 39
19 libdispatch.dylib 0x390c35ef _dispatch_root_queue_drain + 75
20 libdispatch.dylib 0x390c38d9 _dispatch_worker_thread2 + 53
21 libsystem_pthread.dylib 0x391eec15 _pthread_wqthread + 297
22 libsystem_pthread.dylib 0x391eead8 start_wqthread + 4
Thread 9 crashed with ARM Thread State (32-bit):
r0: 0x00000004 r1: 0x00000000 r2: 0x00000000 r3: 0x00000000
r4: 0x276ea000 r5: 0x00060001 r6: 0x00008983 r7: 0x276e9fe0
r8: 0x00000000 r9: 0xfffffffb r10: 0x00000000 r11: 0x00000000
ip: 0x00000170 sp: 0x276e9fc8 lr: 0x391eec23 pc: 0x39189c70
cpsr: 0x40000010
I am getting weird crash in my application running in iOS 7 but in iOS 6 app is working fine. I am performing some operations. After 5-6 operations are completed I am experiencing this crash. This number can go till 20 also or 1 also. Attaching crash log with this.
Incident Identifier: 6702CA20-9832-4305-B723-588C6B33C199
CrashReporter Key: 0370a1a51d424d34102c66389c6b00b12585aa57
Hardware Model: iPad2,5
Process: mobile [2958]
Path:
Identifier:
Version: 2.0.0.401
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-06-02 13:35:50.243 +0530
OS Version: iOS 7.0.6 (11B651)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0xef264ee9
Triggered by Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x3af9eb22 objc_msgSend + 2
1 UIFoundation 0x38384d5e -[NSParagraphStyle _deallocExtraData] + 54
2 UIFoundation 0x383858ca -[NSParagraphStyle dealloc] + 22
3 CoreFoundation 0x3073d650 CFRelease + 552
4 CoreFoundation 0x30749a1e -[__NSDictionaryM dealloc] + 130
5 libobjc.A.dylib 0x3afaeb06 objc_object::sidetable_release(bool) + 170
6 UIKit 0x3304be68 -[UILabel dealloc] + 116
7 UIKit 0x32f80402 -[UIView dealloc] + 362
8 UIKit 0x3305223a -[UIScrollView dealloc] + 830
9 UIKit 0x33051cb4 -[UIScrollView removeFromSuperview] + 60
10 UIKit 0x32f80402 -[UIView dealloc] + 362
11 UIKit 0x33199088 -[_UIModalItemContentView dealloc] + 116
12 UIKit 0x3323d432 -[_UIModalItemAlertContentView dealloc] + 70
13 libobjc.A.dylib 0x3afa0002 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 354
14 CoreFoundation 0x3074097c _CFAutoreleasePoolPop + 12
15 CoreFoundation 0x307d80dc __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 12
16 CoreFoundation 0x307d7cf2 __CFRunLoopDoTimer + 778
17 CoreFoundation 0x307d608e __CFRunLoopRun + 1206
18 CoreFoundation 0x30740c22 CFRunLoopRunSpecific + 518
19 CoreFoundation 0x30740a06 CFRunLoopRunInMode + 102
20 GraphicsServices 0x3543427e GSEventRunModal + 134
21 UIKit 0x32fe4044 UIApplicationMain + 1132
22 mobile 0x0005d2c2 main (main.m:15)
23 libdyld.dylib 0x3b4abab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x3b54f83c kevent64 + 24
1 libdispatch.dylib 0x3b490210 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x3b48ff96 _dispatch_mgr_thread$VARIANT$mp + 34
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x3b54fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b54f888 mach_msg + 44
2 CoreFoundation 0x307d77be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x307d5ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x30740c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x30740a06 CFRunLoopRunInMode + 102
6 WebCore 0x3894e266 RunWebThread(void*) + 414
7 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
8 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
9 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 3:
0 libsystem_kernel.dylib 0x3b54fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b54f888 mach_msg + 44
2 CoreFoundation 0x307d77be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x307d5ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x30740c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x30740a06 CFRunLoopRunInMode + 102
6 libAVFAudio.dylib 0x2f7c3584 GenericRunLoopThread::Entry(void*) + 124
7 libAVFAudio.dylib 0x2f7b799c CAPThread::Entry(CAPThread*) + 176
8 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
9 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
10 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x3b562440 __select + 20
1 CoreFoundation 0x307db680 __CFSocketManager + 480
2 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
3 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
4 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 5 name: GCDAsyncSocket-CFStream
Thread 5:
0 libsystem_kernel.dylib 0x3b54fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b54f888 mach_msg + 44
2 CoreFoundation 0x307d77be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x307d5ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x30740c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x30740a06 CFRunLoopRunInMode + 102
6 Foundation 0x3112e3d6 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250
7 Foundation 0x3117f30c -[NSRunLoop(NSRunLoop) run] + 76
8 mobile 0x000f6228 +[GCDAsyncSocket cfstreamThread] (GCDAsyncSocket.m:6741)
9 Foundation 0x311f0c82 __NSThread__main__ + 1058
10 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
11 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
12 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 6 name: com.apple.NSURLConnectionLoader
Thread 6:
0 libsystem_kernel.dylib 0x3b54fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b54f888 mach_msg + 44
2 CoreFoundation 0x307d77be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x307d5ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x30740c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x30740a06 CFRunLoopRunInMode + 102
6 Foundation 0x3117b2f2 +[NSURLConnection(Loader) _resourceLoadLoop:] + 314
7 Foundation 0x311f0c82 __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
9 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
10 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x3b54fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b54f888 mach_msg + 44
2 CoreFoundation 0x307d77be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x307d5ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x30740c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x30784736 CFRunLoopRun + 94
6 CoreMotion 0x30df7230 ___lldb_unnamed_function1404$$CoreMotion + 724
7 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
8 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
9 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x3b562c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3b5c8dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3b5c8c80 start_wqthread + 4
Thread 9:
0 libsystem_kernel.dylib 0x3b562c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3b5c8dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3b5c8c80 start_wqthread + 4
Thread 10:
0 libsystem_kernel.dylib 0x3b562c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3b5c8dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3b5c8c80 start_wqthread + 4
Thread 11:
0 libsystem_kernel.dylib 0x3b562440 __select + 20
1 ExternalAccessory 0x31119352 -[EAInputStream _readInputFromAccThread] + 342
2 Foundation 0x311f0c82 __NSThread__main__ + 1058
3 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
4 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
5 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 12:
0 libsystem_kernel.dylib 0x3b562c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3b5c8dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3b5c8c80 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0xef264ee9 r1: 0x33566b29 r2: 0x3cf673f0 r3: 0x00000001
r4: 0x160815a0 r5: 0x33566b29 r6: 0x0000002c r7: 0x27dc88ac
r8: 0x160815a4 r9: 0x158af438 r10: 0x14e8846c r11: 0x14e88430
ip: 0x3cf59864 sp: 0x27dc88a0 lr: 0x38384d63 pc: 0x3af9eb22
cpsr: 0x20000030
Your app crashes while a UILabel inside a UIScrollView inside an alert is deallocated. I'd suspect that either your app overwrites memory somewhere and this is just a symptom, or you are using some alert in a non-standard way, possibly changing a paragraph style somewhere in the alert in a way that's wrong.
First step would be to turn all reasonable warnings on in the compiler, use the static analyser to find problems, and fix all of them.
Hi my app rejected due to crash, but i can't reproduce the crash from my side. Apples send following crash log:
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x39146a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39146849 mach_msg + 37
2 CoreFoundation 0x2df99625 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2df97d8b __CFRunLoopRun + 859
4 CoreFoundation 0x2df02765 CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2df02547 CFRunLoopRunInMode + 103
6 GraphicsServices 0x32e396cf GSEventRunModal + 135
7 UIKit 0x3086188d UIApplicationMain + 1133
8 tiein 0x000df55f 0x7c000 + 406879
9 libdyld.dylib 0x390a2ab5 start + 1
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x39146804 kevent64 + 24
1 libdispatch.dylib 0x39095051 _dispatch_mgr_invoke + 229
2 libdispatch.dylib 0x3908f2df _dispatch_mgr_thread + 35
Thread 2:
0 libsystem_kernel.dylib 0x39146a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39146849 mach_msg + 37
2 CoreFoundation 0x2df99625 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2df97d45 __CFRunLoopRun + 789
4 CoreFoundation 0x2df02765 CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2df02547 CFRunLoopRunInMode + 103
6 Foundation 0x2e8f5493 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 251
7 Foundation 0x2e946255 -[NSRunLoop(NSRunLoop) run] + 77
8 tiein 0x00154241 0x7c000 + 885313
9 Foundation 0x2e9b7a0b __NSThread__main__ + 1059
10 libsystem_pthread.dylib 0x391c0957 _pthread_body + 139
11 libsystem_pthread.dylib 0x391c08c7 _pthread_start + 99
12 libsystem_pthread.dylib 0x391beae4 thread_start + 4
Thread 3:
0 libsystem_kernel.dylib 0x39159c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x391bec1f _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x391bead8 start_wqthread + 4
Thread 4:
0 libsystem_kernel.dylib 0x39159c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x391bec1f _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x391bead8 start_wqthread + 4
Thread 5 name: com.apple.NSURLConnectionLoader
Thread 5:
0 libsystem_kernel.dylib 0x39146a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39146849 mach_msg + 37
2 CoreFoundation 0x2df99625 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2df97d45 __CFRunLoopRun + 789
4 CoreFoundation 0x2df02765 CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2df02547 CFRunLoopRunInMode + 103
6 Foundation 0x2e94223d +[NSURLConnection(Loader) _resourceLoadLoop:] + 317
7 Foundation 0x2e9b7a0b __NSThread__main__ + 1059
8 libsystem_pthread.dylib 0x391c0957 _pthread_body + 139
9 libsystem_pthread.dylib 0x391c08c7 _pthread_start + 99
10 libsystem_pthread.dylib 0x391beae4 thread_start + 4
Thread 6 name: com.apple.CFSocket.private
Thread 6:
0 libsystem_kernel.dylib 0x39159434 __select + 20
1 CoreFoundation 0x2df9d51f __CFSocketManager + 483
2 libsystem_pthread.dylib 0x391c0957 _pthread_body + 139
3 libsystem_pthread.dylib 0x391c08c7 _pthread_start + 99
4 libsystem_pthread.dylib 0x391beae4 thread_start + 4
Thread 7 Crashed:
0 libsystem_kernel.dylib 0x391591f0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x391c17b3 pthread_kill + 55
2 libsystem_c.dylib 0x39109ff5 abort + 73
3 libc++abi.dylib 0x3855898b abort_message + 71
4 libc++abi.dylib 0x385716e3 default_terminate_handler() + 251
5 libobjc.A.dylib 0x38ba4f7b _objc_terminate() + 191
6 libc++abi.dylib 0x3856f1b1 std::__terminate(void (*)()) + 77
7 libc++abi.dylib 0x3856ea05 __cxa_throw + 113
8 libobjc.A.dylib 0x38ba4db7 objc_exception_throw + 247
9 CoreFoundation 0x2df0a1bb -[__NSDictionaryM setObject:forKey:] + 815
10 tiein 0x000f7901 0x7c000 + 506113
11 tiein 0x000eb7b3 0x7c000 + 456627
12 tiein 0x00102c59 0x7c000 + 552025
13 Foundation 0x2e9b7a0b __NSThread__main__ + 1059
14 libsystem_pthread.dylib 0x391c0957 _pthread_body + 139
15 libsystem_pthread.dylib 0x391c08c7 _pthread_start + 99
16 libsystem_pthread.dylib 0x391beae4 thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x39159c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x391bec1f _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x391bead8 start_wqthread + 4
Thread 7 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00002060
r4: 0x00000006 r5: 0x02559000 r6: 0x00000000 r7: 0x02557f54
r8: 0x14553fd0 r9: 0x00000001 r10: 0x146d7a80 r11: 0x146ebbb0
ip: 0x00000148 sp: 0x02557f48 lr: 0x391c17b7 pc: 0x391591f0
cpsr: 0x00000010
App crashes in login page, during login I am sending device token to server. If the token is nil it will crash(it might be a problem). But is any case arrives not getting the device token?
Can anyone help me understand a crash report? This is the first time I have ever had to deal with one since iOS App developing in 8 months.
I know it is something to do with dismissing a view controller that is causing it, but I have made no changes to the code regarding this but all of a sudden it is starting to cause problems. Any guidance on where to start would be amazing.
Date/Time: 2013-03-10 14:56:06.091 +0000
OS Version: iOS 6.1.2 (10B146)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x3afee5b6 objc_msgSend + 22
1 AVFoundation 0x3247f752 -[AVAudioPlayer(AVAudioPlayerPriv) finishedPlaying:] + 74
2 Foundation 0x33c700f0 __NSThreadPerformPerform + 456
3 CoreFoundation 0x3332e680 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
4 CoreFoundation 0x3332dee4 __CFRunLoopDoSources0 + 208
5 CoreFoundation 0x3332ccb2 __CFRunLoopRun + 642
6 CoreFoundation 0x3329feb8 CFRunLoopRunSpecific + 352
7 CoreFoundation 0x3329fd44 CFRunLoopRunInMode + 100
8 GraphicsServices 0x36e612e6 GSEventRunModal + 70
9 UIKit 0x351b52fc UIApplicationMain + 1116
10 iWhovian 0x000391fe main (main.m:15)
11 iWhovian 0x0002f56c start + 36
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x3b4e1648 kevent64 + 24
1 libdispatch.dylib 0x3b41a4ec _dispatch_mgr_invoke + 792
2 libdispatch.dylib 0x3b40cdf4 _dispatch_mgr_thread$VARIANT$up + 32
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x3b4e0eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b4e1048 mach_msg + 36
2 CoreFoundation 0x3332e040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x3332cd9e __CFRunLoopRun + 878
4 CoreFoundation 0x3329feb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3329fd44 CFRunLoopRunInMode + 100
6 WebCore 0x39294500 RunWebThread(void*) + 440
7 libsystem_c.dylib 0x3b44a30e _pthread_start + 306
8 libsystem_c.dylib 0x3b44a1d4 thread_start + 4
Thread 3:
0 libsystem_kernel.dylib 0x3b4f108c __psynch_cvwait + 24
1 libsystem_c.dylib 0x3b442d2a _pthread_cond_wait + 642
2 libsystem_c.dylib 0x3b44cf14 pthread_cond_wait + 36
3 Foundation 0x33bec4d2 -[NSCondition wait] + 190
4 iWhovian 0x0006ef90 -[PFCommandCache runLoop] (PFCommandCache.m:491)
5 Foundation 0x33c6fe80 __NSThread__main__ + 968
6 libsystem_c.dylib 0x3b44a30e _pthread_start + 306
7 libsystem_c.dylib 0x3b44a1d4 thread_start + 4
Thread 4 name: AQClient
Thread 4:
0 libsystem_kernel.dylib 0x3b4e0eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b4e1048 mach_msg + 36
2 CoreFoundation 0x3332e040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x3332cd9e __CFRunLoopRun + 878
4 CoreFoundation 0x3329feb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3329fd44 CFRunLoopRunInMode + 100
6 AudioToolbox 0x32d816fe GenericRunLoopThread::Entry(void*) + 134
7 AudioToolbox 0x32d62882 CAPThread::Entry(CAPThread*) + 294
8 libsystem_c.dylib 0x3b44a30e _pthread_start + 306
9 libsystem_c.dylib 0x3b44a1d4 thread_start + 4
Thread 5:
0 libsystem_kernel.dylib 0x3b4f1d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3b43fcf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3b43fa12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3b43f8a0 start_wqthread + 4
Thread 6 name: Dispatch queue: com.apple.NSXPCConnection.m-user.com.apple.gamed
Thread 6:
0 libobjc.A.dylib 0x3afee5b0 objc_msgSend + 16
1 CoreFoundation 0x332b0fdc -[__NSSetI member:] + 140
2 CoreFoundation 0x332b0f44 -[NSSet containsObject:] + 28
3 Foundation 0x33c08978 -[NSCoder _validateAllowedClass:forKey:allowingInvocations:] + 124
4 Foundation 0x33c08402 _decodeObjectStuff + 282
5 Foundation 0x33c08200 -[NSXPCDecoder decodeObjectOfClasses:forKey:] + 76
6 GameKit 0x33e2f8fa -[GKInternalRepresentation initWithCoder:] + 238
7 Foundation 0x33c086f2 _decodeObjectStuff + 1034
8 Foundation 0x33d1fda8 -[NSXPCDecoder _decodeArrayOfObjectsForKey:] + 532
9 Foundation 0x33bf4ebc -[NSArray(NSArray) initWithCoder:] + 784
10 Foundation 0x33c086f2 _decodeObjectStuff + 1034
11 Foundation 0x33c08200 -[NSXPCDecoder decodeObjectOfClasses:forKey:] + 76
12 GameKit 0x33e2f8fa -[GKInternalRepresentation initWithCoder:] + 238
13 Foundation 0x33c086f2 _decodeObjectStuff + 1034
14 Foundation 0x33c08200 -[NSXPCDecoder decodeObjectOfClasses:forKey:] + 76
15 Foundation 0x33c09fe8 _walkAndDecodeData + 1708
16 Foundation 0x33c0988c decodeInvocationArguments + 1368
17 Foundation 0x33c08fc8 -[NSXPCDecoder decodeInvocation] + 860
18 Foundation 0x33c08630 _decodeObjectStuff + 840
19 Foundation 0x33c08200 -[NSXPCDecoder decodeObjectOfClasses:forKey:] + 76
20 Foundation 0x33c07c04 -[NSXPCConnection _decodeAndInvokeReplyBlockWithData:] + 548
21 Foundation 0x33d1eedc __message_handler_block_invoke_0 + 32
22 libdispatch.dylib 0x3b40b11c _dispatch_call_block_and_release + 8
23 libdispatch.dylib 0x3b40a996 _dispatch_queue_drain$VARIANT$up + 142
24 libdispatch.dylib 0x3b40a890 _dispatch_queue_invoke$VARIANT$up + 32
25 libdispatch.dylib 0x3b419212 _dispatch_root_queue_drain + 190
26 libdispatch.dylib 0x3b4193b4 _dispatch_worker_thread2 + 80
27 libsystem_c.dylib 0x3b43fa0e _pthread_wqthread + 358
28 libsystem_c.dylib 0x3b43f8a0 start_wqthread + 4
Thread 7:
0 libsystem_kernel.dylib 0x3b4f1d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3b43fcf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3b43fa12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3b43f8a0 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x208a4ef0 r1: 0x38e042ae r2: 0x33f0ac6c r3: 0x00000008
r4: 0x20747372 r5: 0x2089ac70 r6: 0x33f0ac6c r7: 0x2fdd2df8
r8: 0x3b667530 r9: 0x0e3810ab r10: 0x00000000 r11: 0x1fd4dd90
ip: 0x3b5734ac sp: 0x2fdd2de0 lr: 0x3247f757 pc: 0x3afee5b6
cpsr: 0x20070030
I ran into this one a while ago. The problem can be fixed by setting the AVAudioPlayer instance's delegate to nil in your view controller's dealloc method. Unless you do this, the audio player tries to make one last call to its delegate to let it know that is is done playing. But if the delegate has been deallocated, you get this crash.
- (void)dealloc {
_myPlayer.delegate = nil; // _myPlayer is your AVAudioPlayer instance
[super dealloc]; // Only is you are not using ARC
}
You're most likely trying to access an object, that hast been deallocated. Have a look at
Debugging EXC_BAD_ACCESS Error in Xcode using Instruments (Archived)
to see how you can track it down.