I'm working on an app that's already existing. This app works fine on an iPad Pro / iOS 10. I'm trying to get it to work on iPad2 / iOS 9.3.5.
I manage to build it with XCODE. I can play it well. BUT, when I load a specific scene, it crashes.
XCODE just displays "iPad was disconnected". The last Debug shows :
"Unloading 3 Unused Serialized files (Serialized files now loaded: 0)"
No warnings, no errors.
After many researches I figured this was a memory limit issue. So I proceeded to empty the scene piece by piece to figure what's causing the issue.
The scene is now empty (^^) and it still crashes. Below is the profiler memory for the empty scene.
Crash log :
Incident Identifier: A8EAA62E-F1BE-4969-A9DE-8095A41F685A
CrashReporter Key: 1a06f0ff4da2846aaf101b885d553b22478f0f3a
Hardware Model: iPad2,4
Process: mediaserverd [361]
Path: /usr/sbin/mediaserverd
Identifier: mediaserverd
Version: ???
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2017-01-10 17:08:24.24 +0100
Launch Time: 2017-01-10 12:14:35.35 +0100
OS Version: iOS 9.3.5 (13G36)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x815dba57
Triggered by Thread: 12
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x21766920 semaphore_wait_trap + 8
1 libsystem_platform.dylib 0x2181b3a4 _os_semaphore_wait + 12
2 libdispatch.dylib 0x21668d4a _dispatch_barrier_sync_f_slow + 370
3 CoreMedia 0x23af2152 cmsmApplicationStateChangedNotificationCallback + 78
4 CoreFoundation 0x21a03902 __CFNotificationCenterAddObserver_block_invoke + 126
5 CoreFoundation 0x21aa1734 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
6 CoreFoundation 0x21aa113e _CFXRegistrationPost + 390
7 CoreFoundation 0x21aa0f1c ___CFXNotificationPost_block_invoke + 40
8 CoreFoundation 0x21af7c6a -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1334
9 CoreFoundation 0x21a01082 _CFXNotificationPost + 486
10 Foundation 0x222425de -[NSNotificationCenter postNotificationName:object:userInfo:] + 74
11 SpringBoardServices 0x231b93be __SBApplicationStateBeginGeneratingChangeNotifications_block_invoke_2 + 78
12 libdispatch.dylib 0x2165d822 _dispatch_call_block_and_release + 10
13 libdispatch.dylib 0x2165d80e _dispatch_client_callout + 22
14 libdispatch.dylib 0x2166bba8 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1524
15 CoreFoundation 0x21ab1b6c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
16 CoreFoundation 0x21ab0066 __CFRunLoopRun + 1574
17 CoreFoundation 0x219ff228 CFRunLoopRunSpecific + 520
18 CoreFoundation 0x219ff014 CFRunLoopRunInMode + 108
19 mediaserverd 0x00059f9e 0x58000 + 8094
20 libdyld.dylib 0x216a7872 start + 2
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x2177c2f8 kevent_qos + 24
1 libdispatch.dylib 0x21671d60 _dispatch_mgr_invoke + 256
2 libdispatch.dylib 0x21671abe _dispatch_mgr_thread$VARIANT$mp + 38
Thread 2:
0 libsystem_kernel.dylib 0x217668d0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x217666d4 mach_msg + 40
2 CoreFoundation 0x21ab1ac4 __CFRunLoopServiceMachPort + 136
3 CoreFoundation 0x21aafe4c __CFRunLoopRun + 1036
4 CoreFoundation 0x219ff228 CFRunLoopRunSpecific + 520
5 CoreFoundation 0x21a3fdd2 CFRunLoopRun + 98
6 VirtualAudio 0x01e3fee4 0x1e38000 + 32484
7 VirtualAudio 0x01e3fdba 0x1e38000 + 32186
8 libsystem_pthread.dylib 0x2182385a _pthread_body + 138
9 libsystem_pthread.dylib 0x218237ce _pthread_start + 110
10 libsystem_pthread.dylib 0x21821724 thread_start + 8
Thread 3 name: com.apple.coremedia.remakerserver
Thread 3:
0 libsystem_kernel.dylib 0x217668d0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x217666d4 mach_msg + 40
2 CoreFoundation 0x21ab1ac4 __CFRunLoopServiceMachPort + 136
3 CoreFoundation 0x21aafe4c __CFRunLoopRun + 1036
4 CoreFoundation 0x219ff228 CFRunLoopRunSpecific + 520
5 CoreFoundation 0x21a3fdd2 CFRunLoopRun + 98
6 MediaToolbox 0x26f45644 figRemakerFamilyServerThread + 256
7 CoreMedia 0x23aa79b8 figThreadMain + 208
8 libsystem_pthread.dylib 0x2182385a _pthread_body + 138
9 libsystem_pthread.dylib 0x218237ce _pthread_start + 110
10 libsystem_pthread.dylib 0x21821724 thread_start + 8
Thread 4 name: com.apple.coremedia.recorderserver
Thread 4:
0 libsystem_kernel.dylib 0x217668d0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x217666d4 mach_msg + 40
2 CoreFoundation 0x21ab1ac4 __CFRunLoopServiceMachPort + 136
3 CoreFoundation 0x21aafe4c __CFRunLoopRun + 1036
4 CoreFoundation 0x219ff228 CFRunLoopRunSpecific + 520
5 CoreFoundation 0x21a3fdd2 CFRunLoopRun + 98
6 Celestial 0x271d43c2 figRecorderServerThread + 794
7 CoreMedia 0x23aa79b8 figThreadMain + 208
8 libsystem_pthread.dylib 0x2182385a _pthread_body + 138
9 libsystem_pthread.dylib 0x218237ce _pthread_start + 110
10 libsystem_pthread.dylib 0x21821724 thread_start + 8
Thread 5 name: audio IO: VAD [vdef] Aggregate Device UID 1
Thread 5:
0 libsystem_kernel.dylib 0x2177a998 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x21822e26 _pthread_cond_wait + 594
2 libsystem_pthread.dylib 0x21822bd0 pthread_cond_timedwait_relative_np + 16
3 CoreAudio 0x23a38da4 HALB_Guard::WaitFor(unsigned long long) + 92
4 CoreAudio 0x239c9dea HALS_IOContext::IOWorkLoop_SleepUntilWakeTime(unsigned long long) + 142
5 CoreAudio 0x239ca9c0 HALS_IOContext::IOWorkLoop() + 3000
6 CoreAudio 0x239c60b4 HALS_IOContext::IOThreadEntry(void*) + 424
7 CoreAudio 0x239c5ec6 ___ZN14HALS_IOContextC2EP11HALS_SystemP11HALS_ClientNS0_10PowerStateE_block_invoke + 82
8 CoreAudio 0x239daa8c HALB_IOThread::Entry(void*) + 136
9 libsystem_pthread.dylib 0x2182385a _pthread_body + 138
10 libsystem_pthread.dylib 0x218237ce _pthread_start + 110
11 libsystem_pthread.dylib 0x21821724 thread_start + 8
Thread 6:
0 libsystem_kernel.dylib 0x21766938 semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x2166e90a _dispatch_semaphore_wait_slow + 126
2 libdispatch.dylib 0x2166df98 _dispatch_worker_thread + 116
3 libsystem_pthread.dylib 0x2182385a _pthread_body + 138
4 libsystem_pthread.dylib 0x218237ce _pthread_start + 110
5 libsystem_pthread.dylib 0x21821724 thread_start + 8
Thread 7:
0 libsystem_kernel.dylib 0x21766938 semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x2166e90a _dispatch_semaphore_wait_slow + 126
2 libdispatch.dylib 0x2166df98 _dispatch_worker_thread + 116
3 libsystem_pthread.dylib 0x2182385a _pthread_body + 138
4 libsystem_pthread.dylib 0x218237ce _pthread_start + 110
5 libsystem_pthread.dylib 0x21821724 thread_start + 8
Thread 8 name: Dispatch queue: AudioControl
Thread 8:
0 CoreMedia 0x23ae70e8 cmsUpdateMuteStatus + 0
1 CoreMedia 0x23ae629e cmsSetIsPlaying + 134
2 CoreMedia 0x23af1df6 __cmsFinalize_block_invoke + 54
3 libdispatch.dylib 0x21668df4 _dispatch_barrier_sync_f_slow + 540
4 CoreMedia 0x23af1c82 cmsFinalize + 78
5 CoreFoundation 0x219fb794 CFRelease + 424
6 libdispatch.dylib 0x2165d822 _dispatch_call_block_and_release + 10
7 libdispatch.dylib 0x2166c5e8 _dispatch_root_queue_drain + 1560
8 libdispatch.dylib 0x2166bfcc _dispatch_worker_thread3 + 96
9 libsystem_pthread.dylib 0x21821b28 _pthread_wqthread + 1024
10 libsystem_pthread.dylib 0x21821718 start_wqthread + 8
Thread 9:
0 libsystem_kernel.dylib 0x2177b864 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x21821b34 _pthread_wqthread + 1036
2 libsystem_pthread.dylib 0x21821718 start_wqthread + 8
Thread 10:
0 libsystem_kernel.dylib 0x21766938 semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x2166e90a _dispatch_semaphore_wait_slow + 126
2 libdispatch.dylib 0x2166df98 _dispatch_worker_thread + 116
3 libsystem_pthread.dylib 0x2182385a _pthread_body + 138
4 libsystem_pthread.dylib 0x218237ce _pthread_start + 110
5 libsystem_pthread.dylib 0x21821724 thread_start + 8
Thread 11:
0 libsystem_kernel.dylib 0x2177b864 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x21821b34 _pthread_wqthread + 1036
2 libsystem_pthread.dylib 0x21821718 start_wqthread + 8
Thread 12 name: Dispatch queue: com.apple.assertiond.processassertionconnection
Thread 12 Crashed:
0 libobjc.A.dylib 0x21297a66 objc_msgSend + 6
1 libdispatch.dylib 0x2165d822 _dispatch_call_block_and_release + 10
2 libdispatch.dylib 0x2166a422 _dispatch_queue_drain$VARIANT$mp + 1758
3 libdispatch.dylib 0x21669a60 _dispatch_queue_invoke$VARIANT$mp + 284
4 libdispatch.dylib 0x2166c15c _dispatch_root_queue_drain + 396
5 libdispatch.dylib 0x2166bfcc _dispatch_worker_thread3 + 96
6 libsystem_pthread.dylib 0x21821b28 _pthread_wqthread + 1024
7 libsystem_pthread.dylib 0x21821718 start_wqthread + 8
Thread 13:
0 libsystem_kernel.dylib 0x2177b864 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x21821b34 _pthread_wqthread + 1036
2 libsystem_pthread.dylib 0x21821718 start_wqthread + 8
Thread 12 crashed with ARM Thread State (32-bit):
r0: 0x15d7ec50 r1: 0x2314770f r2: 0x1f4210b0 r3: 0x15eb9630
r4: 0x15eb9630 r5: 0x002011e0 r6: 0x00000000 r7: 0x1f420ee8
r8: 0x00000000 r9: 0x815dba4b r10: 0x00201180 r11: 0x15e7be30
ip: 0xfe151ea5 sp: 0x1f420ee4 lr: 0x2165d823 pc: 0x21297a66
cpsr: 0x40000030
Binary Images:
[...]
Error Formulating Crash Report:
Failed while requesting activity/breadcrumb diagnostics
Thank you for reading me,
q
thank you Guru for your time,
It was indeed, memory related. I was loading a lot of GameObjects. A lot of these GameObjects were inactive so I thought they weren't taking a lot of memory.
I was wrong.
Rather than SetActive() methods, I now use the Instantiate, Destroy methods.
Related
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
My iOS application crashed. In crash log I've found such info:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 9
Thread 9 Crashed:
0 libsystem_kernel.dylib 0x39189c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x391eec1f _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x391eead8 start_wqthread + 4
I have no idea how to interpret this. There are some additional actions happening in other thread but they looks ok. Any idea why thread which does nothing crashed?
Full crash report:
Incident Identifier: 10D06EC1-B25F-47C3-99B8-6940748ACB87
CrashReporter Key: 5b7280661b8ec1e78028ed23448f54ab51a78b2c
Hardware Model: iPad4,5
Process: MyApp [4949]
Path: /var/mobile/Applications/584B97BE-1555-4B03-A00D-9A563AA71E48/MyApp.app/MyApp
Identifier: com.me.myapp
Version: 2.0.0.1 (2.0.0.1)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-08-07 10:58:24.111 +0200
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 9
Thread 0:
0 libsystem_kernel.dylib 0x39176a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39176849 mach_msg + 37
2 CoreFoundation 0x2dfc55e5 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2dfc3d4b __CFRunLoopRun + 859
4 CoreFoundation 0x2df2e725 CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2df2e507 CFRunLoopRunInMode + 103
6 GraphicsServices 0x32e676cf GSEventRunModal + 135
7 UIKit 0x3088f86d UIApplicationMain + 1133
8 Myapp 0x00186623 main (main.m:20)
9 libdyld.dylib 0x390d2ab5 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x39176804 kevent64 + 24
1 libdispatch.dylib 0x390c5051 _dispatch_mgr_invoke + 229
2 libdispatch.dylib 0x390bf2df _dispatch_mgr_thread + 35
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x39176a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39176849 mach_msg + 37
2 CoreFoundation 0x2dfc55e5 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2dfc3d05 __CFRunLoopRun + 789
4 CoreFoundation 0x2df2e725 CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2df2e507 CFRunLoopRunInMode + 103
6 Foundation 0x2e96f23d +[NSURLConnection(Loader) _resourceLoadLoop:] + 317
7 Foundation 0x2e9e4a0b __NSThread__main__ + 1059
8 libsystem_pthread.dylib 0x391f0957 _pthread_body + 139
9 libsystem_pthread.dylib 0x391f08c7 _pthread_start + 99
10 libsystem_pthread.dylib 0x391eeae4 thread_start + 4
Thread 3 name: com.apple.CFSocket.private
Thread 3:
0 libsystem_kernel.dylib 0x39189434 __select + 20
1 CoreFoundation 0x2dfc94df __CFSocketManager + 483
2 libsystem_pthread.dylib 0x391f0957 _pthread_body + 139
3 libsystem_pthread.dylib 0x391f08c7 _pthread_start + 99
4 libsystem_pthread.dylib 0x391eeae4 thread_start + 4
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x39176a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39176849 mach_msg + 37
2 CoreFoundation 0x2dfc55e5 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2dfc3d05 __CFRunLoopRun + 789
4 CoreFoundation 0x2df2e725 CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2df2e507 CFRunLoopRunInMode + 103
6 WebCore 0x364ccc71 RunWebThread(void*) + 417
7 libsystem_pthread.dylib 0x391f0957 _pthread_body + 139
8 libsystem_pthread.dylib 0x391f08c7 _pthread_start + 99
9 libsystem_pthread.dylib 0x391eeae4 thread_start + 4
Thread 5 name: JavaScriptCore::BlockFree
Thread 5:
0 libsystem_kernel.dylib 0x39188f2c __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x391eff63 _pthread_cond_wait + 519
2 libsystem_pthread.dylib 0x391f0d9d pthread_cond_wait + 37
3 JavaScriptCore 0x2ef5d309 JSC::BlockAllocator::blockFreeingThreadMain() + 205
4 JavaScriptCore 0x2ef5a971 WTF::wtfThreadEntryPoint(void*) + 13
5 libsystem_pthread.dylib 0x391f0957 _pthread_body + 139
6 libsystem_pthread.dylib 0x391f08c7 _pthread_start + 99
7 libsystem_pthread.dylib 0x391eeae4 thread_start + 4
Thread 6 name: JavaScriptCore::Marking
Thread 6:
0 libsystem_kernel.dylib 0x39188f2c __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x391eff63 _pthread_cond_wait + 519
2 libsystem_pthread.dylib 0x391f0d9d pthread_cond_wait + 37
3 JavaScriptCore 0x2f0fbcb3 JSC::GCThread::waitForNextPhase() + 75
4 JavaScriptCore 0x2f0fbd0d JSC::GCThread::gcThreadMain() + 49
5 JavaScriptCore 0x2ef5a971 WTF::wtfThreadEntryPoint(void*) + 13
6 libsystem_pthread.dylib 0x391f0957 _pthread_body + 139
7 libsystem_pthread.dylib 0x391f08c7 _pthread_start + 99
8 libsystem_pthread.dylib 0x391eeae4 thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x39176a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39176849 mach_msg + 37
2 CoreFoundation 0x2dfc55e5 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2dfc3d05 __CFRunLoopRun + 789
4 CoreFoundation 0x2df2e725 CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2df72347 CFRunLoopRun + 95
6 CoreMotion 0x2e5ed4fd ___lldb_unnamed_function1426$$CoreMotion + 725
7 libsystem_pthread.dylib 0x391f0957 _pthread_body + 139
8 libsystem_pthread.dylib 0x391f08c7 _pthread_start + 99
9 libsystem_pthread.dylib 0x391eeae4 thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x39188744 __lseek + 8
1 Foundation 0x2e9aa02f -[NSConcreteFileHandle readDataOfLength:] + 119
2 MyApp 0x001549b1 -[MyClass myMethod:] (MyClass.m:425)
3 MyApp 0x001540d9 -[MyClass myMethod:] (MyClass.m:425)
4 MyApp 0x004b58d9 -[MyClass myMethod:] (MyClass.m:425)
5 MyApp 0x004b6bff -[MyClass myMethod:] (MyClass.m:425)
6 MyApp 0x004b88e1 -[MyClass myMethod:] (MyClass.m:425)
7 MyApp 0x004b0203 -[MyClass myMethod:] (MyClass.m:425)
8 CoreFoundation 0x2dffe410 __invoking___ + 64
9 CoreFoundation 0x2df48963 -[NSInvocation invoke] + 283
10 Foundation 0x2e9d1d05 -[NSInvocationOperation main] + 109
11 Foundation 0x2e92f871 -[__NSOperationInternal _start:] + 769
12 Foundation 0x2e9d3741 __NSOQSchedule_f + 57
13 libdispatch.dylib 0x390c2cb9 _dispatch_queue_drain + 485
14 libdispatch.dylib 0x390bfc6b _dispatch_queue_invoke + 39
15 libdispatch.dylib 0x390c35ef _dispatch_root_queue_drain + 75
16 libdispatch.dylib 0x390c38d9 _dispatch_worker_thread2 + 53
17 libsystem_pthread.dylib 0x391eec15 _pthread_wqthread + 297
18 libsystem_pthread.dylib 0x391eead8 start_wqthread + 4
Thread 9 Crashed:
0 libsystem_kernel.dylib 0x39189c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x391eec1f _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x391eead8 start_wqthread + 4
Thread 10:
0 libsystem_c.dylib 0x3911ff65 usleep$NOCANCEL + 1
1 libsystem_c.dylib 0x39139ffd abort + 81
2 libsystem_malloc.dylib 0x391b772d szone_error + 313
3 libsystem_malloc.dylib 0x391b79ef free_tiny_botch + 63
4 CoreFoundation 0x2e012bb4 __CFBasicHashRehash + 2884
5 CoreFoundation 0x2e01362c __CFBasicHashAddValue + 96
6 CoreFoundation 0x2df2d850 CFBasicHashAddValue + 3320
7 CoreData 0x2dd6d861 _PFFastMOCObjectWillChange + 217
8 CoreData 0x2dd6d66f _PF_ManagedObject_WillChangeValueForKeyIndex + 211
9 CoreData 0x2dd6d4ff _sharedIMPL_setvfk_core + 107
10 MyApp 0x0019dcaf -[MyClass myMethod:] (MyClass.m:425)
11 MyApp 0x0019ec49 -[MyClass myMethod:] (MyClass.m:425)
12 CoreFoundation 0x2dffe410 __invoking___ + 64
13 CoreFoundation 0x2df48963 -[NSInvocation invoke] + 283
14 Foundation 0x2e9d1d05 -[NSInvocationOperation main] + 109
15 Foundation 0x2e92f871 -[__NSOperationInternal _start:] + 769
16 Foundation 0x2e9d3741 __NSOQSchedule_f + 57
17 libdispatch.dylib 0x390c2cb9 _dispatch_queue_drain + 485
18 libdispatch.dylib 0x390bfc6b _dispatch_queue_invoke + 39
19 libdispatch.dylib 0x390c35ef _dispatch_root_queue_drain + 75
20 libdispatch.dylib 0x390c38d9 _dispatch_worker_thread2 + 53
21 libsystem_pthread.dylib 0x391eec15 _pthread_wqthread + 297
22 libsystem_pthread.dylib 0x391eead8 start_wqthread + 4
Thread 9 crashed with ARM Thread State (32-bit):
r0: 0x00000004 r1: 0x00000000 r2: 0x00000000 r3: 0x00000000
r4: 0x276ea000 r5: 0x00060001 r6: 0x00008983 r7: 0x276e9fe0
r8: 0x00000000 r9: 0xfffffffb r10: 0x00000000 r11: 0x00000000
ip: 0x00000170 sp: 0x276e9fc8 lr: 0x391eec23 pc: 0x39189c70
cpsr: 0x40000010
I am getting weird crash in my application running in iOS 7 but in iOS 6 app is working fine. I am performing some operations. After 5-6 operations are completed I am experiencing this crash. This number can go till 20 also or 1 also. Attaching crash log with this.
Incident Identifier: 6702CA20-9832-4305-B723-588C6B33C199
CrashReporter Key: 0370a1a51d424d34102c66389c6b00b12585aa57
Hardware Model: iPad2,5
Process: mobile [2958]
Path:
Identifier:
Version: 2.0.0.401
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-06-02 13:35:50.243 +0530
OS Version: iOS 7.0.6 (11B651)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0xef264ee9
Triggered by Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x3af9eb22 objc_msgSend + 2
1 UIFoundation 0x38384d5e -[NSParagraphStyle _deallocExtraData] + 54
2 UIFoundation 0x383858ca -[NSParagraphStyle dealloc] + 22
3 CoreFoundation 0x3073d650 CFRelease + 552
4 CoreFoundation 0x30749a1e -[__NSDictionaryM dealloc] + 130
5 libobjc.A.dylib 0x3afaeb06 objc_object::sidetable_release(bool) + 170
6 UIKit 0x3304be68 -[UILabel dealloc] + 116
7 UIKit 0x32f80402 -[UIView dealloc] + 362
8 UIKit 0x3305223a -[UIScrollView dealloc] + 830
9 UIKit 0x33051cb4 -[UIScrollView removeFromSuperview] + 60
10 UIKit 0x32f80402 -[UIView dealloc] + 362
11 UIKit 0x33199088 -[_UIModalItemContentView dealloc] + 116
12 UIKit 0x3323d432 -[_UIModalItemAlertContentView dealloc] + 70
13 libobjc.A.dylib 0x3afa0002 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 354
14 CoreFoundation 0x3074097c _CFAutoreleasePoolPop + 12
15 CoreFoundation 0x307d80dc __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 12
16 CoreFoundation 0x307d7cf2 __CFRunLoopDoTimer + 778
17 CoreFoundation 0x307d608e __CFRunLoopRun + 1206
18 CoreFoundation 0x30740c22 CFRunLoopRunSpecific + 518
19 CoreFoundation 0x30740a06 CFRunLoopRunInMode + 102
20 GraphicsServices 0x3543427e GSEventRunModal + 134
21 UIKit 0x32fe4044 UIApplicationMain + 1132
22 mobile 0x0005d2c2 main (main.m:15)
23 libdyld.dylib 0x3b4abab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x3b54f83c kevent64 + 24
1 libdispatch.dylib 0x3b490210 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x3b48ff96 _dispatch_mgr_thread$VARIANT$mp + 34
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x3b54fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b54f888 mach_msg + 44
2 CoreFoundation 0x307d77be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x307d5ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x30740c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x30740a06 CFRunLoopRunInMode + 102
6 WebCore 0x3894e266 RunWebThread(void*) + 414
7 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
8 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
9 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 3:
0 libsystem_kernel.dylib 0x3b54fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b54f888 mach_msg + 44
2 CoreFoundation 0x307d77be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x307d5ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x30740c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x30740a06 CFRunLoopRunInMode + 102
6 libAVFAudio.dylib 0x2f7c3584 GenericRunLoopThread::Entry(void*) + 124
7 libAVFAudio.dylib 0x2f7b799c CAPThread::Entry(CAPThread*) + 176
8 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
9 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
10 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x3b562440 __select + 20
1 CoreFoundation 0x307db680 __CFSocketManager + 480
2 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
3 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
4 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 5 name: GCDAsyncSocket-CFStream
Thread 5:
0 libsystem_kernel.dylib 0x3b54fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b54f888 mach_msg + 44
2 CoreFoundation 0x307d77be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x307d5ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x30740c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x30740a06 CFRunLoopRunInMode + 102
6 Foundation 0x3112e3d6 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250
7 Foundation 0x3117f30c -[NSRunLoop(NSRunLoop) run] + 76
8 mobile 0x000f6228 +[GCDAsyncSocket cfstreamThread] (GCDAsyncSocket.m:6741)
9 Foundation 0x311f0c82 __NSThread__main__ + 1058
10 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
11 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
12 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 6 name: com.apple.NSURLConnectionLoader
Thread 6:
0 libsystem_kernel.dylib 0x3b54fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b54f888 mach_msg + 44
2 CoreFoundation 0x307d77be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x307d5ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x30740c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x30740a06 CFRunLoopRunInMode + 102
6 Foundation 0x3117b2f2 +[NSURLConnection(Loader) _resourceLoadLoop:] + 314
7 Foundation 0x311f0c82 __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
9 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
10 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x3b54fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b54f888 mach_msg + 44
2 CoreFoundation 0x307d77be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x307d5ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x30740c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x30784736 CFRunLoopRun + 94
6 CoreMotion 0x30df7230 ___lldb_unnamed_function1404$$CoreMotion + 724
7 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
8 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
9 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x3b562c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3b5c8dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3b5c8c80 start_wqthread + 4
Thread 9:
0 libsystem_kernel.dylib 0x3b562c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3b5c8dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3b5c8c80 start_wqthread + 4
Thread 10:
0 libsystem_kernel.dylib 0x3b562c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3b5c8dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3b5c8c80 start_wqthread + 4
Thread 11:
0 libsystem_kernel.dylib 0x3b562440 __select + 20
1 ExternalAccessory 0x31119352 -[EAInputStream _readInputFromAccThread] + 342
2 Foundation 0x311f0c82 __NSThread__main__ + 1058
3 libsystem_pthread.dylib 0x3b5cac1a _pthread_body + 138
4 libsystem_pthread.dylib 0x3b5cab8a _pthread_start + 98
5 libsystem_pthread.dylib 0x3b5c8c8c thread_start + 4
Thread 12:
0 libsystem_kernel.dylib 0x3b562c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3b5c8dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3b5c8c80 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0xef264ee9 r1: 0x33566b29 r2: 0x3cf673f0 r3: 0x00000001
r4: 0x160815a0 r5: 0x33566b29 r6: 0x0000002c r7: 0x27dc88ac
r8: 0x160815a4 r9: 0x158af438 r10: 0x14e8846c r11: 0x14e88430
ip: 0x3cf59864 sp: 0x27dc88a0 lr: 0x38384d63 pc: 0x3af9eb22
cpsr: 0x20000030
Your app crashes while a UILabel inside a UIScrollView inside an alert is deallocated. I'd suspect that either your app overwrites memory somewhere and this is just a symptom, or you are using some alert in a non-standard way, possibly changing a paragraph style somewhere in the alert in a way that's wrong.
First step would be to turn all reasonable warnings on in the compiler, use the static analyser to find problems, and fix all of them.
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