My users are saying my app is crashing on iPhone 5. I tested it on simulator but there was no problem. But i am getting weird crash reports from iPhone 5 only. I guess the problem is real but i could not see any useful information from these crash reports.
Crash report:
Incident Identifier: CE320831-76BF-4606-813F-9821F9C8B6C2
CrashReporter Key: e41999cd7d4094ea7ac7b121345107dcebfa3e97
Hardware Model: iPhone5,2
Process: Ribony [946]
Path: /private/var/containers/Bundle/Application/91817EA6-9765-41B8-85BD-903928F6EFEE/Ribony.app/Ribony
Identifier: com.impact.ribony
Version: 121 (5.1.0)
Code Type: ARM (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.impact.ribony [593]
Date/Time: 2020-04-19 09:41:54.8309 +0300
Launch Time: 2020-04-19 09:41:50.0000 +0300
OS Version: iPhone OS 10.3.4 (14G61)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x168392e0
Termination Signal: Bus error: 10
Termination Reason: Namespace SIGNAL, Code 0xa
Terminating Process: exc handler [0]
Triggered by Thread: 4
Thread 0 name:
Thread 0:
0 libsystem_kernel.dylib 0x1cb90900 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x1cb906e0 mach_msg + 44 (mach_msg.c:103)
2 CoreFoundation 0x1d393be2 __CFRunLoopServiceMachPort + 144 (CFRunLoop.c:2527)
3 CoreFoundation 0x1d392064 __CFRunLoopRun + 1436 (CFRunLoop.c:2870)
4 CoreFoundation 0x1d2e51ae CFRunLoopRunSpecific + 470 (CFRunLoop.c:3113)
5 CoreFoundation 0x1d2e4fd0 CFRunLoopRunInMode + 104 (CFRunLoop.c:3143)
6 GraphicsServices 0x1ea8fb40 GSEventRunModal + 80 (GSEvent.c:2245)
7 UIKit 0x2266da52 UIApplicationMain + 150 (UIApplication.m:4089)
8 Ribony 0x000280a0 main + 38 (ConversationModel.swift:18)
9 libdyld.dylib 0x1cad24ea start + 2
Thread 1:
0 libsystem_kernel.dylib 0x1cba673c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1cc5a744 _pthread_wqthread + 728 (pthread.c:2129)
2 libsystem_pthread.dylib 0x1cc5a45c start_wqthread + 8
Thread 2:
0 libsystem_kernel.dylib 0x1cba673c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1cc5a8ea _pthread_wqthread + 1150 (pthread.c:2205)
2 libsystem_pthread.dylib 0x1cc5a45c start_wqthread + 8
Thread 3:
0 libsystem_pthread.dylib 0x1cc5a454 start_wqthread + 0
Thread 4 name:
Thread 4 Crashed:
0 ??? 0x168392e0 0 + 377721568
Thread 5 name:
Thread 5:
0 libsystem_kernel.dylib 0x1cb90900 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x1cb906e0 mach_msg + 44 (mach_msg.c:103)
2 CoreFoundation 0x1d393be2 __CFRunLoopServiceMachPort + 144 (CFRunLoop.c:2527)
3 CoreFoundation 0x1d392064 __CFRunLoopRun + 1436 (CFRunLoop.c:2870)
4 CoreFoundation 0x1d2e51ae CFRunLoopRunSpecific + 470 (CFRunLoop.c:3113)
5 CoreFoundation 0x1d2e4fd0 CFRunLoopRunInMode + 104 (CFRunLoop.c:3143)
6 Foundation 0x1dc39af4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 258 (NSRunLoop.m:367)
7 Foundation 0x1dc5676c -[NSRunLoop(NSRunLoop) runUntilDate:] + 86 (NSRunLoop.m:411)
8 UIKit 0x22f6ead8 -[UIEventFetcher threadMain] + 128 (UIEventFetcher.m:313)
9 Foundation 0x1dd1d8ea __NSThread__start__ + 1122 (NSThread.m:1163)
10 libsystem_pthread.dylib 0x1cc5c93a _pthread_body + 216 (pthread.c:697)
11 libsystem_pthread.dylib 0x1cc5c85c _pthread_start + 234 (pthread.c:744)
12 libsystem_pthread.dylib 0x1cc5a468 thread_start + 8
Thread 6 name:
Thread 6:
0 libsystem_kernel.dylib 0x1cb93ba8 kevent + 24
1 Realm 0x00a6930a realm::_impl::ExternalCommitHelper::listen() + 118
2 Realm 0x00a69b20 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, st... + 112
3 libsystem_pthread.dylib 0x1cc5c93a _pthread_body + 216 (pthread.c:697)
4 libsystem_pthread.dylib 0x1cc5c85c _pthread_start + 234 (pthread.c:744)
5 libsystem_pthread.dylib 0x1cc5a468 thread_start + 8
Thread 7:
0 libsystem_kernel.dylib 0x1cba673c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1cc5a744 _pthread_wqthread + 728 (pthread.c:2129)
2 libsystem_pthread.dylib 0x1cc5a45c start_wqthread + 8
Thread 8:
0 libsystem_pthread.dylib 0x1cc5a454 start_wqthread + 0
Thread 9:
0 libsystem_pthread.dylib 0x1cc5a454 start_wqthread + 0
Thread 10:
0 libsystem_pthread.dylib 0x1cc5a454 start_wqthread + 0
Thread 11 name:
Thread 11:
0 libsystem_kernel.dylib 0x1cb90900 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x1cb906e0 mach_msg + 44 (mach_msg.c:103)
2 Ribony 0x00175960 CLSMachExceptionServer + 900
3 libsystem_pthread.dylib 0x1cc5c93a _pthread_body + 216 (pthread.c:697)
4 libsystem_pthread.dylib 0x1cc5c85c _pthread_start + 234 (pthread.c:744)
5 libsystem_pthread.dylib 0x1cc5a468 thread_start + 8
Thread 12 name:
Thread 12:
0 libsystem_kernel.dylib 0x1cb90900 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x1cb906e0 mach_msg + 44 (mach_msg.c:103)
2 CoreFoundation 0x1d393be2 __CFRunLoopServiceMachPort + 144 (CFRunLoop.c:2527)
3 CoreFoundation 0x1d392064 __CFRunLoopRun + 1436 (CFRunLoop.c:2870)
4 CoreFoundation 0x1d2e51ae CFRunLoopRunSpecific + 470 (CFRunLoop.c:3113)
5 CoreFoundation 0x1d2e4fd0 CFRunLoopRunInMode + 104 (CFRunLoop.c:3143)
6 CFNetwork 0x1d9c2392 +[NSURLConnection(Loader) _resourceLoadLoop:] + 402 (NSURLConnection.mm:364)
7 Foundation 0x1dd1d8ea __NSThread__start__ + 1122 (NSThread.m:1163)
8 libsystem_pthread.dylib 0x1cc5c93a _pthread_body + 216 (pthread.c:697)
9 libsystem_pthread.dylib 0x1cc5c85c _pthread_start + 234 (pthread.c:744)
10 libsystem_pthread.dylib 0x1cc5a468 thread_start + 8
Thread 13 name:
Thread 13:
0 libcorecrypto.dylib 0x1ca5f62c ccn_sqr_ws + 168 (ccn_sqr.c:60)
1 libcorecrypto.dylib 0x1ca85b7c ccn_make_recip_newtonraphson + 374 (ccn_make_recip.c:142)
2 libcorecrypto.dylib 0x1ca85c80 ccn_make_recip + 60 (ccn_make_recip.c:201)
3 libcorecrypto.dylib 0x1ca84fb6 ccder_decode_rsa_pub + 72 (ccder_decode_rsa_pub.c:21)
4 libcorecrypto.dylib 0x1ca8531e ccrsa_import_pub + 30 (ccrsa_import_pub.c:16)
5 Security 0x1d7b0d04 SecRSAPublicKeyInit + 108 (SecRSAKey.c:176)
6 Security 0x1d79a198 SecKeyCreate + 106 (SecKey.c:493)
7 Security 0x1d7b10f2 SecKeyCreateRSAPublicKey_ios + 28 (SecRSAKey.c:384)
8 Security 0x1d78adf2 SecCertificateCopyPublicKey + 90 (SecCertificate.c:4814)
9 Security 0x1d7b6564 __SecTrustCopyPublicKey_block_invoke + 24 (SecTrust.c:1411)
10 libdispatch.dylib 0x1cab1a34 _dispatch_barrier_sync_f_invoke + 50 (queue.c:3446)
11 Security 0x1d7b64fe SecTrustCopyPublicKey + 92 (SecTrust.c:1402)
12 libcoretls_cfhelpers.dylib 0x371ef898 tls_helper_set_peer_pubkey + 62 (tls_helpers.c:199)
13 CFNetwork 0x1da60c98 TCPIOConnection::_tlsProcessPublicKey(nw_tls_context*) + 12 (TCPIOConnection.cpp:3566)
14 CFNetwork 0x1da5faa2 TCPIOConnection::_handleTLSEvent(nw_tls_context*, tls_handshake_message_t, void () block_pointer,... + 486 (TCPIOConnection.cpp:4363)
15 CFNetwork 0x1da5f8b6 ___ZN15TCPIOConnection9_startTLSEv_block_invoke + 20 (TCPIOConnection.cpp:2668)
16 libnetwork.dylib 0x2879fd90 __tcp_connection_set_tls_message_handler_on_nw_connection_block_invoke + 126 (tcp_connection.m:1716)
17 libnetwork.dylib 0x287acdbe __nw_coretls_callback_handshake_message_block_invoke + 88 (protocol_coretls.c:776)
18 libdispatch.dylib 0x1caa5796 _dispatch_call_block_and_release + 10 (init.c:963)
19 libdispatch.dylib 0x1cab259c _dispatch_queue_serial_drain + 854 (inline_internal.h:2431)
20 libdispatch.dylib 0x1caa8b70 _dispatch_queue_invoke + 886 (queue.c:4853)
21 libdispatch.dylib 0x1cab41b4 _dispatch_root_queue_drain + 326 (inline_internal.h:2468)
22 libdispatch.dylib 0x1cab400e _dispatch_worker_thread3 + 106 (queue.c:5550)
23 libsystem_pthread.dylib 0x1cc5a87c _pthread_wqthread + 1040 (pthread.c:2196)
24 libsystem_pthread.dylib 0x1cc5a45c start_wqthread + 8
Thread 14:
0 libsystem_kernel.dylib 0x1cba673c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1cc5a8ea _pthread_wqthread + 1150 (pthread.c:2205)
2 libsystem_pthread.dylib 0x1cc5a45c start_wqthread + 8
Thread 15:
0 libsystem_kernel.dylib 0x1cba673c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1cc5a8ea _pthread_wqthread + 1150 (pthread.c:2205)
2 libsystem_pthread.dylib 0x1cc5a45c start_wqthread + 8
Thread 16:
0 libsystem_pthread.dylib 0x1cc5a454 start_wqthread + 0
Thread 4 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000004 r2: 0x00000003 r3: 0x192356d0
r4: 0x33010005 r5: 0x39cfc048 r6: 0x39cf8000 r7: 0x00000001
r8: 0x005c0000 r9: 0x00000000 r10: 0x00000001 r11: 0x00000001
ip: 0x015a9f68 sp: 0x19235570 lr: 0x00001200 pc: 0x168392e0
cpsr: 0x60000010
As you can see Thread 4 is crashed. But this report looks like not symbolicated but actually it is symbolicated report. How can i fix this problem?
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
We are getting a crash on a device, with a weird crash log that does not contain any of our application's code in it. Any idea what could be causing this?
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000e0000010
Triggered by Thread: 5
Thread 0:
0 libsystem_kernel.dylib 0x3a773a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a773849 mach_msg + 37
2 CoreFoundation 0x2f5c6625 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2f5c4d8b __CFRunLoopRun + 859
4 CoreFoundation 0x2f52f765 CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2f52f547 CFRunLoopRunInMode + 103
6 GraphicsServices 0x344666cf GSEventRunModal + 135
7 UIKit 0x31e8e88d UIApplicationMain + 1133
8 MyApp 0x0002ae4b main (main.m:15)
9 MyApp 0x0001ff44 start + 36
Thread 1:
0 libsystem_kernel.dylib 0x3a773804 kevent64 + 24
1 libdispatch.dylib 0x3a6c2051 _dispatch_mgr_invoke + 229
2 libdispatch.dylib 0x3a6bc2df _dispatch_mgr_thread + 35
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x3a773a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a773849 mach_msg + 37
2 CoreFoundation 0x2f5c6625 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2f5c4d45 __CFRunLoopRun + 789
4 CoreFoundation 0x2f52f765 CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2f52f547 CFRunLoopRunInMode + 103
6 Foundation 0x2ff6f23d +[NSURLConnection(Loader) _resourceLoadLoop:] + 317
7 Foundation 0x2ffe4a0b __NSThread__main__ + 1059
8 libsystem_pthread.dylib 0x3a7ed957 _pthread_body + 139
9 libsystem_pthread.dylib 0x3a7ed8c7 _pthread_start + 99
10 libsystem_pthread.dylib 0x3a7ebae4 thread_start + 4
Thread 3:
0 libsystem_kernel.dylib 0x3a786c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3a7ebc1f _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x3a7ebad8 start_wqthread + 4
Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x3a786434 __select + 20
1 CoreFoundation 0x2f5ca51f __CFSocketManager + 483
2 libsystem_pthread.dylib 0x3a7ed957 _pthread_body + 139
3 libsystem_pthread.dylib 0x3a7ed8c7 _pthread_start + 99
4 libsystem_pthread.dylib 0x3a7ebae4 thread_start + 4
Thread 5 Crashed:
0 libobjc.A.dylib 0x3a1e066b objc_release + 11
1 libobjc.A.dylib 0x3a1e10cf (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 355
2 libobjc.A.dylib 0x3a1e1b49 (anonymous namespace)::AutoreleasePoolPage::tls_dealloc(void*) + 37
3 libsystem_pthread.dylib 0x3a7ec6cf _pthread_tsd_cleanup + 163
4 libsystem_pthread.dylib 0x3a7ec44f _pthread_exit + 83
5 libsystem_pthread.dylib 0x3a7ed1b5 pthread_exit + 25
6 Foundation 0x2ff386ff +[NSThread exit] + 7
7 Foundation 0x2ffe4a29 __NSThread__main__ + 1089
8 libsystem_pthread.dylib 0x3a7ed957 _pthread_body + 139
9 libsystem_pthread.dylib 0x3a7ed8c7 _pthread_start + 99
10 libsystem_pthread.dylib 0x3a7ebae4 thread_start + 4
Thread 6:
0 libsystem_kernel.dylib 0x3a786c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3a7ebc1f _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x3a7ebad8 start_wqthread + 4
Thread 7:
0 libsystem_kernel.dylib 0x3a786c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3a7ebc1f _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x3a7ebad8 start_wqthread + 4
Thread 5 crashed with ARM Thread State (32-bit):
r0: 0x156ba550 r1: 0xe0000000 r2: 0x00000001 r3: 0x15b9d028
r4: 0x15b9d000 r5: 0x0679d0a4 r6: 0xa3a3a3a3 r7: 0x0679cd5c
r8: 0x15b9d028 r9: 0x9a001683 r10: 0x00000000 r11: 0x3c473a30
ip: 0x3a96f7b0 sp: 0x0679cb2c lr: 0x3a1e10d3 pc: 0x3a1e066a
cpsr: 0x20000030
We ran a check for Zombie objects but could not find any. Help much appreciated.
We were able to reproduce the issue and discovered that this is a memory issue on iPad Airs. We found that, for some reason, iOS on these iPad Air is trying to free up invalid memory addresses, or addresses that were previously freed up. We are now able to replicate on demand on iPad Airs, but do not see the same issue on other iPads.
I occasionally get a crash report which looks like to following:
Incident Identifier: 9E8A29CD-C473-41BE-9018-2DFEC530612B
CrashReporter Key: bee45cc2c49f3c1a0c3793b1a519a04012b8dffe
Hardware Model: iPad3,1
Process: dominicanorder [17420]
Path: /var/mobile/Applications/2154A91A-04D2-4F93-A116-DA276DEB6E90/dominicanorder.app/dominicanorder
Identifier: org.idoms.dominicanorder
Version: 232 (1.2.4)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-01-13 09:03:58.173 +0000
OS Version: iOS 7.0.4 (11B554a)
Report Version: 104
Exception Type: EXC_CRASH (SIGSEGV)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 1
Thread 0:
0 libobjc.A.dylib 0x382ec7f0 objc_release + 16
1 UIKit 0x30517a24 -[UIWebTouchEventsGestureRecognizer dealloc] + 44
2 libobjc.A.dylib 0x382fab06 objc_object::sidetable_release(bool) + 170
3 CoreFoundation 0x2dab1650 CFRelease + 552
4 CoreFoundation 0x2dab91dc -[__NSArrayI dealloc] + 60
5 libobjc.A.dylib 0x382fab06 objc_object::sidetable_release(bool) + 170
6 libobjc.A.dylib 0x382ec002 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 354
7 CoreFoundation 0x2dab497c _CFAutoreleasePoolPop + 12
8 UIKit 0x302ec248 _wrapRunLoopWithAutoreleasePoolHandler + 32
9 CoreFoundation 0x2db4c1ca __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
10 CoreFoundation 0x2db49b6c __CFRunLoopDoObservers + 280
11 CoreFoundation 0x2db49eae __CFRunLoopRun + 726
12 CoreFoundation 0x2dab4c22 CFRunLoopRunSpecific + 518
13 CoreFoundation 0x2dab4a06 CFRunLoopRunInMode + 102
14 GraphicsServices 0x327a827e GSEventRunModal + 134
15 UIKit 0x30358044 UIApplicationMain + 1132
16 dominicanorder 0x000d09ce 0xcc000 + 18894
17 dominicanorder 0x000d0984 0xcc000 + 18820
Thread 1 Crashed:
0 libsystem_kernel.dylib 0x3889b83c kevent64 + 24
1 libdispatch.dylib 0x387dc210 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x387dbf96 _dispatch_mgr_thread$VARIANT$mp + 34
Thread 2:
0 libsystem_kernel.dylib 0x388aec7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38914dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38914c80 start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x388aec7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38914dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38914c80 start_wqthread + 4
Thread 4:
0 libsystem_kernel.dylib 0x3889ba8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3889b888 mach_msg + 44
2 CoreFoundation 0x2db4b7be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2db49ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x2dab4c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2dab4a06 CFRunLoopRunInMode + 102
6 libAVFAudio.dylib 0x2cb37584 GenericRunLoopThread::Entry(void*) + 124
7 libAVFAudio.dylib 0x2cb2b99c CAPThread::Entry(CAPThread*) + 176
8 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
9 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
10 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 5 name: com.apple.coremedia.player.async
Thread 5:
0 libsystem_kernel.dylib 0x3889badc semaphore_wait_trap + 8
1 libdispatch.dylib 0x387da428 _dispatch_semaphore_wait_slow + 172
2 MediaToolbox 0x2efa083c fpa_AsyncMovieControlThread + 1752
3 CoreMedia 0x2e0df234 figThreadMain + 192
4 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
5 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
6 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 6:
0 libsystem_kernel.dylib 0x388aec7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38914dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38914c80 start_wqthread + 4
Thread 7:
0 libsystem_kernel.dylib 0x388aec7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38914dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38914c80 start_wqthread + 4
Thread 8:
0 libsystem_kernel.dylib 0x388aec7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38914dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38914c80 start_wqthread + 4
Thread 9:
0 libsystem_kernel.dylib 0x388aec7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38914dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38914c80 start_wqthread + 4
Thread 10 name: com.apple.NSURLConnectionLoader
Thread 10:
0 libsystem_kernel.dylib 0x3889ba8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3889b888 mach_msg + 44
2 CoreFoundation 0x2db4b7be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2db49ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x2dab4c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2dab4a06 CFRunLoopRunInMode + 102
6 Foundation 0x2e4ef2f2 +[NSURLConnection(Loader) _resourceLoadLoop:] + 314
7 Foundation 0x2e564c82 __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
9 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
10 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 11 name: com.apple.CFSocket.private
Thread 11:
0 libsystem_kernel.dylib 0x388ae440 select$DARWIN_EXTSN + 20
1 CoreFoundation 0x2db4f680 __CFSocketManager + 480
2 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
3 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
4 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 12 name: WebThread
Thread 12:
0 libsystem_kernel.dylib 0x388adf38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x38916224 _pthread_cond_wait + 536
2 libsystem_pthread.dylib 0x38917040 pthread_cond_timedwait + 40
3 WebCore 0x35cc0be2 SendDelegateMessage(NSInvocation*) + 690
4 WebCore 0x35c9895e WebRunLoopUnlockInternal(AutoreleasePoolOperation) + 162
5 CoreFoundation 0x2db4c1ca __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
6 CoreFoundation 0x2db49b6c __CFRunLoopDoObservers + 280
7 CoreFoundation 0x2dab4c44 CFRunLoopRunSpecific + 552
8 CoreFoundation 0x2dab4a06 CFRunLoopRunInMode + 102
9 WebCore 0x35c97266 RunWebThread(void*) + 414
10 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
11 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
12 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 13 name: JavaScriptCore::BlockFree
Thread 13:
0 libsystem_kernel.dylib 0x388adf38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x38916224 _pthread_cond_wait + 536
2 libsystem_pthread.dylib 0x38917040 pthread_cond_timedwait + 40
3 JavaScriptCore 0x2ead9eb0 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 104
4 JavaScriptCore 0x2ead9cdc JSC::BlockAllocator::blockFreeingThreadMain() + 88
5 JavaScriptCore 0x2ead73a0 WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
7 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
8 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 14 name: JavaScriptCore::Marking
Thread 14:
0 libsystem_kernel.dylib 0x388adf38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x38916224 _pthread_cond_wait + 536
2 libsystem_pthread.dylib 0x38917000 pthread_cond_wait + 36
3 JavaScriptCore 0x2ec75236 JSC::GCThread::waitForNextPhase() + 74
4 JavaScriptCore 0x2ec75290 JSC::GCThread::gcThreadMain() + 48
5 JavaScriptCore 0x2ead73a0 WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
7 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
8 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 15 name: WebCore: CFNetwork Loader
Thread 15:
0 libsystem_kernel.dylib 0x3889ba8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3889b888 mach_msg + 44
2 CoreFoundation 0x2db4b7be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2db49ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x2dab4c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2dab4a06 CFRunLoopRunInMode + 102
6 WebCore 0x35cdfd5a WebCore::runLoaderThread(void*) + 250
7 JavaScriptCore 0x2ead73a0 WTF::wtfThreadEntryPoint(void*) + 12
8 libsystem_pthread.dylib 0x38916c1a _pthread_body + 138
9 libsystem_pthread.dylib 0x38916b8a _pthread_start + 98
10 libsystem_pthread.dylib 0x38914c8c thread_start + 4
Thread 1 crashed with ARM Thread State (32-bit):
r0: 0x00000004 r1: 0x00000000 r2: 0x00000000 r3: 0x001b56f0
r4: 0x00000001 r5: 0x00000000 r6: 0x00000000 r7: 0x001b5760
r8: 0x3a748170 r9: 0x00000001 r10: 0x00000000 r11: 0x3a747f40
ip: 0x00000171 sp: 0x001b56d0 lr: 0x387dc215 pc: 0x3889b83c
cpsr: 0x60000010
What could cause this crash?
try to enable breakpoints to all see below
In this way you should be able to identify the bad instruction before sigabrt signal.
I hope this could help
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