I relaunches the ios app from bacground to foreground - iphone restarts and says backbaordd crash
Please find the below crash logs for your reference
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000001
Triggered by Thread: 5
Thread 0:
0 libsystem_kernel.dylib 0x0000000192a7dca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000185e5ed20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000185e5cf14 __CFRunLoopRun + 932
3 CoreFoundation 0x0000000185d9ddcc CFRunLoopRunSpecific + 448
4 backboardd 0x00000001000e7a60 0x1000e0000 + 31328
5 libdyld.dylib 0x000000019299ba9c start + 0
Thread 1:
0 libsystem_kernel.dylib 0x0000000192a7daa8 kevent64 + 8
1 libdispatch.dylib 0x0000000192981998 _dispatch_mgr_thread + 48
Thread 2 name: com.apple.CoreAnimation.render-server
Thread 2:
0 libsystem_kernel.dylib 0x0000000192a7dca0 mach_msg_trap + 8
1 QuartzCore 0x0000000188b02a18 CA::Render::Server::server_thread(void*) + 236
2 QuartzCore 0x0000000188b9422c thread_fun + 24
3 libsystem_pthread.dylib 0x0000000192b17e18 _pthread_body + 164
4 libsystem_pthread.dylib 0x0000000192b17d70 _pthread_start + 136
5 libsystem_pthread.dylib 0x0000000192b15550 thread_start + 0
Thread 3:
0 libsystem_kernel.dylib 0x0000000192a7dca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000185e5ed20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000185e5ceb0 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000185d9ddcc CFRunLoopRunSpecific + 448
4 CoreFoundation 0x0000000185df3454 CFRunLoopRun + 108
5 IOMobileFramebuffer 0x000000018bf3e484 iomfb_runloop_thread + 312
6 libsystem_pthread.dylib 0x0000000192b17e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000192b17d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000192b15550 thread_start + 0
Thread 4 name: com.apple.CoreAnimation.IOMFB.wireless
Thread 4:
0 libsystem_kernel.dylib 0x0000000192a7dca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000185e5ed20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000185e5ceb0 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000185d9ddcc CFRunLoopRunSpecific + 448
4 CoreFoundation 0x0000000185df3454 CFRunLoopRun + 108
5 QuartzCore 0x0000000188b58a20 CA::WindowServer::IOMFBServer::thread_body(void*) + 344
6 QuartzCore 0x0000000188b9422c thread_fun + 24
7 libsystem_pthread.dylib 0x0000000192b17e18 _pthread_body + 164
8 libsystem_pthread.dylib 0x0000000192b17d70 _pthread_start + 136
9 libsystem_pthread.dylib 0x0000000192b15550 thread_start + 0
Thread 5 name: com.apple.CoreAnimation.IOMFB.primary
Thread 5 Crashed:
0 libGPUSupportMercury.dylib 0x000000018b658694 gpus_ReturnContextErrorKillClient + 12
1 AGXGLDriver 0x0000000184a77248 SubmitPackets + 196
2 AGXGLDriver 0x0000000184a6c3a0 glrSetPrivateInteger + 284
3 GLEngine 0x000000018870427c gliSetInteger + 4592
4 OpenGLES 0x00000001887f11e8 -[EAGLContext swapNotification:forTransaction:onLayer:] + 152
5 QuartzCore 0x0000000188b562c0 CA::WindowServer::IOMFBDisplay::finish_update(CA::Render::Update*, unsigned int) + 1348
6 QuartzCore 0x0000000188b5c0a8 CA::WindowServer::Server::render_for_time(double, CVTimeStamp const*) + 1536
7 QuartzCore 0x0000000188b58bf4 CA::WindowServer::IOMFBServer::vsync_callback(__IOMobileFramebuffer*, unsigned long long, unsigned long long, unsigned long long, void*) + 220
8 IOKit 0x0000000186d9fe70 IODispatchCalloutFromCFMessage + 360
9 CoreFoundation 0x0000000185e50a8c __CFMachPortPerform + 188
10 CoreFoundation 0x0000000185e5f03c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
11 CoreFoundation 0x0000000185e5ef9c __CFRunLoopDoSource1 + 440
12 CoreFoundation 0x0000000185e5d1c0 __CFRunLoopRun + 1616
13 CoreFoundation 0x0000000185d9ddcc CFRunLoopRunSpecific + 448
14 CoreFoundation 0x0000000185df3454 CFRunLoopRun + 108
15 QuartzCore 0x0000000188b58a20 CA::WindowServer::IOMFBServer::thread_body(void*) + 344
16 QuartzCore 0x0000000188b9422c thread_fun + 24
17 libsystem_pthread.dylib 0x0000000192b17e18 _pthread_body + 164
18 libsystem_pthread.dylib 0x0000000192b17d70 _pthread_start + 136
19 libsystem_pthread.dylib 0x0000000192b15550 thread_start + 0
Thread 6 name: IOHIDService - RunLoopCompatibilityThread
Thread 6:
0 libsystem_kernel.dylib 0x0000000192a7dca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000185e5ed20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000185e5ceb0 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000185d9ddcc CFRunLoopRunSpecific + 448
4 CoreFoundation 0x0000000185df3454 CFRunLoopRun + 108
5 IOKit 0x0000000186dc23bc __IOHIDServiceRunLoopCompatibilityThread + 184
6 libsystem_pthread.dylib 0x0000000192b17e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000192b17d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000192b15550 thread_start + 0
Totally what causes this issue and also kindly suggest me how to debug this issue..
Your app gets terminated by the ios for any one of the reason below,
High memory usage or the springboard crashes( springboard is application that manages the other applications like home screen, app icon etc).
Testing your application in jail broken devices.
Try to pause your animation stuff while resigning the application and resume them while user entering back to the application. Something like this,
- (void)applicationWillResignActive:(UIApplication *)application
{
// pause sprite kit
SKView *view = (SKView *)self.window.rootViewController.view;
view.paused = YES;
}
- (void)applicationDidBecomeActive:(UIApplication *)application
{
// resume sprite kit
SKView *view = (SKView *)self.window.rootViewController.view;
view.paused = NO;
}
Do you use OpenGL? Or some kind of framework, that works with camera.
Rendering surfaces is forbidden in background.
Try to handle background/foreground state changes to pause/resume rendering.
You can user UIApplicationDidEnterBackgroundNotification and UIApplicationWillEnterForegroundNotification for this.
Related
The iPad app crashes when we idle the app for sometime and then resume it from the lock state, the crash log is shown below the app freezes and to restrat the app we need to do the soft reset to the app
Incident Identifier: EDF8518C-EFE6-4E99-B462-B5FD7BC4C68C
CrashReporter Key: 59b53e06d0757c3331182b9eed3d03b9bc5194d4
Hardware Model: iPad2,1
Process: ll [2353]
Path: /private/var/mobile/Containers/Bundle/Application/CCD700F0-DDC1-4E4A-AC23-B424866AD7DF/ll.app/ll
Identifier: com.sw.ll
Version: 0.5.1 (0.5.1)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2015-05-27 14:19:32.184 +0530
Launch Time: 2015-05-27 13:49:22.619 +0530
OS Version: iOS 8.3 (12F69)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0xbbadbeef
Triggered by Thread: 4
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x3a38849c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a388290 mach_msg + 36
2 CoreFoundation 0x2ba577ee __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2ba55db4 __CFRunLoopRun + 1012
4 CoreFoundation 0x2b9a199c CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2b9a17ae CFRunLoopRunInMode + 102
6 GraphicsServices 0x331221a4 GSEventRunModal + 132
7 UIKit 0x2f12c690 UIApplicationMain + 1436
8 ll 0x000e6e3a 0xb3000 + 212538
9 libdyld.dylib 0x3a2d5aac start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x3a38824c kevent64 + 24
1 libdispatch.dylib 0x3a2a84ec _dispatch_mgr_invoke + 276
2 libdispatch.dylib 0x3a2a821e _dispatch_mgr_thread$VARIANT$mp + 34
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x3a38849c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a388290 mach_msg + 36
2 CoreFoundation 0x2ba577ee __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2ba55db4 __CFRunLoopRun + 1012
4 CoreFoundation 0x2b9a199c CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2b9a17ae CFRunLoopRunInMode + 102
6 CFNetwork 0x2b53f642 +[NSURLConnection(Loader) _resourceLoadLoop:] + 482
7 Foundation 0x2c7d0186 __NSThread__main__ + 1114
8 libsystem_pthread.dylib 0x3a41bde8 _pthread_body + 136
9 libsystem_pthread.dylib 0x3a41bd5a _pthread_start + 114
10 libsystem_pthread.dylib 0x3a419b04 thread_start + 4
Thread 3:
0 libsystem_kernel.dylib 0x3a38849c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a388290 mach_msg + 36
2 CoreFoundation 0x2ba577ee __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2ba55db4 __CFRunLoopRun + 1012
4 CoreFoundation 0x2b9a199c CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2b9eb366 CFRunLoopRun + 94
6 CoreMotion 0x2c2b6ab6 0x2c271000 + 285366
7 libsystem_pthread.dylib 0x3a41bde8 _pthread_body + 136
8 libsystem_pthread.dylib 0x3a41bd5a _pthread_start + 114
9 libsystem_pthread.dylib 0x3a419b04 thread_start + 4
Thread 4 name: WebThread
Thread 4 Crashed:
0 JavaScriptCore 0x2cf99286 WTFCrash + 54
1 JavaScriptCore 0x2cedca80 JSC::JSLock::DropAllLocks::DropAllLocks(JSC::VM*) + 176
2 WebCore 0x375fec7c SendDelegateMessage(NSInvocation*) + 180
3 WebKitLegacy 0x3811c42a CallResourceLoadDelegate(objc_object* (*)(objc_object*, objc_selector*, ...), WebView*, objc_selector, objc_object*, objc_object*, objc_object*) + 206
4 WebKitLegacy 0x381036b6 WebFrameLoaderClient::dispatchDidFailLoading(WebCore::DocumentLoader*, unsigned long, WebCore::ResourceError const&) + 202
5 WebCore 0x3762c5e2 WebCore::ResourceLoadNotifier::didFailToLoad(WebCore::ResourceLoader*, WebCore::ResourceError const&) + 62
6 WebCore 0x3762bf44 WebCore::ResourceLoader::cancel(WebCore::ResourceError const&) + 316
7 WebCore 0x3762bdf2 WebCore::ResourceLoader::cancel() + 50
8 WebCore 0x375a753e WebCore::CachedResource::removeClient(WebCore::CachedResourceClient*) + 390
9 WebCore 0x37f8badc WebCore::WebCoreAVFResourceLoader::invalidate() + 24
10 WebCore 0x37cf45a2 WebCore::MediaPlayerPrivateAVFoundationObjC::~MediaPlayerPrivateAVFoundationObjC() + 262
11 WebCore 0x37cf4ce0 WebCore::MediaPlayerPrivateAVFoundationObjC::~MediaPlayerPrivateAVFoundationObjC() + 4
12 WebCore 0x37cf00ca WebCore::MediaPlayer::~MediaPlayer() + 110
13 WebCore 0x37cf010c WebCore::MediaPlayer::~MediaPlayer() + 4
14 WebCore 0x3798ba8e WebCore::HTMLMediaElement::~HTMLMediaElement() + 842
15 WebCore 0x3796f9d8 WebCore::HTMLAudioElement::~HTMLAudioElement() + 4
16 WebCore 0x37cd96a4 WebCore::LiveNodeList::~LiveNodeList() + 40
17 WebCore 0x37f2c54e WebCore::CachedLiveNodeList<WebCore::HTMLTagNodeList>::~CachedLiveNodeList() + 138
18 WebCore 0x3768f00e WebCore::HTMLTagNodeList::~HTMLTagNodeList() + 78
19 WebCore 0x3768eb28 WebCore::JSNodeListOwner::finalize(JSC::Handle<JSC::Unknown>, void*) + 276
20 JavaScriptCore 0x2cd1f654 JSC::WeakBlock::sweep() + 72
21 JavaScriptCore 0x2ccbe7f0 JSC::WeakSet::sweep() + 16
22 JavaScriptCore 0x2ccbe79a JSC::MarkedBlock::sweep(JSC::MarkedBlock::SweepMode) + 14
23 JavaScriptCore 0x2cf25dd0 JSC::MarkedAllocator::tryAllocateHelper(unsigned long) + 128
24 JavaScriptCore 0x2ccbdfee JSC::MarkedAllocator::allocateSlowCase(unsigned long) + 114
I'm uploading the screen where the break point will be paused
This is an EXC_BAD_ACCESS type of code which relates to accessing deallocated memory. In order to find this you need to enable NSZombie objects. Press Option/alt + Command + R and select the "Diagnostics" tab. Finally, click "Enable Zombie Objects". This should make the compiler stop on the line of code that is causing this crash.
Apple documents about Application with Diagnostics
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.
Looks like it's related to the network thread, most other threads are in a "mach_msg_trap" state. The 4th thread on the list is the one that crashed. I'm using AFNetworking on iOS 7.1
I appreciate any idea or thought that might help me investigate this issue.
Threads
_________________________________
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 CoreFoundation 0x2e91e559 __CFRunLoopServiceMachPort + 157
2 CoreFoundation 0x2e91ccbf __CFRunLoopRun + 863
3 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e887253 CFRunLoopRunInMode + 107
5 GraphicsServices 0x335c12eb GSEventRunModal + 139
6 UIKit 0x3113c845 UIApplicationMain + 1137
7 Vieu 0x000f4f87 main (main.m:17)
8 libdyld.dylib 0x391a9ab7 start + 3
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924d838 kevent64 + 24
1 libdispatch.dylib 0x39196623 _dispatch_mgr_thread + 39
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 CoreFoundation 0x2e91e559 __CFRunLoopServiceMachPort + 157
2 CoreFoundation 0x2e91cc79 __CFRunLoopRun + 793
3 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e8cb0db CFRunLoopRun + 99
5 CoreMotion 0x2ef3f369 CLSF_thorntonUpdate_6x6 + 57225
6 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
7 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
8 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name (Crashed)
0 libdispatch.dylib 0x39199758 _dispatch_barrier_sync_f_slow + 120
1 libsystem_network.dylib 0x3929c2df tcp_connection_cancel + 107
2 CFNetwork 0x2e54d3d9 _ZN12SocketStreamD2Ev + 89
3 CFNetwork 0x2e54d371 _ZN12SocketStreamD1Ev + 21
4 CoreFoundation 0x2e883e2f CFRelease + 467
5 CFNetwork 0x2e54cd69 _ZN27CoreReadStreamWithCallBacksD2Ev + 45
6 CoreFoundation 0x2e883e2f CFRelease + 467
7 CFNetwork 0x2e56b437 _ZN14HTTPReadFilterD2Ev + 115
8 CoreFoundation 0x2e883e2f CFRelease + 467
9 CFNetwork 0x2e56b2a7 _ZN13NetConnectionD2Ev + 99
10 CFNetwork 0x2e56b23f _ZN17HTTPNetConnectionD2Ev + 79
11 CFNetwork 0x2e56b1a3 _ZN24HTTPNetConnection_NoAuthD0Ev + 11
12 CoreFoundation 0x2e8fcab9 __CFArrayReleaseValues + 197
13 CoreFoundation 0x2e883e2f CFRelease + 467
14 CFNetwork 0x2e5b05af _ZN24HTTPConnectionCacheEntry20purgeIdleConnectionsEdd + 271
15 CFNetwork 0x2e56b9d1 _ZN19HTTPConnectionCache16performIdleSweepEv + 161
16 CFNetwork 0x2e5aea6f _ZN19HTTPConnectionCache26timeoutIdleCellConnectionsEv + 23
17 CFNetwork 0x2e5ee337 ___ZNK17CoreSchedulingSet13_performAsyncEPKcU13block_pointerFvvE_block_invoke + 19
18 CoreFoundation 0x2e886ea1 CFArrayApplyFunction + 37
19 CFNetwork 0x2e554e05 _ZN19RunloopBlockContext7performEv + 165
20 CFNetwork 0x2e554cd5 _ZN17MultiplexerSource7performEv + 221
21 CFNetwork 0x2e554b65 _ZN17MultiplexerSource8_performEPv + 49
22 CoreFoundation 0x2e91ef1f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
23 CoreFoundation 0x2e91e3e7 __CFRunLoopDoSources0 + 207
24 CoreFoundation 0x2e91cbd7 __CFRunLoopRun + 631
25 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
26 CoreFoundation 0x2e887253 CFRunLoopRunInMode + 107
27 Foundation 0x2f2c24c1 +[NSURLConnection(Loader) _resourceLoadLoop:] + 321
28 Foundation 0x2f337c37 __NSThread__main__ + 1063
29 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
30 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
31 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x39260440 __select + 20
1 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
2 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
3 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 CoreFoundation 0x2e91e559 __CFRunLoopServiceMachPort + 157
2 CoreFoundation 0x2e91cc79 __CFRunLoopRun + 793
3 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e887253 CFRunLoopRunInMode + 107
5 Foundation 0x2f275697 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 255
6 Foundation 0x2f2c64d9 -[NSRunLoop(NSRunLoop) run] + 81
7 Vieu 0x000c9c9b +[AFURLConnectionOperation networkRequestThreadEntryPoint:] (AFURLConnectionOperation.m:149)
8 Foundation 0x2f337c37 __NSThread__main__ + 1063
9 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
10 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
11 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924dad4 semaphore_wait_trap + 8
1 MediaToolbox 0x2fd76a0f fpa_AsyncMovieControlThread + 1755
2 CoreMedia 0x2eeb3217 figThreadMain + 195
3 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
4 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
5 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 CoreFoundation 0x2e91e559 __CFRunLoopServiceMachPort + 157
2 CoreFoundation 0x2e91cc79 __CFRunLoopRun + 793
3 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e887253 CFRunLoopRunInMode + 107
5 libAVFAudio.dylib 0x2d8f65b3 _ZN20GenericRunLoopThread5EntryEPv + 131
6 libAVFAudio.dylib 0x2d8eaaff _ZN9CAPThread5EntryEPS_ + 179
7 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
8 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
9 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 MediaToolbox 0x2fd7ce19 FigExpressNotificationThread + 89
2 CoreMedia 0x2eeb3217 figThreadMain + 195
3 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
4 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
5 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x39260c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x392c4cc4 start_wqthread + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 CoreFoundation 0x2e91e559 __CFRunLoopServiceMachPort + 157
2 CoreFoundation 0x2e91cc79 __CFRunLoopRun + 793
3 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e887253 CFRunLoopRunInMode + 107
5 libAVFAudio.dylib 0x2d8f65b3 _ZN20GenericRunLoopThread5EntryEPv + 131
6 libAVFAudio.dylib 0x2d8eaaff _ZN9CAPThread5EntryEPS_ + 179
7 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
8 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
9 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 CoreFoundation 0x2e91e559 __CFRunLoopServiceMachPort + 157
2 CoreFoundation 0x2e91cc79 __CFRunLoopRun + 793
3 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e887253 CFRunLoopRunInMode + 107
5 AudioToolbox 0x2e25e46b _ZN20GenericRunLoopThread5EntryEPv + 131
6 AudioToolbox 0x2e244773 _ZN9CAPThread5EntryEPS_ + 211
7 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
8 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
9 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x39260c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x392c4cc4 start_wqthread + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x39260c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x392c4cc4 start_wqthread + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x39260c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x392c4cc4 start_wqthread + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x39260c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x392c4cc4 start_wqthread + 8
Crashed Registers
_________________________________
r12 0x3b0882ec
r10 0x2f1a9ec
r11 0x394687e0
cpsr 0x20000030
r4 0x18832b90
r5 0x6c03
r6 0x1013380
r7 0x2f1a9e0
r0 0x2f1a96c
r1 0x200
r2 0x0
r3 0x200
sp 0x2f1a96c
r8 0x3929c2e9
r9 0x0
pc 0x39199758
lr 0x3929c2df
It seems that you need investigate calls of these functions: mach_msg_trap and semaphore_wait_trap. It is the main reason of crash. Sometimes calls of these methods at the top of stack are indicators of receiving deadlock. Here some links for investigation:
IOS semaphore_wait_trap on main thread causing hang in UI
http://iphonedevsdk.com/forum/iphone-sdk-development/7354-what-means-mach-msg-trap.html
Deadlock using AFIncrementalStore and NSFetchedResultsController
Try to reproduce crash by starting application, open url connections, send application to background, wait few seconds and then bring it to foreground.
I couldn't understand where is my problem. My apps crash on launch with this crash log.
iOS 7.0.2 (11A501) Report Version: 104
Exception Type: 00000020 Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
Application Specific Information: com.myapps failed
to launch in time
Elapsed total CPU time (seconds): 4.420 (user 4.420, system 0.000),
10% CPU Elapsed application CPU time (seconds): 0.714, 2% CPU
Thread 0: 0 libsystem_kernel.dylib 0x3878ead4
semaphore_wait_trap + 8 1 libdispatch.dylib 0x386dbdec
_dispatch_semaphore_wait_slow + 172 2 CFNetwork 0x2dabab16 CFURLConnectionSendSynchronousRequest + 266 3 Foundation
0x2e883a4e +[NSURLConnection
sendSynchronousRequest:returningResponse:error:] + 110 4 Foundation
0x2e8d8c80 -[NSString initWithContentsOfURL:encoding:error:] + 188 5
QuizPatente! 0x0004d980 0x3e000 + 63872 6
QuizPatente! 0x00048820 0x3e000 + 43040 7
QuizPatente! 0x00048644 0x3e000 + 42564 8 UIKit
0x306fc020 -[UIApplication _stopDeactivatingForReason:] + 376 9
UIKit 0x306e762c -[UIApplication
_runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 1092 10 UIKit 0x30681be2 -[UIApplication handleEvent:withNewEvent:] + 3138 11 UIKit
0x30680ed8 -[UIApplication sendEvent:] + 68 12 UIKit
0x306e6c9c _UIApplicationHandleEvent + 660 13 GraphicsServices
0x32b6276a _PurpleEventCallback + 606 14 GraphicsServices
0x32b62352 PurpleEventCallback + 30 15 CoreFoundation
0x2dec177c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION
+ 32 16 CoreFoundation 0x2dec1716 __CFRunLoopDoSource1 + 342 17 CoreFoundation 0x2debfee2 __CFRunLoopRun + 1402 18 CoreFoundation
0x2de2a53c CFRunLoopRunSpecific + 520 19 CoreFoundation
0x2de2a31e CFRunLoopRunInMode + 102 20 UIKit
0x306e5f3e -[UIApplication _run] + 758 21 UIKit
0x306e11e0 UIApplicationMain + 1132 22 QuizPatente!
0x00045a28 0x3e000 + 31272 23 libdyld.dylib
0x386eaab4 start + 0
Thread 1: 0 libsystem_kernel.dylib 0x3878e838 kevent64 + 24
1 libdispatch.dylib 0x386dd0d0 _dispatch_mgr_invoke +
228 2 libdispatch.dylib 0x386d763e _dispatch_mgr_thread
+ 34
Thread 2: 0 libsystem_kernel.dylib 0x3878ead4
semaphore_wait_trap + 8 1 libdispatch.dylib 0x386dbf90
_dispatch_group_wait_slow + 168 2 GameCenterFoundation 0x2ea86dc4 __35-[GKDaemonProxy buildServiceLookup]_block_invoke + 628
3 libdispatch.dylib 0x386d6100
_dispatch_call_block_and_release + 8 4 libdispatch.dylib 0x386dae72 _dispatch_queue_drain + 370 5 libdispatch.dylib
0x386d7f96 _dispatch_queue_invoke + 38 6 libdispatch.dylib
0x386db74e _dispatch_root_queue_drain + 74 7 libdispatch.dylib
0x386db9cc _dispatch_worker_thread2 + 52 8 libsystem_pthread.dylib
0x38805dfc _pthread_wqthread + 296 9 libsystem_pthread.dylib
0x38805cc0 start_wqthread + 4
Thread 3: 0 libsystem_kernel.dylib 0x387a1c7c
__workq_kernreturn + 8 1 libsystem_pthread.dylib 0x38805e06 _pthread_wqthread + 306 2 libsystem_pthread.dylib 0x38805cc0 start_wqthread + 4
Thread 4: 0 libsystem_kernel.dylib 0x387a1c7c
__workq_kernreturn + 8 1 libsystem_pthread.dylib 0x38805e06 _pthread_wqthread + 306 2 libsystem_pthread.dylib 0x38805cc0 start_wqthread + 4
Thread 5: 0 libsystem_kernel.dylib 0x387a0f38
psynch_cvwait + 24 1 libsystem_pthread.dylib 0x38807262 _pthread_cond_wait + 538 2 libsystem_pthread.dylib 0x3880803c pthread_cond_wait + 36 3 Foundation 0x2e86574a
-[NSCondition wait] + 190 4 QuizPatente! 0x0026c5b0 0x3e000 + 2287024 5 Foundation
0x2e8dadc2 _NSThread_main + 1058 6 libsystem_pthread.dylib
0x38807c5a _pthread_body + 138 7 libsystem_pthread.dylib
0x38807bca _pthread_start + 98 8 libsystem_pthread.dylib
0x38805ccc thread_start + 4
Thread 6: 0 libsystem_kernel.dylib 0x3878ea84 mach_msg_trap
+ 20 1 libsystem_kernel.dylib 0x3878e87c mach_msg + 36 2 CoreFoundation 0x2dec155c CFRunLoopServiceMachPort +
152 3 CoreFoundation 0x2debfc7c __CFRunLoopRun + 788
4 CoreFoundation 0x2de2a53c CFRunLoopRunSpecific +
520 5 CoreFoundation 0x2de6e1a6 CFRunLoopRun + 94 6
QuizPatente! 0x001ec3b4 0x3e000 + 1762228 7
Foundation 0x2e8dadc2 _NSThread_main + 1058 8
libsystem_pthread.dylib 0x38807c5a _pthread_body + 138 9
libsystem_pthread.dylib 0x38807bca _pthread_start + 98 10
libsystem_pthread.dylib 0x38805ccc thread_start + 4
Thread 7 name: com.apple.NSURLConnectionLoader Thread 7: 0
libsystem_kernel.dylib 0x3878ea84 mach_msg_trap + 20 1
libsystem_kernel.dylib 0x3878e87c mach_msg + 36 2
CoreFoundation 0x2dec155c CFRunLoopServiceMachPort +
152 3 CoreFoundation 0x2debfc7c __CFRunLoopRun + 788
4 CoreFoundation 0x2de2a53c CFRunLoopRunSpecific +
520 5 CoreFoundation 0x2de2a31e CFRunLoopRunInMode +
102 6 Foundation 0x2e86564c
+[NSURLConnection(Loader) _resourceLoadLoop:] + 316 7 Foundation 0x2e8dadc2 _NSThread_main + 1058 8 libsystem_pthread.dylib
0x38807c5a _pthread_body + 138 9 libsystem_pthread.dylib
0x38807bca _pthread_start + 98 10 libsystem_pthread.dylib
0x38805ccc thread_start + 4
Thread 8: 0 libsystem_kernel.dylib 0x3878ea84 mach_msg_trap
+ 20 1 libsystem_kernel.dylib 0x3878e87c mach_msg + 36 2 CoreFoundation 0x2dec155c CFRunLoopServiceMachPort +
152 3 CoreFoundation 0x2debfc7c __CFRunLoopRun + 788
4 CoreFoundation 0x2de2a53c CFRunLoopRunSpecific +
520 5 CoreFoundation 0x2de2a31e CFRunLoopRunInMode +
102 6 Foundation 0x2e818822
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250 7 Foundation 0x2e869664 -[NSRunLoop(NSRunLoop) run] + 76 8 QuizPatente!
0x000e9fd4 0x3e000 + 704468 9 Foundation
0x2e8dadc2 _NSThread_main + 1058 10 libsystem_pthread.dylib
0x38807c5a _pthread_body + 138 11 libsystem_pthread.dylib
0x38807bca _pthread_start + 98 12 libsystem_pthread.dylib
0x38805ccc thread_start + 4
Thread 9: 0 libsystem_kernel.dylib 0x3878ea84 mach_msg_trap
+ 20 1 libsystem_kernel.dylib 0x3878e87c mach_msg + 36 2 CoreFoundation 0x2dec155c __CFRunLoopServiceMachPort +
152 3 CoreFoundation 0x2debfc7c _CFRunLoopRun + 788
4 CoreFoundation 0x2de2a53c CFRunLoopRunSpecific +
520 5 CoreFoundation 0x2de6e1a6 CFRunLoopRun + 94 6
CoreMotion 0x2e4e2394
__lldb_unnamed_function1407$$CoreMotion + 724 7 libsystem_pthread.dylib 0x38807c5a _pthread_body + 138 8
libsystem_pthread.dylib 0x38807bca _pthread_start + 98 9
libsystem_pthread.dylib 0x38805ccc thread_start + 4
I update my app today. The strange behavior has come only when the app is updated. If users reinstall the app it work fine.
Based on:
Application Specific Information: com.myapps failed to launch in time
Elapsed total CPU time (seconds): 4.420 (user 4.420, system 0.000),
10% CPU Elapsed application CPU time (seconds): 0.714, 2% CPU
it looks like your app is not returning from application:didFinishLaunchingWithOptions: in time.
You are probably doing something in that method that is blocking the thread and preventing it from returning.
The most frequent crash we're seeing from customers is an exception (0xbbadbeef always in WebThread, thread #2) from _WebTryThreadLock. Usually the crashes contain other threads (main thread included) that has nothing specific to do with our code. We can't reproduce it internally. We've looked in cases in our code where we might be using UIWebView's from other threads but we've found nothing. We always unset the webview's delegate before it's freed.
We see this from all kinds of devices and from what I can see any iOS version (in the 5.x-current range). Based on logs, it does appear that it primarily happens when the application is resumed from background.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xbbadbeef
Crashed Thread: 2
Thread 0 name: Dispatch queue: com.apple.root.default-priority
Thread 0:
0 libsystem_kernel.dylib 0x328e31d4 madvise + 8
1 ImageIO 0x3306c550 CGImageRead_willNeed + 52
2 ImageIO 0x331bcd98 __copyImageBlockSetPNG_block_invoke_0 + 476
3 libdispatch.dylib 0x35d03a68 _dispatch_apply_serial + 16
4 libdispatch.dylib 0x35cf44b4 _dispatch_client_callout + 20
5 libdispatch.dylib 0x35d02886 _dispatch_sync_f_invoke + 22
6 ImageIO 0x331bb446 copyImageBlockSetPNG + 2102
7 ImageIO 0x3306b53e ImageProviderCopyImageBlockSetCallback + 510
8 CoreGraphics 0x33fc59d6 CGImageProviderCopyImageBlockSetWithOptions + 158
9 QuartzCore 0x3a4f474c CA::Render::create_image(CGImage*, CGColorSpace*, unsigned int) + 668
10 QuartzCore 0x3a4f433a CA::Render::copy_image(CGImage*, CGColorSpace*, unsigned int, double) + 254
11 QuartzCore 0x3a4f4226 CA::Render::prepare_image(CGImage*, CGColorSpace*, unsigned int, double) + 14
12 QuartzCore 0x3a4e2af0 CA::Layer::prepare_commit(CA::Transaction*) + 416
13 QuartzCore 0x3a4e221e CA::Context::commit_transaction(CA::Transaction*) + 242
14 QuartzCore 0x3a4e2024 CA::Transaction::commit() + 312
15 UIKit 0x3af260b6 -[UIApplication _reportAppLaunchFinished] + 38
[...]
Thread 2 name: WebThread
Thread 2 Crashed:
0 WebCore 0x379a99ca _WebTryThreadLock(bool) + 298
1 WebCore 0x379a988a WebRunLoopLock(__CFRunLoopObserver*, unsigned long, void*) + 42
2 CoreFoundation 0x336da6ca __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
3 CoreFoundation 0x336d89bc __CFRunLoopDoObservers + 272
4 CoreFoundation 0x336d8c8c __CFRunLoopRun + 604
5 CoreFoundation 0x3364beb8 CFRunLoopRunSpecific + 352
6 CoreFoundation 0x3364bd44 CFRunLoopRunInMode + 100
7 WebCore 0x379a7a40 RunWebThread(void*) + 440
8 libsystem_c.dylib 0x35d3e30e _pthread_start + 306
9 libsystem_c.dylib 0x35d3e1d4 thread_start + 4
[...]
Thread 5 name: JavaScriptCore::BlockFree
Thread 5:
0 libsystem_kernel.dylib 0x328f308c __psynch_cvwait + 24
1 libsystem_c.dylib 0x35d36d2a _pthread_cond_wait + 642
2 libsystem_c.dylib 0x35d36aa0 pthread_cond_timedwait + 40
3 JavaScriptCore 0x39b67c70 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 104
4 JavaScriptCore 0x39c79552 JSC::BlockAllocator::blockFreeingThreadMain() + 78
5 JavaScriptCore 0x39c8bfa8 WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_c.dylib 0x35d3e30e _pthread_start + 306
7 libsystem_c.dylib 0x35d3e1d4 thread_start + 4
Thread 6 name: WebCore: CFNetwork Loader
Thread 6:
0 libsystem_kernel.dylib 0x328e2eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x328e3048 mach_msg + 36
2 CoreFoundation 0x336da040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x336d8d9e __CFRunLoopRun + 878
4 CoreFoundation 0x3364beb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3364bd44 CFRunLoopRunInMode + 100
6 WebCore 0x37a42f6a WebCore::runLoaderThread(void*) + 138
7 JavaScriptCore 0x39c8bfa8 WTF::wtfThreadEntryPoint(void*) + 12
8 libsystem_c.dylib 0x35d3e30e _pthread_start + 306
9 libsystem_c.dylib 0x35d3e1d4 thread_start + 4
Per my project's current experience, this is an example of the WebKit running out of memory due to memory leaks in the GWT application that we are trying to fix.