Incident Identifier: B959CD08-FA2C-4A34-8D0C-343927FF6B86
CrashReporter Key: 78e6625f679cb4cfb76f553075c64a197002c1bf
Hardware Model: iPad3,1
Process: ktv [50343]
Path:
/var/mobile/Applications/B8971D06-6001-49F7-81E1-8B88CDA5EB03/ktv.app/ktv
Identifier: ktv
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-01-09 18:59:32.193 +0800
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x30da732c __pthread_kill + 8
1 libsystem_c.dylib 0x33338208 pthread_kill + 48
2 libsystem_c.dylib 0x33331298 abort + 88
3 libc++abi.dylib 0x377c1f64 abort_message + 40
4 libc++abi.dylib 0x377bf3ea _ZL19safe_handler_callerPFvvE +114
5 libc++abi.dylib 0x377bf44a std::terminate() + 14
6 libc++abi.dylib 0x377c081e __cxa_rethrow + 82
7 libobjc.A.dylib 0x334772a2 objc_exception_rethrow + 6
8 CoreFoundation 0x3809c506 CFRunLoopRunSpecific + 398
9 CoreFoundation 0x3809c366 CFRunLoopRunInMode + 98
10 GraphicsServices 0x3657f432 GSEventRunModal + 130
11 UIKit 0x30f4dcce UIApplicationMain + 1074
12 ktv 0x000af9b0 0xa6000 + 39344
13 ktv 0x000a86c0 0xa6000 + 9920
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x30d973a8 kevent + 24
1 libdispatch.dylib 0x34a71f04 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x34a71c22 _dispatch_mgr_thread + 30
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x30d97004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x30d971fa mach_msg + 50
2 CoreFoundation 0x3811a3ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x38119124 __CFRunLoopRun + 876
4 CoreFoundation 0x3809c49e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x3809c366 CFRunLoopRunInMode + 98
6 WebCore 0x31524c9c _ZL12RunWebThreadPv + 396
7 libsystem_c.dylib 0x332f972e _pthread_start + 314
8 libsystem_c.dylib 0x332f95e8 thread_start + 0
Thread 3 name: com.apple.NSURLConnectionLoader
Thread 3:
0 libsystem_kernel.dylib 0x30d97004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x30d971fa mach_msg + 50
2 CoreFoundation 0x3811a3ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x38119124 __CFRunLoopRun + 876
4 CoreFoundation 0x3809c49e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x3809c366 CFRunLoopRunInMode + 98
6 Foundation 0x372d7bb2 +[NSURLConnection(Loader)_resourceLoadLoop:] + 302
7 Foundation 0x372d7a7a -[NSThread main] + 66
8 Foundation 0x3736b58a __NSThread__main__ + 1042
9 libsystem_c.dylib 0x332f972e _pthread_start + 314
10 libsystem_c.dylib 0x332f95e8 thread_start + 0
Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x30da7570 __select + 20
1 CoreFoundation 0x3811e63a __CFSocketManager + 726
2 libsystem_c.dylib 0x332f972e _pthread_start + 314
3 libsystem_c.dylib 0x332f95e8 thread_start + 0
Thread 5:
0 libsystem_kernel.dylib 0x30d97004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x30d971fa mach_msg + 50
2 CoreFoundation 0x3811a3ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x38119124 __CFRunLoopRun + 876
4 CoreFoundation 0x3809c49e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x3809c366 CFRunLoopRunInMode + 98
6 ktv 0x0011683c 0xa6000 + 460860
7 Foundation 0x372d7a7a -[NSThread main] + 66
8 Foundation 0x3736b58a __NSThread__main__ + 1042
9 libsystem_c.dylib 0x332f972e _pthread_start + 314
10 libsystem_c.dylib 0x332f95e8 thread_start + 0
Thread 6:
0 libsystem_kernel.dylib 0x30da7628 __semwait_signal + 24
1 libsystem_c.dylib 0x332fdb1a nanosleep + 138
2 libsystem_c.dylib 0x33308608 sleep + 40
3 ktv 0x000b09fa 0xa6000 + 43514
4 Foundation 0x372d7a7a -[NSThread main] + 66
5 Foundation 0x3736b58a __NSThread__main__ + 1042
6 libsystem_c.dylib 0x332f972e _pthread_start + 314
7 libsystem_c.dylib 0x332f95e8 thread_start + 0
Thread 7 name: WebCore: CFNetwork Loader
Thread 7:
0 libsystem_kernel.dylib 0x30d97004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x30d971fa mach_msg + 50
2 CoreFoundation 0x3811a3ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x38119124 __CFRunLoopRun + 876
4 CoreFoundation 0x3809c49e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x3809c366 CFRunLoopRunInMode + 98
6 WebCore 0x3154e0d2 _ZN7WebCoreL15runLoaderThreadEPv + 122
7 libsystem_c.dylib 0x332f972e _pthread_start + 314
8 libsystem_c.dylib 0x332f95e8 thread_start + 0
Thread 8 name: com.apple.coremedia.player.async
Thread 8:
0 libsystem_kernel.dylib 0x30da7068 __psynch_cvwait + 24
1 libsystem_c.dylib 0x332f9a46 _pthread_cond_wait + 634
2 libsystem_c.dylib 0x332f97c2 pthread_cond_wait + 34
3 CoreMedia 0x35d3a868 FigSemaphoreWaitRelative + 268
4 MediaToolbox 0x329233e6 fpa_AsyncMovieControlThread + 22
5 CoreMedia 0x35d598b4 figThreadMain + 168
6 libsystem_c.dylib 0x332f972e _pthread_start + 314
7 libsystem_c.dylib 0x332f95e8 thread_start + 0
Thread 9:
0 libsystem_kernel.dylib 0x30da7cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x332f3f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x332f3cc8 start_wqthread + 0
Thread 10:
0 libsystem_kernel.dylib 0x30da7cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x332f3f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x332f3cc8 start_wqthread + 0
Thread 11:
0 libsystem_kernel.dylib 0x30da7cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x332f3f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x332f3cc8 start_wqthread + 0
Thread 12:
0 libsystem_kernel.dylib 0x30da7cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x332f3f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x332f3cc8 start_wqthread + 0
Thread 13:
0 libsystem_kernel.dylib 0x30da7cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x332f3f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x332f3cc8 start_wqthread + 0
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x00000006 r5: 0x3ec73d98 r6: 0x00000002 r7: 0x2fea4acc
r8: 0x2fea4870 r9: 0x00000000 r10: 0x0000000a r11:
0x00000009
ip: 0x00000148 sp: 0x2fea4ac0 lr: 0x3333820f pc:
0x30da732c
cpsr: 0x00080010
Binary Images:
0xa6000 - 0x264fff +ktv armv7
<071d076aba693352b8ae722bd01cace1>
/var/mobile/Applications/B8971D06-6001-49F7-81E1-8B88CDA5EB03/ktv.app/ktv
0x2eb000 - 0x2ebfff +MobileSubstrate.dylib armv6
<d8da1cc9b8ea37cfba03a60549cdac4c>
/Library/MobileSubstrate/MobileSubstrate.dylib
0x322000 - 0x323fff +SubstrateLoader.dylib armv6
<825b732151e6379b9cbec6e597a986fa>
/Library/Frameworks/CydiaSubstrate.framework/Libraries/SubstrateLoader.dylib
0x2fea5000 - 0x2fec6fff dyld armv7
<77eddfd654df393ba9c95ff01715fd08> /usr/lib/dyld
0x30625000 - 0x30625fff vecLib armv7
<a2cfe25e77aa36bfb4a30b2d0d2dd465>
/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
0x306ef000 - 0x306f6fff SpringBoardUI armv7
<84e082f96770383096a5b083841d3f59>
/System/Library/PrivateFrameworks/SpringBoardUI.framework/SpringBoardUI
0x306f7000 - 0x307cffff vImage armv7
<caf3648be2933384b6aa1ae7408ab4f0>
/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/vImage
0x30800000 - 0x3080afff libvMisc.dylib armv7
<e8248c797b9b363594bb652ddf7ce16d>
/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvMisc.dylib
0x3080d000 - 0x30842fff DataAccess armv7
<89fd0c22338b37538cf61803a0bca9e2>
/System/Library/PrivateFrameworks/DataAccess.framework/DataAccess
0x30882000 - 0x308dffff StoreServices armv7
<6ce256d3cf433e4aa1af8d696bf1f75d>
/System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
0x308e0000 - 0x30ba1fff libLAPACK.dylib armv7
<0e94e9a7e7a334649afaccae0f1215a2>
/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib
0x30bb3000 - 0x30bbbfff MobileWiFi armv7
<b76c3e9fb78234c392058250d4620e72>
/System/Library/PrivateFrameworks/MobileWiFi.framework/MobileWiFi
0x30bbe000 - 0x30be3fff OpenCL armv7
Does anyone know anything about this crash? That all the infomation here, I still dont know whats wrong about it. The important is that I found many crash contain this part, But it may caused many reasons.
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x30da732c __pthread_kill + 8
1 libsystem_c.dylib 0x33338208 pthread_kill + 48
2 libsystem_c.dylib 0x33331298 abort + 88
3 libc++abi.dylib 0x377c1f64 abort_message + 40
4 libc++abi.dylib 0x377bf3ea _ZL19safe_handler_callerPFvvE + 114
5 libc++abi.dylib 0x377bf44a std::terminate() + 14
6 libc++abi.dylib 0x377c081e __cxa_rethrow + 82
7 libobjc.A.dylib 0x334772a2 objc_exception_rethrow + 6
8 CoreFoundation 0x3809c506 CFRunLoopRunSpecific + 398
9 CoreFoundation 0x3809c366 CFRunLoopRunInMode + 98
10 GraphicsServices 0x3657f432 GSEventRunModal + 130
11 UIKit 0x30f4dcce UIApplicationMain + 1074
12 ktv 0x000af9b0 0xa6000 + 39344
13 ktv 0x000a86c0 0xa6000 + 9920
Can I understand that this part is not the really point where my app crashes?
It's not a crash, it's an abort due to an exception. It means that your application is passing bad data to a system routine and the routine is saying that it's bad and can't continue, so it's killing your app. The console should show something about what went wrong. One common exception that can occur is attempting to get the n + 1st object from an array with only n objects in it. (For example getting the 5th element of an NSArray when there are only 4 elements.) The console will have a message that says just that. So check the console to see what might have happened.
Solved !!
I have solved this issue :
replace below files files from your project file(if you have backup of your project):
pods
projectname.xcworkspace
podfile.lock, podfile
add pods in podfile if any pod missing and install pods
Build your project and run
Please get project backup in zip this will help to solve this error.
I had deleted my Main.storyboard and had replaced it with the storyboard from another project. My solution was to delete my project and recreate it.
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
I'm getting a really weird behavior, my app crashes almost only with the device (I did manage to reproduce the bug on the simulator, but only twice), and only when it is not running from Xcode.
What happens is, I can, sometimes, reproduce the bug by closing the app from the multitask, opening it again, locking the screen fast and unlocking the screen.
Also I get different errors sometimes.
Crash log 1:
Incident Identifier: F2997747-0068-4DA7-BDB8-734B786855E9
CrashReporter Key: 369354cb12966b72d136b40418726dd923de7aae
Hardware Model: iPhone5,1
Process: HomeAutomation [813]
Path: /var/mobile/Applications/6F99E387-2530-4433-8DB8-0B657C4F9742/HomeAutomation.app/HomeAutomation
Identifier: com.carbon306.HomeAutomation
Version: 1.0 (1.0)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-10-12 01:49:50.880 -0300
OS Version: iOS 7.0.2 (11A501)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x717ec19e
Triggered by Thread: 6
Thread 0:
0 libsystem_kernel.dylib 0x38610a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3861087c mach_msg + 36
2 CoreFoundation 0x2dd4355c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dd41cc2 __CFRunLoopRun + 858
4 CoreFoundation 0x2dcac53c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dcac31e CFRunLoopRunInMode + 102
6 GraphicsServices 0x329e32e6 GSEventRunModal + 134
7 UIKit 0x305631e0 UIApplicationMain + 1132
8 HomeAutomation 0x000dbca0 0xd6000 + 23712
9 libdyld.dylib 0x3856cab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x38610838 kevent64 + 24
1 libdispatch.dylib 0x3855f0d0 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x3855963e _dispatch_mgr_thread + 34
Thread 2:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 4:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 5 name: com.apple.NSURLConnectionLoader
Thread 5:
0 libsystem_kernel.dylib 0x38610a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3861087c mach_msg + 36
2 CoreFoundation 0x2dd4355c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dd41c7c __CFRunLoopRun + 788
4 CoreFoundation 0x2dcac53c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dcac31e CFRunLoopRunInMode + 102
6 Foundation 0x2e6e764c +[NSURLConnection(Loader) _resourceLoadLoop:] + 316
7 Foundation 0x2e75cdc2 __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x38689c5a _pthread_body + 138
9 libsystem_pthread.dylib 0x38689bca _pthread_start + 98
10 libsystem_pthread.dylib 0x38687ccc thread_start + 4
Thread 6 Crashed:
0 libobjc.A.dylib 0x3806eb66 objc_msgSend + 6
1 libdispatch.dylib 0x38558100 _dispatch_call_block_and_release + 8
2 libdispatch.dylib 0x3855d7e0 _dispatch_root_queue_drain + 220
3 libdispatch.dylib 0x3855d9cc _dispatch_worker_thread2 + 52
4 libsystem_pthread.dylib 0x38687dfc _pthread_wqthread + 296
5 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 7:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 8:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 9 name: com.apple.CFSocket.private
Thread 9:
0 libsystem_kernel.dylib 0x38623440 select$DARWIN_EXTSN + 20
1 CoreFoundation 0x2dd4745e __CFSocketManager + 482
2 libsystem_pthread.dylib 0x38689c5a _pthread_body + 138
3 libsystem_pthread.dylib 0x38689bca _pthread_start + 98
4 libsystem_pthread.dylib 0x38687ccc thread_start + 4
Thread 10:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 11:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 12:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 6 crashed with ARM Thread State (32-bit):
r0: 0x17ea6320 r1: 0x30b5f763 r2: 0x00000000 r3: 0x00000003
r4: 0x17d96b30 r5: 0x00000000 r6: 0x001c0840 r7: 0x02ac5f8c
r8: 0x00000001 r9: 0x717ec192 r10: 0x00000000 r11: 0x00000000
ip: 0x38b94224 sp: 0x02ac5f88 lr: 0x38558103 pc: 0x3806eb66
cpsr: 0x60000030
Crash log 2:
Incident Identifier: D605BD2A-6787-4534-8AB9-BC89A7DD9945
CrashReporter Key: 369354cb12966b72d136b40418726dd923de7aae
Hardware Model: iPhone5,1
Process: HomeAutomation [698]
Path: /var/mobile/Applications/6F99E387-2530-4433-8DB8-0B657C4F9742/HomeAutomation.app/HomeAutomation
Identifier: com.carbon306.HomeAutomation
Version: 1.0 (1.0)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-10-12 01:24:29.139 -0300
OS Version: iOS 7.0.2 (11A501)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 4
Last Exception Backtrace:
0 CoreFoundation 0x2dd78e86 __exceptionPreprocess + 126
1 libobjc.A.dylib 0x380736c2 objc_exception_throw + 34
2 CoreFoundation 0x2dd7c7b2 -[NSObject(NSObject) doesNotRecognizeSelector:] + 198
3 CoreFoundation 0x2dd7b0b2 ___forwarding___ + 702
4 CoreFoundation 0x2dcc9e94 __forwarding_prep_0___ + 20
5 libdispatch.dylib 0x385580fe _dispatch_call_block_and_release + 6
6 libdispatch.dylib 0x3855d7e0 _dispatch_root_queue_drain + 220
7 libdispatch.dylib 0x3855d9cc _dispatch_worker_thread2 + 52
8 libsystem_pthread.dylib 0x38687dfa _pthread_wqthread + 294
9 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 0:
0 libsystem_kernel.dylib 0x38610a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3861087c mach_msg + 36
2 CoreFoundation 0x2dd4355c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dd41cc2 __CFRunLoopRun + 858
4 CoreFoundation 0x2dcac53c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dcac31e CFRunLoopRunInMode + 102
6 GraphicsServices 0x329e32e6 GSEventRunModal + 134
7 UIKit 0x305631e0 UIApplicationMain + 1132
8 HomeAutomation 0x000e4d48 0xdf000 + 23880
9 libdyld.dylib 0x3856cab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x38610838 kevent64 + 24
1 libdispatch.dylib 0x3855f0d0 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x3855963e _dispatch_mgr_thread + 34
Thread 2:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 4 Crashed:
0 libsystem_kernel.dylib 0x386231fc __pthread_kill + 8
1 libsystem_pthread.dylib 0x3868aa4e pthread_kill + 54
2 libsystem_c.dylib 0x385d4028 abort + 72
3 libc++abi.dylib 0x37a2298a abort_message + 70
4 libc++abi.dylib 0x37a3b6e2 default_terminate_handler() + 250
5 libobjc.A.dylib 0x38073936 _objc_terminate() + 190
6 libc++abi.dylib 0x37a391b0 std::__terminate(void (*)()) + 76
7 libc++abi.dylib 0x37a38a04 __cxa_throw + 112
8 libobjc.A.dylib 0x38073796 objc_exception_throw + 246
9 CoreFoundation 0x2dd7c7b2 -[NSObject(NSObject) doesNotRecognizeSelector:] + 198
10 CoreFoundation 0x2dd7b0b2 ___forwarding___ + 702
11 CoreFoundation 0x2dcc9e94 __forwarding_prep_0___ + 20
12 libdispatch.dylib 0x38558100 _dispatch_call_block_and_release + 8
13 libdispatch.dylib 0x3855d7e0 _dispatch_root_queue_drain + 220
14 libdispatch.dylib 0x3855d9cc _dispatch_worker_thread2 + 52
15 libsystem_pthread.dylib 0x38687dfc _pthread_wqthread + 296
16 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 5:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 6 name: com.apple.NSURLConnectionLoader
Thread 6:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687c98 pthread_workqueue_addthreads_np + 40
2 libdispatch.dylib 0x3855d46c _dispatch_queue_wakeup_global_slow + 52
3 libdispatch.dylib 0x3855c5a6 _dispatch_wakeup + 122
4 libdispatch.dylib 0x3855cbe8 _dispatch_queue_push_list_slow2 + 16
5 libdispatch.dylib 0x3855c5a6 _dispatch_wakeup + 122
6 libdispatch.dylib 0x3855cbe8 _dispatch_queue_push_list_slow2 + 16
7 libdispatch.dylib 0x3855f432 _dispatch_mach_msg_send + 518
8 libdispatch.dylib 0x3855a12e dispatch_mach_send + 166
9 libxpc.dylib 0x386948d2 xpc_connection_send_message + 46
10 libsystem_network.dylib 0x3866384a __net_helper_send_block_invoke + 62
11 libdispatch.dylib 0x3855c8f6 _dispatch_barrier_sync_f_invoke + 22
12 libsystem_network.dylib 0x38661c64 net_helper_send + 164
13 libsystem_network.dylib 0x38661b4c net_helper_client_cancel + 76
14 libsystem_network.dylib 0x3865f384 __tcp_connection_cancel_block_invoke + 156
15 libdispatch.dylib 0x385580ec _dispatch_client_callout + 20
16 libdispatch.dylib 0x3855c8f6 _dispatch_barrier_sync_f_invoke + 22
17 libsystem_network.dylib 0x3865f2da tcp_connection_cancel + 102
18 CFNetwork 0x2d972ab4 SocketStream::close(void const*) + 312
19 CFNetwork 0x2d97294e CoreStreamBase::_streamInterface_Close() + 46
20 CFNetwork 0x2d991286 HTTPReadFilter::_streamImpl_Close() + 66
21 CFNetwork 0x2d97294e CoreStreamBase::_streamInterface_Close() + 46
22 CFNetwork 0x2d9911c6 NetConnection::shutdownConnectionStreams() + 98
23 CFNetwork 0x2d9c51b4 NetConnection::errorOccurred(CFStreamError*) + 56
24 CFNetwork 0x2d988b0a HTTPNetConnection::responseStreamCallback(void*, __CoreReadStream*, unsigned long) + 282
25 CFNetwork 0x2d9889d2 NetConnection::connectionResponse(__CoreReadStream*, unsigned long) + 114
26 CFNetwork 0x2d96cb20 CoreReadStreamClient::coreStreamEventsAvailable(unsigned long) + 32
27 CFNetwork 0x2da131f0 CoreStreamBase::_callClientNow(CoreStreamClient*) + 40
28 CFNetwork 0x2d96c8c2 CoreStreamBase::_streamSetEventAndScheduleDelivery(unsigned long, unsigned char) + 118
29 CFNetwork 0x2d96c76e CoreStreamBase::_streamInterface_SignalEvent(unsigned long, CFStreamError const*) + 30
30 CFNetwork 0x2d9878ca HTTPReadFilter::socketReadStreamCallback(unsigned long) + 342
31 CFNetwork 0x2d987762 HTTPReadFilter::_httpRdFilterStreamCallBack(__CoreReadStream*, unsigned long, void*) + 78
32 CFNetwork 0x2d96cb20 CoreReadStreamClient::coreStreamEventsAvailable(unsigned long) + 32
33 CFNetwork 0x2da131f0 CoreStreamBase::_callClientNow(CoreStreamClient*) + 40
34 CFNetwork 0x2d96c8c2 CoreStreamBase::_streamSetEventAndScheduleDelivery(unsigned long, unsigned char) + 118
35 CFNetwork 0x2d96c76e CoreStreamBase::_streamInterface_SignalEvent(unsigned long, CFStreamError const*) + 30
36 CFNetwork 0x2d96c70a SocketStream::dispatchSignalFromSocketCallbackUnlocked(SocketStreamSignalHolder*) + 50
37 CFNetwork 0x2d96c1ae SocketStream::socketCallback(__CFSocket*, unsigned long, __CFData const*, void const*) + 138
38 CFNetwork 0x2d96c0ea SocketStream::_SocketCallBack_stream(__CFSocket*, unsigned long, __CFData const*, void const*, void*) + 54
39 CoreFoundation 0x2dd46102 __CFSocketPerformV0 + 578
40 CoreFoundation 0x2dd43f24 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
41 CoreFoundation 0x2dd433ea __CFRunLoopDoSources0 + 202
42 CoreFoundation 0x2dd41bda __CFRunLoopRun + 626
43 CoreFoundation 0x2dcac53c CFRunLoopRunSpecific + 520
44 CoreFoundation 0x2dcac31e CFRunLoopRunInMode + 102
45 Foundation 0x2e6e764c +[NSURLConnection(Loader) _resourceLoadLoop:] + 316
46 Foundation 0x2e75cdc2 __NSThread__main__ + 1058
47 libsystem_pthread.dylib 0x38689c5a _pthread_body + 138
48 libsystem_pthread.dylib 0x38689bca _pthread_start + 98
49 libsystem_pthread.dylib 0x38687ccc thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 8 name: com.apple.CFSocket.private
Thread 8:
0 libsystem_kernel.dylib 0x38623440 select$DARWIN_EXTSN + 20
1 CoreFoundation 0x2dd4745e __CFSocketManager + 482
2 libsystem_pthread.dylib 0x38689c5a _pthread_body + 138
3 libsystem_pthread.dylib 0x38689bca _pthread_start + 98
4 libsystem_pthread.dylib 0x38687ccc thread_start + 4
Thread 4 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00002060
r4: 0x00000006 r5: 0x02826000 r6: 0x00000000 r7: 0x02825174
r8: 0x17ddfae0 r9: 0x00000001 r10: 0x30b5f763 r11: 0x00000000
ip: 0x00000148 sp: 0x02825168 lr: 0x3868aa53 pc: 0x386231fc
cpsr: 0x00000010
Crash log 3:
Incident Identifier: 09CD02C2-162E-40FB-8AA5-2F098D833D1C
CrashReporter Key: 369354cb12966b72d136b40418726dd923de7aae
Hardware Model: iPhone5,1
Process: HomeAutomation [679]
Path: /var/mobile/Applications/6F99E387-2530-4433-8DB8-0B657C4F9742/HomeAutomation.app/HomeAutomation
Identifier: com.carbon306.HomeAutomation
Version: 1.0 (1.0)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-10-12 01:18:19.932 -0300
OS Version: iOS 7.0.2 (11A501)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x73746564
Triggered by Thread: 5
Thread 0:
0 libsystem_kernel.dylib 0x38610a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3861087c mach_msg + 36
2 CoreFoundation 0x2dd4355c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dd41cc2 __CFRunLoopRun + 858
4 CoreFoundation 0x2dcac53c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dcac31e CFRunLoopRunInMode + 102
6 GraphicsServices 0x329e32e6 GSEventRunModal + 134
7 UIKit 0x305631e0 UIApplicationMain + 1132
8 HomeAutomation 0x00073d48 main (main.m:16)
9 libdyld.dylib 0x3856cab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x38610838 kevent64 + 24
1 libdispatch.dylib 0x3855f0d0 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x3855963e _dispatch_mgr_thread + 34
Thread 2:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 4:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 5 Crashed:
0 libobjc.A.dylib 0x3807677a lookUpImpOrForward + 46
1 libobjc.A.dylib 0x3806f026 _class_lookupMethodAndLoadCache3 + 30
2 libobjc.A.dylib 0x3806edf6 _objc_msgSend_uncached + 22
3 libdispatch.dylib 0x38558100 _dispatch_call_block_and_release + 8
4 libdispatch.dylib 0x3855d7e0 _dispatch_root_queue_drain + 220
5 libdispatch.dylib 0x3855d9cc _dispatch_worker_thread2 + 52
6 libsystem_pthread.dylib 0x38687dfc _pthread_wqthread + 296
7 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 6 name: com.apple.NSURLConnectionLoader
Thread 6:
0 libsystem_kernel.dylib 0x38610a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3861087c mach_msg + 36
2 CoreFoundation 0x2dd4355c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dd41c7c __CFRunLoopRun + 788
4 CoreFoundation 0x2dcac53c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dcac31e CFRunLoopRunInMode + 102
6 Foundation 0x2e6e764c +[NSURLConnection(Loader) _resourceLoadLoop:] + 316
7 Foundation 0x2e75cdc2 __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x38689c5a _pthread_body + 138
9 libsystem_pthread.dylib 0x38689bca _pthread_start + 98
10 libsystem_pthread.dylib 0x38687ccc thread_start + 4
Thread 7 name: com.apple.CFSocket.private
Thread 7:
0 libsystem_kernel.dylib 0x38623440 select$DARWIN_EXTSN + 20
1 CoreFoundation 0x2dd4745e __CFSocketManager + 482
2 libsystem_pthread.dylib 0x38689c5a _pthread_body + 138
3 libsystem_pthread.dylib 0x38689bca _pthread_start + 98
4 libsystem_pthread.dylib 0x38687ccc thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 5 crashed with ARM Thread State (32-bit):
r0: 0x73746564 r1: 0x30b5f763 r2: 0x17e3b980 r3: 0x00000001
r4: 0x30b5f763 r5: 0x30b40a4f r6: 0x00140c40 r7: 0x02837f54
r8: 0x00000000 r9: 0x00000001 r10: 0x00000001 r11: 0x00000000
ip: 0x3806f009 sp: 0x02837f30 lr: 0x3806f02b pc: 0x3807677a
cpsr: 0x80000030
Crash log 4:
Incident Identifier: B9DCE622-A962-4C0F-8653-E0B6EECFCC66
CrashReporter Key: 369354cb12966b72d136b40418726dd923de7aae
Hardware Model: iPhone5,1
Process: HomeAutomation [598]
Path: /var/mobile/Applications/6F99E387-2530-4433-8DB8-0B657C4F9742/HomeAutomation.app/HomeAutomation
Identifier: com.carbon306.HomeAutomation
Version: 1.0 (1.0)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-10-12 00:57:58.928 -0300
OS Version: iOS 7.0.2 (11A501)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 4
Last Exception Backtrace:
0 CoreFoundation 0x2dd78e86 __exceptionPreprocess + 126
1 libobjc.A.dylib 0x380736c2 objc_exception_throw + 34
2 CoreFoundation 0x2dd7c7b2 -[NSObject(NSObject) doesNotRecognizeSelector:] + 198
3 CoreFoundation 0x2dd7b0b2 ___forwarding___ + 702
4 CoreFoundation 0x2dcc9e94 __forwarding_prep_0___ + 20
5 libdispatch.dylib 0x385580fe _dispatch_call_block_and_release + 6
6 libdispatch.dylib 0x3855d7e0 _dispatch_root_queue_drain + 220
7 libdispatch.dylib 0x3855d9cc _dispatch_worker_thread2 + 52
8 libsystem_pthread.dylib 0x38687dfa _pthread_wqthread + 294
9 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 0:
0 libsystem_kernel.dylib 0x38610a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3861087c mach_msg + 36
2 CoreFoundation 0x2dd4355c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dd41cc2 __CFRunLoopRun + 858
4 CoreFoundation 0x2dcac53c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dcac31e CFRunLoopRunInMode + 102
6 GraphicsServices 0x329e32e6 GSEventRunModal + 134
7 UIKit 0x305631e0 UIApplicationMain + 1132
8 HomeAutomation 0x00019ca0 main (main.m:16)
9 libdyld.dylib 0x3856cab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x38610838 kevent64 + 24
1 libdispatch.dylib 0x3855f0d0 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x3855963e _dispatch_mgr_thread + 34
Thread 2:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 4 Crashed:
0 libsystem_kernel.dylib 0x386231fc __pthread_kill + 8
1 libsystem_pthread.dylib 0x3868aa4e pthread_kill + 54
2 libsystem_c.dylib 0x385d4028 abort + 72
3 libc++abi.dylib 0x37a2298a abort_message + 70
4 libc++abi.dylib 0x37a3b6e2 default_terminate_handler() + 250
5 libobjc.A.dylib 0x38073936 _objc_terminate() + 190
6 libc++abi.dylib 0x37a391b0 std::__terminate(void (*)()) + 76
7 libc++abi.dylib 0x37a38a04 __cxa_throw + 112
8 libobjc.A.dylib 0x38073796 objc_exception_throw + 246
9 CoreFoundation 0x2dd7c7b2 -[NSObject(NSObject) doesNotRecognizeSelector:] + 198
10 CoreFoundation 0x2dd7b0b2 ___forwarding___ + 702
11 CoreFoundation 0x2dcc9e94 __forwarding_prep_0___ + 20
12 libdispatch.dylib 0x38558100 _dispatch_call_block_and_release + 8
13 libdispatch.dylib 0x3855d7e0 _dispatch_root_queue_drain + 220
14 libdispatch.dylib 0x3855d9cc _dispatch_worker_thread2 + 52
15 libsystem_pthread.dylib 0x38687dfc _pthread_wqthread + 296
16 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 5:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 6:
0 libsystem_kernel.dylib 0x38623c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38687e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38687cc0 start_wqthread + 4
Thread 7 name: com.apple.NSURLConnectionLoader
Thread 7:
0 libsystem_kernel.dylib 0x38610a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3861087c mach_msg + 36
2 CoreFoundation 0x2dd4355c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dd41c7c __CFRunLoopRun + 788
4 CoreFoundation 0x2dcac53c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dcac31e CFRunLoopRunInMode + 102
6 Foundation 0x2e6e764c +[NSURLConnection(Loader) _resourceLoadLoop:] + 316
7 Foundation 0x2e75cdc2 __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x38689c5a _pthread_body + 138
9 libsystem_pthread.dylib 0x38689bca _pthread_start + 98
10 libsystem_pthread.dylib 0x38687ccc thread_start + 4
Thread 8 name: com.apple.CFSocket.private
Thread 8:
0 libsystem_kernel.dylib 0x38623440 select$DARWIN_EXTSN + 20
1 CoreFoundation 0x2dd4745e __CFSocketManager + 482
2 libsystem_pthread.dylib 0x38689c5a _pthread_body + 138
3 libsystem_pthread.dylib 0x38689bca _pthread_start + 98
4 libsystem_pthread.dylib 0x38687ccc thread_start + 4
Thread 4 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00002060
r4: 0x00000006 r5: 0x0275c000 r6: 0x00000000 r7: 0x0275b174
r8: 0x165970a0 r9: 0x00000001 r10: 0x30b5f763 r11: 0x00000000
ip: 0x00000148 sp: 0x0275b168 lr: 0x3868aa53 pc: 0x386231fc
cpsr: 0x00000010
Also I think it has something to do with this method:
- [UIManagedDocument openWithCompletionHandler:]
because if I comment out this line (used to open the document when document.documentState == UIDocumentStateClosed), the crash stops.
Just to make it easier, that UIManagedDocument Singleton Code openWithCompletionHandler called twice and crashes is not the problem, because - [UIManagedDocument openWithCompletionHandler:] is not being called twice.
Also, just to be sure, I did try that solution, and didn't change anything.
I'm sorry for the amount of information, but I did try to write here only the most relevant ones, also only one of each type of error that I found.
Thanks for the help.
Below links explains how to symbolicate the crash logs. it sounds useful.
from apples documentation :
https://developer.apple.com/library/ios/technotes/tn2151/_index.html
from raywanderlitch's explanation :
http://www.raywenderlich.com/23704/demystifying-ios-application-crash-logs
Incident Identifier: 236B9D70-0A5E-49B4-8A60-797CC9FEFF2B
CrashReporter Key: 38c652a88ce03779805e96d5c4e36f9df820deba
Hardware Model: xxx
Process: LuckyOne [3493]
Path: /var/mobile/Applications/7878C92C-5629-4163-AA84-B1D1C6676D2A/LuckyOne.app/LuckyOne
Identifier: LuckyOne
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-06-26 15:24:11.148 -0700
OS Version: iOS 6.1.3 (10B329)
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000000000defe
Crashed Thread: 1
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x3a436e30 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a436fd0 mach_msg + 48
2 CoreFoundation 0x3208e2b6 __CFRunLoopServiceMachPort + 126
3 CoreFoundation 0x3208cfd6 __CFRunLoopRun + 814
4 CoreFoundation 0x32000238 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x320000c4 CFRunLoopRunInMode + 100
6 GraphicsServices 0x35bbb336 GSEventRunModal + 70
7 UIKit 0x33f1c2b4 UIApplicationMain + 1116
8 LuckyOne 0x0003e42e 0x3c000 + 9262
9 LuckyOne 0x0003e3e4 0x3c000 + 9188
Thread 1 name: Dispatch queue: com.apple.root.default-priority
Thread 1 Crashed:
0 CoreFoundation 0x31ffa68a CFRelease + 18
1 LuckyOne 0x00040830 0x3c000 + 18480
2 LuckyOne 0x0004036e 0x3c000 + 17262
3 AddressBook 0x318618d0 __37-[ABTCC accessRequestWithCompletion:]_block_invoke_0 + 24
4 TCC 0x3776455e __TCCAccessRequest_block_invoke_038 + 314
5 libxpc.dylib 0x3a4877a6 _xpc_connection_call_reply + 22
6 libdispatch.dylib 0x3a371652 _dispatch_root_queue_drain + 274
7 libdispatch.dylib 0x3a3717d4 _dispatch_worker_thread2 + 88
8 libsystem_c.dylib 0x3a3957ee _pthread_wqthread + 358
9 libsystem_c.dylib 0x3a395680 start_wqthread + 4
Thread 2 name: Dispatch queue: com.apple.libdispatch-manager
Thread 2:
0 libsystem_kernel.dylib 0x3a4375d0 kevent64 + 24
1 libdispatch.dylib 0x3a372d22 _dispatch_mgr_invoke + 806
2 libdispatch.dylib 0x3a36e374 _dispatch_mgr_thread + 32
Thread 3:
0 libsystem_kernel.dylib 0x3a447d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3a395ad6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3a3957f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3a395680 start_wqthread + 4
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x3a436e30 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a436fd0 mach_msg + 48
2 CoreFoundation 0x3208e2b6 __CFRunLoopServiceMachPort + 126
3 CoreFoundation 0x3208d02c __CFRunLoopRun + 900
4 CoreFoundation 0x32000238 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x320000c4 CFRunLoopRunInMode + 100
6 WebCore 0x37fe4390 RunWebThread(void*) + 440
7 libsystem_c.dylib 0x3a3a00de _pthread_start + 306
8 libsystem_c.dylib 0x3a39ffa4 thread_start + 4
Thread 5:
0 libsystem_kernel.dylib 0x3a447d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3a395ad6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3a3957f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3a395680 start_wqthread + 4
Thread 6 name: com.apple.NSURLConnectionLoader
Thread 6:
0 libsystem_kernel.dylib 0x3a436e30 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a436fd0 mach_msg + 48
2 CoreFoundation 0x3208e2b6 __CFRunLoopServiceMachPort + 126
3 CoreFoundation 0x3208d02c __CFRunLoopRun + 900
4 CoreFoundation 0x32000238 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x320000c4 CFRunLoopRunInMode + 100
6 Foundation 0x3294d888 +[NSURLConnection(Loader) _resourceLoadLoop:] + 304
7 Foundation 0x329d122c __NSThread__main__ + 968
8 libsystem_c.dylib 0x3a3a00de _pthread_start + 306
9 libsystem_c.dylib 0x3a39ffa4 thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x3a447d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3a395ad6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3a3957f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3a395680 start_wqthread + 4
Thread 8 name: com.apple.CFSocket.private
Thread 8:
0 libsystem_kernel.dylib 0x3a447594 __select + 20
1 CoreFoundation 0x32092474 __CFSocketManager + 676
2 libsystem_c.dylib 0x3a3a00de _pthread_start + 306
3 libsystem_c.dylib 0x3a39ffa4 thread_start + 4
Thread 9:
0 libsystem_kernel.dylib 0x3a447d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3a395ad6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3a3957f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3a395680 start_wqthread + 4
Thread 1 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0xffffffff r2: 0x00000007 r3: 0x00000001
r4: 0x1e836370 r5: 0x1e836390 r6: 0x00000000 r7: 0x00240e60
r8: 0x00000000 r9: 0x00000039 r10: 0x3a5b51e4 r11: 0x3a5b51e4
ip: 0x3a5a06c4 sp: 0x00240e2c lr: 0x00040835 pc: 0x31ffa68a
cpsr: 0x60000030`
It appeared you are trying to release an addressbook object with CFRelease without checking if it is null or not.
I cannot repeat the crash, but submit the app to apple, always with the same crash log. Please help me to analyze what's the problem. detail crash log are give below. Thanks a lot!
The apple test team tips that:
This occurred when your app was used:
- On Wi-Fi
- On cellular network
Date/Time: 2013-02-01 11:32:40.293 -0800
OS Version: iOS 6.1 (10B143)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00760040
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 ??? 0x00760040 0 + 7733312
1 ProtocolBuffer 0x3866d1b6 -[PBRequester connectionDidFinishLoading:] + 1042
2 Foundation 0x33bb7912 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke_0 + 14
3 Foundation 0x33af7764 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 196
4 Foundation 0x33af7680 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 56
5 CFNetwork 0x32f5864c ___delegate_didFinishLoading_block_invoke_0 + 24
6 CFNetwork 0x32f57d30 ___withDelegateAsync_block_invoke_0 + 52
7 CFNetwork 0x32f80010 ___performAsync_block_invoke_068 + 16
8 CoreFoundation 0x331c1aca CFArrayApplyFunction + 174
9 CFNetwork 0x32f8046e RunloopBlockContext::perform() + 70
10 CFNetwork 0x32ee445e MultiplexerSource::perform() + 186
11 CoreFoundation 0x332508f4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
12 CoreFoundation 0x33250158 __CFRunLoopDoSources0 + 208
13 CoreFoundation 0x3324ef2a __CFRunLoopRun + 642
14 CoreFoundation 0x331c2238 CFRunLoopRunSpecific + 352
15 CoreFoundation 0x331c20c4 CFRunLoopRunInMode + 100
16 GraphicsServices 0x36da0336 GSEventRunModal + 70
17 UIKit 0x350de2b4 UIApplicationMain + 1116
18 Maoye 0x00003ca2 0x1000 + 11426
19 Maoye 0x00003c5c 0x1000 + 11356
Thread 1:
0 libsystem_kernel.dylib 0x3b460d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3b3aead6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3b3ae7f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3b3ae680 start_wqthread + 4
Thread 2 name: Dispatch queue: com.apple.libdispatch-manager
Thread 2:
0 libsystem_kernel.dylib 0x3b4505d0 kevent64 + 24
1 libdispatch.dylib 0x3b38bd22 _dispatch_mgr_invoke + 806
2 libdispatch.dylib 0x3b387374 _dispatch_mgr_thread + 32
Thread 3:
0 libsystem_kernel.dylib 0x3b460d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3b3aead6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3b3ae7f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3b3ae680 start_wqthread + 4
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x3b44fe30 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b44ffd0 mach_msg + 48
2 CoreFoundation 0x332502b6 __CFRunLoopServiceMachPort + 126
3 CoreFoundation 0x3324f02c __CFRunLoopRun + 900
4 CoreFoundation 0x331c2238 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x331c20c4 CFRunLoopRunInMode + 100
6 WebCore 0x391c1390 RunWebThread(void*) + 440
7 libsystem_c.dylib 0x3b3b90de _pthread_start + 306
8 libsystem_c.dylib 0x3b3b8fa4 thread_start + 4
Thread 5 name: Dispatch queue: URLConnection
Thread 5:
0 libsystem_kernel.dylib 0x3b4505d0 kevent64 + 24
1 libdispatch.dylib 0x3b38b94e _dispatch_update_kq + 178
2 libdispatch.dylib 0x3b38734c _dispatch_mgr_wakeup + 40
3 libdispatch.dylib 0x3b3899a8 _dispatch_wakeup + 20
4 libdispatch.dylib 0x3b389938 _dispatch_queue_push_list_slow2 + 16
5 libdispatch.dylib 0x3b389afa _dispatch_queue_drain + 78
6 libdispatch.dylib 0x3b387678 _dispatch_queue_invoke + 40
7 libdispatch.dylib 0x3b38a610 _dispatch_root_queue_drain + 208
8 libdispatch.dylib 0x3b38a7d4 _dispatch_worker_thread2 + 88
9 libsystem_c.dylib 0x3b3ae7ee _pthread_wqthread + 358
10 libsystem_c.dylib 0x3b3ae680 start_wqthread + 4
Thread 6:
0 libsystem_kernel.dylib 0x3b44fe30 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b44ffd0 mach_msg + 48
2 CoreFoundation 0x332502b6 __CFRunLoopServiceMachPort + 126
3 CoreFoundation 0x3324f02c __CFRunLoopRun + 900
4 CoreFoundation 0x331c2238 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x331c20c4 CFRunLoopRunInMode + 100
6 Foundation 0x33ae65be -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250
7 Maoye 0x0003aab2 0x1000 + 236210
8 Maoye 0x0007fbc8 0x1000 + 519112
9 Maoye 0x00034958 0x1000 + 211288
10 Maoye 0x00036656 0x1000 + 218710
11 libsystem_c.dylib 0x3b3b90de _pthread_start + 306
12 libsystem_c.dylib 0x3b3b8fa4 thread_start + 4
Thread 7 name: com.apple.NSURLConnectionLoader
Thread 7:
0 libsystem_kernel.dylib 0x3b44fe30 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b44ffd0 mach_msg + 48
2 CoreFoundation 0x332502b6 __CFRunLoopServiceMachPort + 126
3 CoreFoundation 0x3324f02c __CFRunLoopRun + 900
4 CoreFoundation 0x331c2238 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x331c20c4 CFRunLoopRunInMode + 100
6 Foundation 0x33b0f888 +[NSURLConnection(Loader) _resourceLoadLoop:] + 304
7 Foundation 0x33b9322c __NSThread__main__ + 968
8 libsystem_c.dylib 0x3b3b90de _pthread_start + 306
9 libsystem_c.dylib 0x3b3b8fa4 thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x3b460d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3b3aead6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3b3ae7f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3b3ae680 start_wqthread + 4
Thread 9:
0 libsystem_kernel.dylib 0x3b45f2cc __connect + 8
1 Maoye 0x00027b7a 0x1000 + 158586
2 Maoye 0x00029e0a 0x1000 + 167434
3 Maoye 0x00029db8 0x1000 + 167352
4 Maoye 0x000078da 0x1000 + 26842
5 Maoye 0x00009bd6 0x1000 + 35798
6 Maoye 0x0003408e 0x1000 + 209038
7 Maoye 0x00036656 0x1000 + 218710
8 libsystem_c.dylib 0x3b3b90de _pthread_start + 306
9 libsystem_c.dylib 0x3b3b8fa4 thread_start + 4
Thread 10:
0 libsystem_kernel.dylib 0x3b4606a4 __semwait_signal + 24
1 libsystem_c.dylib 0x3b3be1be nanosleep + 138
2 libsystem_c.dylib 0x3b41ee4e sleep + 42
3 Maoye 0x0001e190 0x1000 + 119184
4 libsystem_c.dylib 0x3b3b90de _pthread_start + 306
5 libsystem_c.dylib 0x3b3b8fa4 thread_start + 4
Thread 11 name: com.apple.CFSocket.private
Thread 11:
0 libsystem_kernel.dylib 0x3b460594 __select + 20
1 CoreFoundation 0x33254474 __CFSocketManager + 676
2 libsystem_c.dylib 0x3b3b90de _pthread_start + 306
3 libsystem_c.dylib 0x3b3b8fa4 thread_start + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000001 r1: 0x01090350 r2: 0x00760041 r3: 0x00000007
r4: 0x38d2fa5e r5: 0x01090350 r6: 0x00000001 r7: 0x2fdfed0c
r8: 0x01090340 r9: 0x0109b240 r10: 0x0026b5d4 r11: 0x0109b0f0
ip: 0x3cf1b7f0 sp: 0x2fdfece8 lr: 0x0003b439 pc: 0x00760040
cpsr: 0x200f0030
I guess your crash is in the method connectionDidFinishLoading. As crash is in Thread 0 ,the starting two lines give description about the crash. This is what I know from my friend who is a tester.
1 ProtocolBuffer 0x3866d1b6 -[PBRequester connectionDidFinishLoading:] + 1042
In my current project I am getting random crashes,may be due to memory overshoot.But I actually want to figure out which class lead to that crash.So I used symbolication method to find the reason of crash.
Here is what I have done:
Firstly, XCode Build settings are like this :
Strip Debug Sysbols During Copy : NO
Deployment PostProcessing : YES
Strip Linked Product : YES
Generate Debug Symbols : YES
Debug Info Format : DWARF with dSYM file
Use Separate Strip : YES
I am using iOS 5.1 with 4.3.2 version of XCode. I have used "symbolicatecrash" and "atos" methods to reveal the reason of the crash.But I was not able to find the reason for the crash.
So I tried this. I made the application crash by myself by accessing an out of bound index from the array. I have used that to verify the symbolicated crash result output with my actual crash.
Here is the crash report output:
Incident Identifier: 93678EE5-ED10-4502-A59B-5C7526640C4D
CrashReporter Key: 5a79e41767bd1988a9b4080ee5641f63ed42feb8
Hardware Model: iPad2,1
Process: MyAppName [887]
Path: /var/mobile/Applications/EF2C944B-4C26-4EB6-B41E-F89CF2232ADB/JAYPORE.app/MyAppName
Identifier: MyAppName
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-07-13 13:37:18.642 +0530
OS Version: iPhone OS 5.0.1 (9A405)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3028432c __pthread_kill + 8
1 libsystem_c.dylib 0x37725f54 pthread_kill + 48
2 libsystem_c.dylib 0x3771efe4 abort + 88
3 MyAppName 0x00104aa0 0x5e000 + 682656
4 Foundation 0x34ebc1b0 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 260
5 Foundation 0x34ebbe42 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 130
6 MyAppName 0x00104924 0x5e000 + 682276
7 MyAppName 0x00118634 0x5e000 + 763444
8 MyAppName 0x00116b36 0x5e000 + 756534
9 libsystem_c.dylib 0x37730532 _sigtramp + 42
10 libsystem_c.dylib 0x37725f54 pthread_kill + 48
11 libsystem_c.dylib 0x3771efe4 abort + 88
12 MyAppName 0x00118658 0x5e000 + 763480
13 CoreFoundation 0x37c23980 __handleUncaughtException + 68
14 libobjc.A.dylib 0x3776f2ca _objc_terminate + 122
15 libc++abi.dylib 0x3017e3be _ZL19safe_handler_callerPFvvE + 70
16 libc++abi.dylib 0x3017e44a std::terminate() + 14
17 libc++abi.dylib 0x3017f81e __cxa_rethrow + 82
18 libobjc.A.dylib 0x3776f22e objc_exception_rethrow + 6
19 CoreFoundation 0x37b7953e CFRunLoopRunSpecific + 398
20 CoreFoundation 0x37b7939e CFRunLoopRunInMode + 98
21 GraphicsServices 0x37950fc6 GSEventRunModal + 150
22 UIKit 0x316f973c UIApplicationMain + 1084
23 MyAppName 0x0005ffc8 0x5e000 + 8136
24 MyAppName 0x0005ff6c 0x5e000 + 8044
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x302743b4 kevent + 24
1 libdispatch.dylib 0x307dff74 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x307dfc92 _dispatch_mgr_thread + 30
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x30274010 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x30274206 mach_msg + 50
2 CoreFoundation 0x37bf741c __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x37bf6154 __CFRunLoopRun + 876
4 CoreFoundation 0x37b794d6 CFRunLoopRunSpecific + 294
5 CoreFoundation 0x37b7939e CFRunLoopRunInMode + 98
6 WebCore 0x32650128 _ZL12RunWebThreadPv + 396
7 libsystem_c.dylib 0x376e7c16 _pthread_start + 314
8 libsystem_c.dylib 0x376e7ad0 thread_start + 0
Thread 3 name: com.apple.NSURLConnectionLoader
Thread 3:
0 libsystem_kernel.dylib 0x30274010 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x30274206 mach_msg + 50
2 CoreFoundation 0x37bf741c __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x37bf6154 __CFRunLoopRun + 876
4 CoreFoundation 0x37b794d6 CFRunLoopRunSpecific + 294
5 CoreFoundation 0x37b7939e CFRunLoopRunInMode + 98
6 Foundation 0x34ec8bc2 +[NSURLConnection(Loader) _resourceLoadLoop:] + 302
7 Foundation 0x34ec8a8a -[NSThread main] + 66
8 Foundation 0x34f5c59a __NSThread__main__ + 1042
9 libsystem_c.dylib 0x376e7c16 _pthread_start + 314
10 libsystem_c.dylib 0x376e7ad0 thread_start + 0
Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x30284570 __select + 20
1 CoreFoundation 0x37bfb66a __CFSocketManager + 726
2 libsystem_c.dylib 0x376e7c16 _pthread_start + 314
3 libsystem_c.dylib 0x376e7ad0 thread_start + 0
Thread 5 name: Dispatch queue: com.apple.CFURLCACHE_work_queue
Thread 5:
0 libsystem_kernel.dylib 0x30275ac4 fsync + 8
1 libsqlite3.dylib 0x30741656 0x30704000 + 251478
2 libsqlite3.dylib 0x30746434 0x30704000 + 271412
3 libsqlite3.dylib 0x30741394 0x30704000 + 250772
4 libsqlite3.dylib 0x30737350 0x30704000 + 209744
5 libsqlite3.dylib 0x30719a6c 0x30704000 + 88684
6 libsqlite3.dylib 0x3072ccb4 0x30704000 + 167092
7 libsqlite3.dylib 0x3072b6ce sqlite3_step + 2098
8 libsqlite3.dylib 0x3070a732 sqlite3_exec + 366
9 CFNetwork 0x33a3cedc __CFURLCache::ExecSQLStatement_NoLock(sqlite3*, char const*, int (*)(void*, int, char**, char**), void*, long) + 32
10 CFNetwork 0x33a3fc7c _ZL24_CFURLCacheTimerCallbackPv + 320
11 libdispatch.dylib 0x307e133e _dispatch_source_invoke + 510
12 libdispatch.dylib 0x307dec60 _dispatch_queue_invoke$VARIANT$mp + 44
13 libdispatch.dylib 0x307ded9e _dispatch_queue_drain + 198
14 libdispatch.dylib 0x307dec56 _dispatch_queue_invoke$VARIANT$mp + 34
15 libdispatch.dylib 0x307df860 _dispatch_worker_thread2 + 204
16 libsystem_c.dylib 0x376e21c8 _pthread_wqthread + 288
17 libsystem_c.dylib 0x376e209c start_wqthread + 0
Thread 6:
0 libsystem_kernel.dylib 0x30284cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x376e230a _pthread_wqthread + 610
2 libsystem_c.dylib 0x376e209c start_wqthread + 0
Thread 7:
0 libsystem_kernel.dylib 0x30284cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x376e230a _pthread_wqthread + 610
2 libsystem_c.dylib 0x376e209c start_wqthread + 0
Thread 8:
0 libsystem_kernel.dylib 0x30274010 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x30274206 mach_msg + 50
2 CoreFoundation 0x37bf741c __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x37bf6154 __CFRunLoopRun + 876
4 CoreFoundation 0x37b794d6 CFRunLoopRunSpecific + 294
5 CoreFoundation 0x37b7939e CFRunLoopRunInMode + 98
6 Foundation 0x34ebcb7e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250
7 Foundation 0x34ed652c -[NSRunLoop(NSRunLoop) run] + 72
8 JAYPORE 0x00108a9a 0x5e000 + 699034
9 Foundation 0x34ec8a8a -[NSThread main] + 66
10 Foundation 0x34f5c59a __NSThread__main__ + 1042
11 libsystem_c.dylib 0x376e7c16 _pthread_start + 314
12 libsystem_c.dylib 0x376e7ad0 thread_start + 0
Thread 9:
0 libsystem_kernel.dylib 0x30284cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x376e230a _pthread_wqthread + 610
2 libsystem_c.dylib 0x376e209c start_wqthread + 0
Thread 10:
0 libsystem_kernel.dylib 0x30284cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x376e230a _pthread_wqthread + 610
2 libsystem_c.dylib 0x376e209c start_wqthread + 0
Thread 11:
0 libsystem_kernel.dylib 0x30284cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x376e230a _pthread_wqthread + 610
2 libsystem_c.dylib 0x376e209c start_wqthread + 0
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x00000006 r5: 0x3f504ce8 r6: 0x30caec02 r7: 0x2fe5c4ec
r8: 0x00000006 r9: 0x00000000 r10: 0x00000005 r11: 0x2fe5c558
ip: 0x00000148 sp: 0x2fe5c4e0 lr: 0x37725f5b pc: 0x3028432c
cpsr: 0x00000010
Binary Images:
0x5e000 - 0x14efff +JAYPORE armv7 <a9b02230373d3b4aba282d21f94fb780> /var/mobile/Applications/EF2C944B-4C26-4EB6-B41E-F89CF2232ADB/JAYPORE.app/JAYPORE
0x1178000 - 0x1182fff AccessibilitySettingsLoader armv7 <45d7c264810c364b976dba254572d73d> /System/Library/AccessibilityBundles/AccessibilitySettingsLoader.bundle/AccessibilitySettingsLoader
0x2fe5d000 - 0x2fe7efff dyld armv7 <be7c0b491a943054ad12eb5060f1da06> /usr/lib/dyld
0x3001c000 - 0x30179fff libmecabra.dylib armv7 <170c82a3c716372abe7ae0aae96d4805> /usr/lib/libmecabra.dylib
...long list of binary images.
Now when I use "atos" to get the reason of crash from the Thread 0(which caused the crash)
3 MyAppName 0x00104aa0 0x5e000 + 682656
using above address,it gives me this output:
MAC66:Resources sourabhbhardwaj$ atos -arch arm -o /Users/myPath/MyAppName.app.dSYM/Contents/Resources/DWARF/MyAppName 0x00079f6c 0x78000 + 8044
-[FirstViewController setUIAndText] (in MyAppName) (FirstViewController.m:85)
-[SecondViewController DeleteByID:] (in MyAppName) (SecondViewController.m:415)
+
-[MyController viewWillAppear:] (in MyAppName) (MyController.m:137)
which is not the actual line of crash which I have made. I have made crash on other view controller and the output is entirely different.How can this be possible??
Yes,I have cross checked that I am using the exact same dSYM file for that binary.
Quick help needed.
Thanks
Sourabh
I'm sure this is too late to help, but just in case: you may not be giving atos all the parameters it needs. In particular, make sure you are specifying (with -l) the load address of the application, and (with -arch) the architecture. You can find this in the binary image line you quoted above (it changes with each crashdump):
0x5e000 - 0x14efff +JAYPORE armv7 <a9b02230373d3b4aba282d21f94fb780> /var/mobile/Applications/EF2C944B-4C26-4EB6-B41E-F89CF2232ADB/JAYPORE.app/JAYPORE
The 0x5e000 is the load address. So try running something like xcrun atos -l 0x5e000 -arch armv7 -o YourArchive.xcarchive/Products/Applications/YourApp.app/YourApp 0x00104aa0.
You can find more details about what the load address is and why it changes each time in Kerni's answer to this similar question. (But while it's good to know how it works, it's usually more convenient to use the -l parameter to atos rather than doing the math yourself.)
Before symbolicating, make sure you have the same .app and the .dSYM of the build that crashed or else it will not be symbolicated properly.