How to resolve "SpringBoard quit unexpected" issues?
I don't use Test Cloud, would anyone be able to explain in detail what is happening?
Process: SpringBoard [7365] Path:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/CoreServices/SpringBoard.app/SpringBoard
Identifier: SpringBoard Version: 1.0 (50) Code Type: X86 (Native)
Parent Process: launchd_sim [7247] Responsible: launchd_sim [7247]
User ID: 501
Date/Time: 2015-07-12 18:27:14.767 +0700 OS Version: Mac OS X 10.10.4
(14E46) Report Version: 11 Anonymous UUID:
4F86C8E2-284F-6FD5-30D3-E2519C6D5409
Time Awake Since Boot: 36000 seconds
Crashed Thread: 8 Dispatch queue:
com.apple.frontboard.applicationLibrary.taskQueue
Exception Type: EXC_CRASH (SIGABRT) Exception Codes:
0x0000000000000000, 0x0000000000000000
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Application is required.'
terminating with uncaught exception of type NSException abort() called
CoreSimulator 110.4 - Device: iPhone 4s - Runtime: iOS 8.1 (12B411) -
DeviceType: iPhone 4s
Application Specific Backtrace 1: 0 CoreFoundation 0x0821c946
exceptionPreprocess + 182 1 libobjc.A.dylib 0x07cffa97
objc_exception_throw + 44 2 CoreFoundation 0x0821c7da +[NSException
raise:format:arguments:] + 138 3 Foundation 0x04059810
-[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 118 4
FrontBoard 0x01d09b66 __47-[FBApplicationLibrary
applicationsDidInstall:]block_invoke_2 + 335 5 FrontBoard 0x01d0998f
__47-[FBApplicationLibrary applicationsDidInstall:]_block_invoke + 1784 6 libdispatch.dylib 0x087f303f _dispatch_client_callout + 14 7
libdispatch.dylib 0x087dadb8 _dispatch_barrier_sync_f_invoke + 79 8
libdispatch.dylib 0x087da8ea dispatch_barrier_sync_f + 105 9
libdispatch.dylib 0x087dae40 dispatch_barrier_sync + 54 10 FrontBoard
0x01d091ca -[FBApplicationLibrary applicationsDidInstall:] + 292 11
MobileCoreServices 0x060e5ce9 -[LSApplicationWorkspaceRemoteObserver
applicationsDidInstall:] + 233 12 CoreFoundation 0x080ff76d __invoking
+ 29 13 CoreFoundation 0x080ff618 -[NSInvocation invoke] + 360 14 Foundation 0x041913fd
NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT + 30 15 Foundation
0x0401f568 -[NSXPCConnection _decodeAndInvokeMessageWithData:] + 1881
16 Foundation 0x0401bbb5 message_handler + 721 17 Foundation
0x0401b8cd __51-[NSXPCConnection
initWithMachServiceName:options:]_block_invoke + 20 18 libxpc.dylib
0x08ac1973 _xpc_connection_call_event_handler + 65 19 libxpc.dylib
0x08ac1779 _xpc_connection_mach_event + 2278 20 libdispatch.dylib
0x087f3121 _dispatch_client_callout4 + 37 21 libdispatch.dylib
0x087e35a9 _dispatch_mach_msg_invoke + 318 22 libdispatch.dylib
0x087dbc1b _dispatch_queue_drain + 527 23 libdispatch.dylib 0x087e3ab7
_dispatch_mach_invoke + 225 24 libdispatch.dylib 0x087dbc1b _dispatch_queue_drain + 527 25 libdispatch.dylib 0x087db8ac _dispatch_queue_invoke + 197 26 libdispatch.dylib 0x087dd9e7 _dispatch_root_queue_drain + 367 27 libdispatch.dylib 0x087de985 _dispatch_worker_thread3 + 108 28 libsystem_pthread.dylib 0x08b491da _pthread_wqthread + 724 29 libsystem_pthread.dylib 0x08b46e2e start_wqthread + 30
Thread 0:: Dispatch queue: com.apple.main-thread 0
libsystem_kernel.dylib 0x08b169ce mach_msg_trap + 10 1
libsystem_kernel.dylib 0x08b15a70 mach_msg + 68 2
com.apple.CoreFoundation 0x08136026 __CFRunLoopServiceMachPort + 214 3
com.apple.CoreFoundation 0x08135408 __CFRunLoopRun + 1400 4
com.apple.CoreFoundation 0x08134bcb CFRunLoopRunSpecific + 443 5
com.apple.CoreFoundation 0x081349fb CFRunLoopRunInMode + 123 6
com.apple.GraphicsServices 0x043ef24f GSEventRunModal + 192 7
com.apple.GraphicsServices 0x043ef08c GSEventRun + 104 8
com.apple.UIKit 0x0096d8b6 UIApplicationMain + 1526 9
com.apple.springboard 0x0007e4b0 0x76000 + 33968 10 libdyld.dylib
0x08819ac9 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0
libsystem_kernel.dylib 0x08b1d8ce kevent64 + 10 1 libdispatch.dylib
0x087e23be _dispatch_mgr_invoke + 245 2 libdispatch.dylib 0x087e2116
_dispatch_mgr_thread + 60
Thread 2: 0 libsystem_kernel.dylib 0x08b169ce mach_msg_trap + 10 1
libsystem_kernel.dylib 0x08b15a70 mach_msg + 68 2
com.apple.CoreFoundation 0x08136026 CFRunLoopServiceMachPort + 214 3
com.apple.CoreFoundation 0x08135408 __CFRunLoopRun + 1400 4
com.apple.CoreFoundation 0x08134bcb CFRunLoopRunSpecific + 443 5
com.apple.CoreFoundation 0x081349fb CFRunLoopRunInMode + 123 6
com.apple.Foundation 0x03fecd98 -[NSRunLoop(NSRunLoop)
runMode:beforeDate:] + 309 7 com.apple.Foundation 0x0408c67b
-[NSRunLoop(NSRunLoop) run] + 82 8 com.apple.UIKit 0x00ea982b -[UIStatusBarServerThread main] + 796 9 com.apple.Foundation 0x03feae60 __NSThread__main + 1326 10 libsystem_pthread.dylib
0x08b48e13 _pthread_body + 138 11 libsystem_pthread.dylib 0x08b48d89
_pthread_start + 162 12 libsystem_pthread.dylib 0x08b46e52 thread_start + 34
Thread 3: 0 libsystem_kernel.dylib 0x08b169ce mach_msg_trap + 10 1
libsystem_kernel.dylib 0x08b15a70 mach_msg + 68 2
com.apple.CoreFoundation 0x08136026 __CFRunLoopServiceMachPort + 214 3
com.apple.CoreFoundation 0x08135408 __CFRunLoopRun + 1400 4
com.apple.CoreFoundation 0x08134bcb CFRunLoopRunSpecific + 443 5
com.apple.CoreFoundation 0x081349fb CFRunLoopRunInMode + 123 6
com.apple.springboard 0x000f5592 0x76000 + 521618 7
libsystem_pthread.dylib 0x08b48e13 _pthread_body + 138 8
libsystem_pthread.dylib 0x08b48d89 _pthread_start + 162 9
libsystem_pthread.dylib 0x08b46e52 thread_start + 34xamarin.
I'm finding it impossible to solve.
Related
crash when applicationWillEnterForeground
tried to use zombie objects,but it not work
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x6565656565656569
VM Region Info: 0x6565656565656569 is not in any region. Bytes after previous region: 7306357445371454826
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC_NANO 0000000280000000-00000002a0000000 [512.0M] rw-/rwx SM=PRV
--->
UNUSED SPACE AT END
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 QuartzCore 0x00000001addf8954 CA::Layer::sublayers+ 1411412 () + 52
1 UIKitCore 0x00000001ab8eea9c _makeSubTreePerformSelector + 228
2 UIKitCore 0x00000001ab8eea9c _makeSubTreePerformSelector + 228
3 UIKitCore 0x00000001ab4ada0c -[UIWindow dealloc] + 144
4 libobjc.A.dylib 0x00000001a71aa3a4 _object_remove_assocations + 352
5 libobjc.A.dylib 0x00000001a71a6d20 objc_destructInstance + 100
6 libobjc.A.dylib 0x00000001a71addb8 _objc_rootDealloc + 48
7 QuartzCore 0x00000001adde9dc4 -[CALayer dealloc] + 416
8 QuartzCore 0x00000001add730bc CA::release_objects+ 864444 (X::List<void const*>*) + 32
9 QuartzCore 0x00000001ade00520 CA::Layer::free_transaction+ 1443104 (CA::Transaction*) + 412
10 QuartzCore 0x00000001add73990 CA::Transaction::commit+ 866704 () + 932
11 UIKitCore 0x00000001ab4a25d4 _afterCACommitHandler + 140
12 CoreFoundation 0x00000001a73e9c48 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
13 CoreFoundation 0x00000001a73e4b34 __CFRunLoopDoObservers + 416
14 CoreFoundation 0x00000001a73e5100 __CFRunLoopRun + 1308
15 CoreFoundation 0x00000001a73e48bc CFRunLoopRunSpecific + 464
16 GraphicsServices 0x00000001b124f328 GSEventRunModal + 104
17 UIKitCore 0x00000001ab4796d4 UIApplicationMain + 1936
18 FuturesApp 0x0000000104cde230 main + 6087216 (main.m:14)
19 libdyld.dylib 0x00000001a726f460 start + 4
Thread 1 name: com.apple.uikit.eventfetch-thread
Thread 1:
0 libsystem_kernel.dylib 0x00000001a72435f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001a7242a60 mach_msg + 72
2 CoreFoundation 0x00000001a73ea068 __CFRunLoopServiceMachPort + 216
3 CoreFoundation 0x00000001a73e5188 __CFRunLoopRun + 1444
4 CoreFoundation 0x00000001a73e48bc CFRunLoopRunSpecific + 464
5 Foundation 0x00000001a7724994 -[NSRunLoop+ 31124 (NSRunLoop) runMode:beforeDate:] + 228
6 Foundation 0x00000001a7724874 -[NSRunLoop+ 30836 (NSRunLoop) runUntilDate:] + 88
7 UIKitCore 0x00000001ab51149c -[UIEventFetcher threadMain] + 152
8 Foundation 0x00000001a78550b0 __NSThread__start__ + 848
9 libsystem_pthread.dylib 0x00000001a71891ec _pthread_start + 124
10 libsystem_pthread.dylib 0x00000001a718caec thread_start + 8
Thread 2 name: JavaScriptCore bmalloc scavenger
Thread 2:
0 libsystem_kernel.dylib 0x00000001a7264c8c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001a71864e0 _pthread_cond_wait$VARIANT$armv81 + 676
2 libc++.1.dylib 0x00000001a72b67a8 std::__1::condition_variable::wait+ 59304 (std::__1::unique_lock<std::__1::mutex>&) + 24
3 JavaScriptCore 0x00000001b60413fc void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >+ 558076 (std::__1::unique_lock<bmalloc::Mutex>&) + 108
4 JavaScriptCore 0x00000001b6044dcc bmalloc::Scavenger::threadRunLoop+ 572876 () + 200
5 JavaScriptCore 0x00000001b6044ab4 bmalloc::Scavenger::Scavenger+ 572084 (std::__1::lock_guard<bmalloc::Mutex>&) + 0
6 JavaScriptCore 0x00000001b6045dc0 std::__1::__thread_specific_ptr<std::__1::__thread_struct>::set_pointer+ 576960 (std::__1::__thread_struct*) + 0
7 libsystem_pthread.dylib 0x00000001a71891ec _pthread_start + 124
8 libsystem_pthread.dylib 0x00000001a718caec thread_start + 8
Thread 3 name: Dispatch queue: com.apple.root.default-qos
Thread 3:
0 libsystem_kernel.dylib 0x00000001a7264cdc __psynch_mutexwait + 8
1 libsystem_pthread.dylib 0x00000001a71871a0 _pthread_mutex_firstfit_lock_wait + 92
2 libsystem_pthread.dylib 0x00000001a7187110 _pthread_mutex_firstfit_lock_slow$VARIANT$armv81 + 260
3 Foundation 0x00000001a773cdf4 -[NSRecursiveLock lock] + 24
4 FuturesApp 0x00000001056dae30 __24-[TKHeartChecker start:]_block_invoke.91 + 36
5 libdispatch.dylib 0x00000001a7139610 _dispatch_call_block_and_release + 24
6 libdispatch.dylib 0x00000001a713a184 _dispatch_client_callout + 16
7 libdispatch.dylib 0x00000001a7113b7c _dispatch_queue_override_invoke + 668
8 libdispatch.dylib 0x00000001a7120110 _dispatch_root_queue_drain + 344
9 libdispatch.dylib 0x00000001a71208b0 _dispatch_worker_thread2 + 116
10 libsystem_pthread.dylib 0x00000001a7189f64 _pthread_wqthread + 212
11 libsystem_pthread.dylib 0x00000001a718cae0 start_wqthread +
8enter image description here
Our application started to act weird when ios 11 update is released. We are using pushkit to receive push notifications related with incoming call and messages.
While the app is not in the background(in terminated state), when a push notification arrives IOS raises our app and execute didFinishLaunching method than notification arrives to didReceiveIncomingPushWithPayload method
However after updating to IOS 11 we found out that while the app is terminated sometimes we cannot receive notifications and when we checked the crashlogs we saw that app is crashing and as the reason IOS says cpu usage but it succesfully executes didFinishLaunching method(we put logs to the end of the method and they are printed)
We dont know what may cause this problem, does anyone have any idea about the changes in IOS 11 to trigger that problem
Below you can find our crashlog
Incident Identifier: 6ED4EB5C-7E9E-4639-860B-312A48C74F49
CrashReporter Key: cbdfc5f8b24a9e7b992bec953fb095b1909482bc
Hardware Model: iPhone9,1
Process: DTimmmr [4534]
Path: /private/var/containers/Bundle/Application/B3B6FE24-DBCE-4966-9C6D-18778F73E668/DTimmmr.app/DTimmmr
Identifier: com.genband.immmrMagenta
Version: 7.3.3.791 (0.94)
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: com.genband.immmrMagenta [3863]
Date/Time: 2017-11-06 21:58:45.0631 +0300
Launch Time: 2017-11-06 21:58:39.6223 +0300
OS Version: iPhone OS 11.1 (15B93)
Baseband Version: 3.21.01
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, scene-create watchdog transgression: com.genband.immmrMagenta exhausted CPU time allowance of 3.96 seconds | | Elapsed total CPU time (seconds): 7.920 (user 7.920, system 0.000), 78% CPU | Elapsed application CPU time (seconds): 5.525, 54% CPU |
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Main Thread Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 CoreUI 0x00000001891f9938 _CUICopySortedKeySignature + 232
1 CoreUI 0x00000001891f9894 _CUICopySortedKeySignature + 68
2 CoreUI 0x00000001891f9c14 CUICopyKeySignatureWithPrefix + 284
3 CoreUI 0x0000000189241680 -[CUIStructuredThemeStore copyKeySignatureForKey:withBytesNoCopy:length:] + 60
4 CoreUI 0x000000018922a0b8 -[CUIMutableStructuredThemeStore renditionWithKey:] + 64
5 CoreUI 0x000000018922a05c -[CUIMutableStructuredThemeStore canGetRenditionWithKey:] + 20
6 CoreUI 0x000000018926d3c0 -[CUICatalog _resolvedRenditionKeyFromThemeRef:withBaseKey:scaleFactor:deviceIdiom:deviceSubtype:displayGamut:layoutDirection:sizeClassHorizontal:sizeClassVertical:memoryClass:graphicsClass:graphicsFallBackOrder:iconSizeIndex:] + 2192
7 CoreUI 0x000000018926cb2c -[CUICatalog _resolvedRenditionKeyForName:scaleFactor:deviceIdiom:deviceSubtype:displayGamut:layoutDirection:sizeClassHorizontal:sizeClassVertical:memoryClass:graphicsClass:graphicsFallBackOrder:withBaseKeySelector:] + 308
8 CoreUI 0x000000018926896c -[CUICatalog _imageWithName:scaleFactor:deviceIdiom:deviceSubtype:displayGamut:layoutDirection:sizeClassHorizontal:sizeClassVertical:memoryClass:graphicsClass:graphicsFallBackOrder:] + 184
9 CoreUI 0x0000000189268acc -[CUICatalog imageWithName:scaleFactor:deviceIdiom:deviceSubtype:displayGamut:layoutDirection:sizeClassHorizontal:sizeClassVertical:memoryClass:graphicsClass:graphicsFallBackOrder:] + 156
10 CoreUI 0x00000001892687a8 -[CUICatalog imageWithName:scaleFactor:deviceIdiom:deviceSubtype:displayGamut:layoutDirection:sizeClassHorizontal:sizeClassVertical:] + 160
11 UIKit 0x000000018bec6a88 -[UIImageAsset imageWithTraitCollection:] + 628
12 UIKit 0x000000018bec7d70 -[_UIPathLazyImageAsset imageWithTraitCollection:] + 400
13 UIKit 0x000000018b4ad594 +[UIImage imageNamed:inBundle:compatibleWithTraitCollection:] + 380
14 UIKit 0x000000018b329160 +[UIImage imageNamed:] + 124
15 DTimmmr 0x000000010465acc8 +[UIStorage loadPixelPreciseImageNamed:] + 3747016 (UIStorage.mm:425)
16 DTimmmr 0x000000010461b2b8 -[WelcomeScreenViewController viewDidLoad] + 3486392 (WelcomeScreenViewController.mm:47)
17 UIKit 0x000000018b208f08 -[UIViewController loadViewIfRequired] + 1040
18 UIKit 0x000000018b2b05f8 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 76
19 UIKit 0x000000018b2afa98 -[UINavigationController _startTransition:fromViewController:toViewController:] + 196
20 UIKit 0x000000018b2af49c -[UINavigationController _startDeferredTransitionIfNeeded:] + 1168
21 UIKit 0x000000018b2aef18 -[UINavigationController __viewWillLayoutSubviews] + 164
22 UIKit 0x000000018b2aee18 -[UILayoutContainerView layoutSubviews] + 188
23 UIKit 0x000000018b478f74 _runAfterCACommitDeferredBlocks + 292
24 UIKit 0x000000018b46c318 _cleanUpAfterCAFlushAndRunDeferredBlocks + 288
25 UIKit 0x000000018b48418c __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 152
26 CoreFoundation 0x0000000181d7a0fc __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
27 CoreFoundation 0x0000000181d799cc __CFRunLoopDoBlocks + 288
28 CoreFoundation 0x0000000181d776dc __CFRunLoopRun + 1068
29 CoreFoundation 0x0000000181c97fb8 CFRunLoopRunSpecific + 436
30 GraphicsServices 0x0000000183b2ff84 GSEventRunModal + 100
31 UIKit 0x000000018b26c2f4 UIApplicationMain + 208
32 DTimmmr 0x00000001042d8038 main + 65592 (main.m:15)
33 libdyld.dylib 0x00000001817ba56c start + 4
Thread 1 name: Dispatch queue: com.apple.CoreLocation.ConnectionClient.0x1c412c620.events
Thread 1:
0 libsystem_kernel.dylib 0x00000001818c8c18 semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x00000001817574d0 _dispatch_sema4_timedwait$VARIANT$mp + 84
2 libdispatch.dylib 0x0000000181757d40 _dispatch_semaphore_wait_slow + 72
3 CoreLocation 0x0000000188326aa8 0x188323000 + 15016
4 CoreLocation 0x000000018832c53c 0x188323000 + 38204
5 CoreLocation 0x000000018832c26c 0x188323000 + 37484
6 CoreLocation 0x0000000188383f58 0x188323000 + 397144
7 CoreLocation 0x000000018838032c 0x188323000 + 381740
8 CoreLocation 0x0000000188380250 0x188323000 + 381520
9 CoreLocation 0x0000000188381ae4 0x188323000 + 387812
10 libxpc.dylib 0x0000000181a367d0 _xpc_connection_call_event_handler + 68
11 libxpc.dylib 0x0000000181a34168 _xpc_connection_mach_event + 984
12 libdispatch.dylib 0x0000000181755118 _dispatch_client_callout4 + 16
13 libdispatch.dylib 0x000000018176b8b8 _dispatch_mach_msg_invoke$VARIANT$mp + 356
14 libdispatch.dylib 0x000000018175ed00 _dispatch_queue_serial_drain$VARIANT$mp + 200
15 libdispatch.dylib 0x000000018176c534 _dispatch_mach_invoke$VARIANT$mp + 952
16 libdispatch.dylib 0x000000018175ed00 _dispatch_queue_serial_drain$VARIANT$mp + 200
17 libdispatch.dylib 0x000000018175f7d8 _dispatch_queue_invoke$VARIANT$mp + 340
18 libdispatch.dylib 0x000000018175ed00 _dispatch_queue_serial_drain$VARIANT$mp + 200
19 libdispatch.dylib 0x000000018175f7d8 _dispatch_queue_invoke$VARIANT$mp + 340
20 libdispatch.dylib 0x0000000181760200 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 400
21 libdispatch.dylib 0x00000001817684a0 _dispatch_workloop_worker_thread$VARIANT$mp + 644
22 libsystem_pthread.dylib 0x00000001819fafd0 _pthread_wqthread + 932
23 libsystem_pthread.dylib 0x00000001819fac20 start_wqthread + 4
Thread 2 name: 7543851008
Thread 2:
0 libsystem_pthread.dylib 0x00000001819fac1c start_wqthread + 0
Thread 3 name: com.apple.uikit.eventfetch-thread
Thread 3:
0 libsystem_kernel.dylib 0x00000001818c8bc4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001818c8a3c mach_msg + 72
2 CoreFoundation 0x0000000181d79c74 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000181d77840 __CFRunLoopRun + 1424
4 CoreFoundation 0x0000000181c97fb8 CFRunLoopRunSpecific + 436
5 Foundation 0x00000001826c16e4 -[NSRunLoop+ 50916 (NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x00000001826e0afc -[NSRunLoop+ 178940 (NSRunLoop) runUntilDate:] + 96
7 UIKit 0x000000018bdcb2f4 -[UIEventFetcher threadMain] + 136
8 Foundation 0x00000001827c2860 __NSThread__start__ + 996
9 libsystem_pthread.dylib 0x00000001819fc31c _pthread_body + 308
10 libsystem_pthread.dylib 0x00000001819fc1e8 _pthread_body + 0
11 libsystem_pthread.dylib 0x00000001819fac28 thread_start + 4
Thread 4 name: 7619425472 Dispatch queue: com.apple.root.default-qos
Thread 4:
0 libsystem_kernel.dylib 0x00000001818e9150 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001819fed30 _pthread_cond_wait$VARIANT$mp + 640
2 Foundation 0x00000001826d3b44 -[NSObject+ 125764 (NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 764
3 Foundation 0x00000001826d7e28 -[NSObject+ 142888 (NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 144
4 DTimmmr 0x0000000104476f64 -[GsmAddressBookManager _initAddressBookObj] + 1765220 (GsmAddressBookManager.mm:163)
5 DTimmmr 0x000000010447a624 -[GsmAddressBookManager implicitlyLoadAddressBookContacts] + 1779236 (GsmAddressBookManager.mm:892)
6 DTimmmr 0x0000000104a1d924 -[NSObject(DebounceSelector) debounceSelector:object:timeout:] + 7690532 (NSObject+DebounceSelector.m:78)
7 DTimmmr 0x0000000104a1d6b0 -[NSObject(DebounceSelector) debounceSelector:timeout:] + 7689904 (NSObject+DebounceSelector.m:56)
8 DTimmmr 0x000000010447a594 -[GsmAddressBookManager loadAddressBookContacts] + 1779092 (GsmAddressBookManager.mm:879)
9 DTimmmr 0x000000010447a264 __53-[GsmAddressBookManager asyncLoadAddressBookContacts]_block_invoke + 1778276 (GsmAddressBookManager.mm:864)
10 libdispatch.dylib 0x0000000181755088 _dispatch_call_block_and_release + 24
11 libdispatch.dylib 0x0000000181755048 _dispatch_client_callout + 16
12 libdispatch.dylib 0x000000018175c090 _dispatch_queue_override_invoke$VARIANT$mp + 716
13 libdispatch.dylib 0x00000001817621c8 _dispatch_root_queue_drain + 596
14 libdispatch.dylib 0x0000000181761f10 _dispatch_worker_thread3 + 120
15 libsystem_pthread.dylib 0x00000001819fb120 _pthread_wqthread + 1268
16 libsystem_pthread.dylib 0x00000001819fac20 start_wqthread + 4
Thread 5 name: 7619384576 Dispatch queue: com.apple.root.user-initiated-qos
Thread 5:
0 libsystem_platform.dylib 0x00000001819f7f0c DYLD-STUB$$OSAtomicAdd32 + 0
1 CoreFoundation 0x0000000181de214c -[_CFXNotificationRegistrar add:object:observer:tokenRegistration:] + 460
2 CoreFoundation 0x0000000181ca3d94 _CFXNotificationRegisterObserver + 1332
3 Foundation 0x00000001826b8530 -[NSNotificationCenter addObserver:selector:name:object:] + 392
4 DTimmmr 0x0000000104622010 -[Contact initWithFirstName:andLastName:andDisplayName:] + 3514384 (Contact.mm:116)
5 DTimmmr 0x0000000104627c94 +[Contact contactWithDictionary:] + 3538068 (Contact.mm:906)
6 DTimmmr 0x0000000104479f0c -[GsmAddressBookManager _getCachedContactsFromArray:] + 1777420 (GsmAddressBookManager.mm:841)
7 DTimmmr 0x000000010447a10c __58-[GsmAddressBookManager _asyncGetCachedContactsFromArray:]_block_invoke + 1777932 (GsmAddressBookManager.mm:856)
8 libdispatch.dylib 0x0000000181755088 _dispatch_call_block_and_release + 24
9 libdispatch.dylib 0x0000000181755048 _dispatch_client_callout + 16
10 libdispatch.dylib 0x0000000181762378 _dispatch_root_queue_drain + 1028
11 libdispatch.dylib 0x0000000181761f10 _dispatch_worker_thread3 + 120
12 libsystem_pthread.dylib 0x00000001819fb120 _pthread_wqthread + 1268
13 libsystem_pthread.dylib 0x00000001819fac20 start_wqthread + 4
Thread 6 name: AVAudioSession Notify Thread
Thread 6:
0 libsystem_kernel.dylib 0x00000001818c8bc4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001818c8a3c mach_msg + 72
2 CoreFoundation 0x0000000181d79c74 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000181d77840 __CFRunLoopRun + 1424
4 CoreFoundation 0x0000000181c97fb8 CFRunLoopRunSpecific + 436
5 AVFAudio 0x0000000187580774 GenericRunLoopThread::Entry+ 542580 (void*) + 164
6 AVFAudio 0x00000001875ab018 CAPThread::Entry+ 716824 (CAPThread*) + 84
7 libsystem_pthread.dylib 0x00000001819fc31c _pthread_body + 308
8 libsystem_pthread.dylib 0x00000001819fc1e8 _pthread_body + 0
9 libsystem_pthread.dylib 0x00000001819fac28 thread_start + 4
Thread 7 name: Thread 0x0x127d240a0
Thread 7:
0 libsystem_kernel.dylib 0x00000001818e9570 __select + 8
1 DTimmmr 0x0000000104f26148 rtc::PhysicalSocketServer::Wait+ 12968264 (int, bool) + 696
2 DTimmmr 0x0000000104f1706c rtc::MessageQueue::Get+ 12906604 (rtc::Message*, int, bool) + 1064
3 DTimmmr 0x0000000104f2fc1c rtc::Thread::ProcessMessages+ 13007900 (int) + 120
4 DTimmmr 0x0000000104f2fb84 rtc::Thread::PreRun+ 13007748 (void*) + 104
5 libsystem_pthread.dylib 0x00000001819fc31c _pthread_body + 308
6 libsystem_pthread.dylib 0x00000001819fc1e8 _pthread_body + 0
7 libsystem_pthread.dylib 0x00000001819fac28 thread_start + 4
Thread 8 name: Thread 0x0x127d24240
Thread 8:
0 libsystem_kernel.dylib 0x00000001818e9150 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001819fed30 _pthread_cond_wait$VARIANT$mp + 640
2 DTimmmr 0x0000000104ef92e8 rtc::Event::Wait+ 12784360 (int) + 244
3 DTimmmr 0x0000000104f1dae4 rtc::NullSocketServer::Wait+ 12933860 (int, bool) + 16
4 DTimmmr 0x0000000104f1706c rtc::MessageQueue::Get+ 12906604 (rtc::Message*, int, bool) + 1064
5 DTimmmr 0x0000000104f2fc1c rtc::Thread::ProcessMessages+ 13007900 (int) + 120
6 DTimmmr 0x0000000104f2fb84 rtc::Thread::PreRun+ 13007748 (void*) + 104
7 libsystem_pthread.dylib 0x00000001819fc31c _pthread_body + 308
8 libsystem_pthread.dylib 0x00000001819fc1e8 _pthread_body + 0
9 libsystem_pthread.dylib 0x00000001819fac28 thread_start + 4
Thread 9 name: Thread 0x0x127d243e0
Thread 9:
0 libsystem_kernel.dylib 0x00000001818e9150 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001819fed30 _pthread_cond_wait$VARIANT$mp + 640
2 DTimmmr 0x0000000104ef92e8 rtc::Event::Wait+ 12784360 (int) + 244
3 DTimmmr 0x0000000104f1dae4 rtc::NullSocketServer::Wait+ 12933860 (int, bool) + 16
4 DTimmmr 0x0000000104f1706c rtc::MessageQueue::Get+ 12906604 (rtc::Message*, int, bool) + 1064
5 DTimmmr 0x0000000104f2fce8 rtc::Thread::ProcessMessages+ 13008104 (int) + 324
6 DTimmmr 0x0000000104f2fb84 rtc::Thread::PreRun+ 13007748 (void*) + 104
7 libsystem_pthread.dylib 0x00000001819fc31c _pthread_body + 308
8 libsystem_pthread.dylib 0x00000001819fc1e8 _pthread_body + 0
9 libsystem_pthread.dylib 0x00000001819fac28 thread_start + 4
Thread 10 name: VoiceProcessThread
Thread 10:
0 libsystem_kernel.dylib 0x00000001818e9150 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001819fed30 _pthread_cond_wait$VARIANT$mp + 640
2 DTimmmr 0x0000000104ef92b8 rtc::Event::Wait+ 12784312 (int) + 196
3 DTimmmr 0x0000000104f089d4 webrtc::EventWrapperImpl::Wait+ 12847572 (unsigned long) + 16
4 DTimmmr 0x00000001051839d0 webrtc::ProcessThreadImpl::Process+ 15448528 () + 876
5 DTimmmr 0x0000000104efa06c rtc::PlatformThread::Run+ 12787820 () + 400
6 DTimmmr 0x0000000104ef9ed0 rtc::PlatformThread::StartThread+ 12787408 (void*) + 12
7 libsystem_pthread.dylib 0x00000001819fc31c _pthread_body + 308
8 libsystem_pthread.dylib 0x00000001819fc1e8 _pthread_body + 0
9 libsystem_pthread.dylib 0x00000001819fac28 thread_start + 4
Thread 11 name: 7548104896
Thread 11:
0 libsystem_pthread.dylib 0x00000001819fac1c start_wqthread + 0
Thread 12 name: 7617291584 Dispatch queue: WebRequestsOperationQueue (QOS: UNSPECIFIED)
Thread 12:
0 libsystem_kernel.dylib 0x00000001818ea800 kevent_id + 8
1 libdispatch.dylib 0x00000001817708f8 _dispatch_kq_poll + 204
2 libdispatch.dylib 0x00000001817712c0 _dispatch_event_loop_wait_for_ownership$VARIANT$mp + 432
3 libdispatch.dylib 0x0000000181763018 _dispatch_sync_wait + 416
4 DTimmmr 0x0000000104a84d74 -[DDLog queueLogMessage:asynchronously:] + 8113524 (DDLog.m:370)
5 DTimmmr 0x0000000104a85438 -[DDLog log:message:level:flag:context:file:function:line:tag:] + 8115256 (DDLog.m:510)
6 DTimmmr 0x0000000104a852d4 +[DDLog log:message:level:flag:context:file:function:line:tag:] + 8114900 (DDLog.m:0)
7 DTimmmr 0x0000000104a84f1c +[DDLog log:level:flag:context:file:function:line:tag:format:] + 8113948 (DDLog.m:403)
8 DTimmmr 0x00000001045de72c +[FSPLogger logAsync:level:flag:context:tag:function:format:] + 3237676 (FSPLogger.m:89)
9 DTimmmr 0x00000001047f0ebc -[KandySDKLogger logWithLevel:andLogString:] + 5410492 (KandySDKLogger.m:37)
10 DTimmmr 0x0000000104da4724 -[KandyLoggerMediator logWithDate:andThreadName:andLevel:andFileName:andLine:andMethodName:andLogString:] + 508
11 DTimmmr 0x0000000104dc9af4 -[KandyBaseWebRequestOperation connection:didReceiveResponse:] + 380
12 CFNetwork 0x00000001825a9d48 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 60
13 CFNetwork 0x00000001825a9cec -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 204
14 CFNetwork 0x00000001825a9e60 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 56
15 CFNetwork 0x0000000182564f60 _NSURLConnectionDidReceiveResponse+ 2170720 (_CFURLConnection*, _CFURLResponse*, void const*) + 84
16 CFNetwork 0x00000001824b402c invocation function for block in URLConnectionClient_Classic::_delegate_didReceiveResponse+ 1445932 (_CFURLResponse*) + 108
17 CFNetwork 0x00000001824af9d0 invocation function for block in URLConnectionClient_Classic::_withDelegateAsync(char const*, void + 1427920 (_CFURLConnection*, CFURLConnectionClientCurrent_VMax const*) block_pointer) + 108
18 libdispatch.dylib 0x0000000181755048 _dispatch_client_callout + 16
19 libdispatch.dylib 0x000000018175c6c8 _dispatch_block_invoke_direct$VARIANT$mp + 288
20 CFNetwork 0x0000000182581f94 RunloopBlockContext::_invoke_block+ 2289556 (void const*, void*) + 36
21 CoreFoundation 0x0000000181c97900 CFArrayApplyFunction + 80
22 CFNetwork 0x0000000182581e58 RunloopBlockContext::perform+ 2289240 () + 128
23 CFNetwork 0x00000001825831d8 MultiplexerSource::perform+ 2294232 () + 312
24 CFNetwork 0x0000000182582f38 MultiplexerSource::_perform+ 2293560 (void*) + 60
25 CoreFoundation 0x0000000181d7a2e8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
26 CoreFoundation 0x0000000181d7a268 __CFRunLoopDoSource0 + 88
27 CoreFoundation 0x0000000181d79af0 __CFRunLoopDoSources0 + 204
28 CoreFoundation 0x0000000181d776c8 __CFRunLoopRun + 1048
29 CoreFoundation 0x0000000181c97fb8 CFRunLoopRunSpecific + 436
30 CoreFoundation 0x0000000181ce7098 CFRunLoopRun + 116
31 DTimmmr 0x0000000104dc85c0 -[KandyBaseWebRequestOperation start] + 680
32 Foundation 0x000000018279f004 __NSOQSchedule_f + 404
33 libdispatch.dylib 0x0000000181755048 _dispatch_client_callout + 16
34 libdispatch.dylib 0x000000018175d3d4 _dispatch_continuation_pop$VARIANT$mp + 428
35 libdispatch.dylib 0x000000018175bcd4 _dispatch_async_redirect_invoke$VARIANT$mp + 604
36 libdispatch.dylib 0x00000001817621c8 _dispatch_root_queue_drain + 596
37 libdispatch.dylib 0x0000000181761f10 _dispatch_worker_thread3 + 120
38 libsystem_pthread.dylib 0x00000001819fb120 _pthread_wqthread + 1268
39 libsystem_pthread.dylib 0x00000001819fac20 start_wqthread + 4
Thread 13 name: com.squareup.SocketRocket.NetworkThread
Thread 13:
0 libsystem_kernel.dylib 0x00000001818c8bc4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001818c8a3c mach_msg + 72
2 CoreFoundation 0x0000000181d79c74 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000181d77840 __CFRunLoopRun + 1424
4 CoreFoundation 0x0000000181c97fb8 CFRunLoopRunSpecific + 436
5 Foundation 0x00000001826c16e4 -[NSRunLoop+ 50916 (NSRunLoop) runMode:beforeDate:] + 304
6 DTimmmr 0x000000010534bba8 -[_SRRunLoopThread main] + 252
7 Foundation 0x00000001827c2860 __NSThread__start__ + 996
8 libsystem_pthread.dylib 0x00000001819fc31c _pthread_body + 308
9 libsystem_pthread.dylib 0x00000001819fc1e8 _pthread_body + 0
10 libsystem_pthread.dylib 0x00000001819fac28 thread_start + 4
Thread 14 name: com.apple.NSURLConnectionLoader
Thread 14:
0 libsystem_kernel.dylib 0x00000001818c8bc4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001818c8a3c mach_msg + 72
2 CoreFoundation 0x0000000181d79c74 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000181d77840 __CFRunLoopRun + 1424
4 CoreFoundation 0x0000000181c97fb8 CFRunLoopRunSpecific + 436
5 CFNetwork 0x0000000182402264 +[NSURLConnection+ 717412 (Loader) _resourceLoadLoop:] + 404
6 Foundation 0x00000001827c2860 __NSThread__start__ + 996
7 libsystem_pthread.dylib 0x00000001819fc31c _pthread_body + 308
8 libsystem_pthread.dylib 0x00000001819fc1e8 _pthread_body + 0
9 libsystem_pthread.dylib 0x00000001819fac28 thread_start + 4
Thread 15 name: 7617336192 Dispatch queue: cocoa.lumberjack
Thread 15:
0 libsystem_kernel.dylib 0x00000001818c8c00 semaphore_wait_trap + 8
1 libdispatch.dylib 0x00000001817573d4 _dispatch_sema4_wait$VARIANT$mp + 24
2 libdispatch.dylib 0x0000000181758328 _dispatch_group_wait_slow + 196
3 DTimmmr 0x0000000104a86840 -[DDLog lt_log:] + 8120384 (DDLog.m:844)
4 DTimmmr 0x0000000104a84dd0 __40-[DDLog queueLogMessage:asynchronously:]_block_invoke + 8113616 (DDLog.m:362)
5 libdispatch.dylib 0x0000000181755048 _dispatch_client_callout + 16
6 libdispatch.dylib 0x000000018175dae8 _dispatch_queue_barrier_sync_invoke_and_complete + 56
7 DTimmmr 0x0000000104a84d74 -[DDLog queueLogMessage:asynchronously:] + 8113524 (DDLog.m:370)
8 DTimmmr 0x0000000104a85438 -[DDLog log:message:level:flag:context:file:function:line:tag:] + 8115256 (DDLog.m:510)
9 DTimmmr 0x0000000104a852d4 +[DDLog log:message:level:flag:context:file:function:line:tag:] + 8114900 (DDLog.m:0)
10 DTimmmr 0x0000000104a84f1c +[DDLog log:level:flag:context:file:function:line:tag:format:] + 8113948 (DDLog.m:403)
11 DTimmmr 0x00000001045de72c +[FSPLogger logAsync:level:flag:context:tag:function:format:] + 3237676 (FSPLogger.m:89)
12 DTimmmr 0x00000001047f0ebc -[KandySDKLogger logWithLevel:andLogString:] + 5410492 (KandySDKLogger.m:37)
13 DTimmmr 0x0000000104da4724 -[KandyLoggerMediator logWithDate:andThreadName:andLevel:andFileName:andLine:andMethodName:andLogString:] + 508
14 DTimmmr 0x0000000104dc9af4 -[KandyBaseWebRequestOperation connection:didReceiveResponse:] + 380
15 CFNetwork 0x00000001825a9d48 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 60
16 CFNetwork 0x00000001825a9cec -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 204
17 CFNetwork 0x00000001825a9e60 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 56
18 CFNetwork 0x0000000182564f60 _NSURLConnectionDidReceiveResponse+ 2170720 (_CFURLConnection*, _CFURLResponse*, void const*) + 84
19 CFNetwork 0x00000001824b402c invocation function for block in URLConnectionClient_Classic::_delegate_didReceiveResponse+ 1445932 (_CFURLResponse*) + 108
20 CFNetwork 0x00000001824af9d0 invocation function for block in URLConnectionClient_Classic::_withDelegateAsync(char const*, void + 1427920 (_CFURLConnection*, CFURLConnectionClientCurrent_VMax const*) block_pointer) + 108
21 libdispatch.dylib 0x0000000181755048 _dispatch_client_callout + 16
22 libdispatch.dylib 0x000000018175c6c8 _dispatch_block_invoke_direct$VARIANT$mp + 288
23 CFNetwork 0x0000000182581f94 RunloopBlockContext::_invoke_block+ 2289556 (void const*, void*) + 36
24 CoreFoundation 0x0000000181c97900 CFArrayApplyFunction + 80
25 CFNetwork 0x0000000182581e58 RunloopBlockContext::perform+ 2289240 () + 128
26 CFNetwork 0x00000001825831d8 MultiplexerSource::perform+ 2294232 () + 312
27 CFNetwork 0x0000000182582f38 MultiplexerSource::_perform+ 2293560 (void*) + 60
28 CoreFoundation 0x0000000181d7a2e8
We found out that, in ios11 apple reduces the time that is needed to start the application while the app is in background(In our case it was 2.9 seconds), so when you go beyond it, app is automaticaly killed by IOS.
So we find the solution as minimizing the loading times (such as minimizing the splash screens etc..) and also removing the codes which is not neccesarily need to work on background. And we made our app to launch at 1.8 seconds than crash problem is resolved
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 trying to replicate a bug in my app which is happening for users occasionally. I have the below crash report. Am I right in thinking the app is crashing due to an NSDictionary not having a value for a specific key ? And is there anything else I can deduce from the report ?
Date/Time: 2013-09-19 12:12:54.627 +0800
OS Version: iOS 6.1.3 (10B329)
Report Version: 104
Exception Type: EXC_CRASH (SIGTRAP)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x31bbd3e2 __exceptionPreprocess + 158
1 libobjc.A.dylib 0x39a5795e objc_exception_throw + 26
2 CoreFoundation 0x31b0e876 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 130
3 CoreFoundation 0x31b0e732 +[NSDictionary dictionaryWithObject:forKey:] + 46
4 MyApp 0x00103f34 -[WebViewJavascriptBridge _sendData:responseCallback:handlerName:] (WebViewJavascriptBridge.m:95)
5 MyApp 0x00103d2a -[WebViewJavascriptBridge callHandler:data:responseCallback:] (WebViewJavascriptBridge.m:67)
6 MyApp 0x00103cec -[WebViewJavascriptBridge callHandler:data:] (WebViewJavascriptBridge.m:63)
7 MyApp 0x000c3be2 -[ContractViewController updateHTML] (ContractViewController.m:293)
8 MyApp 0x000c2fec -[ContractViewController startEditableContract] (ContractViewController.m:199)
9 MyApp 0x000c2bc2 -[ContractViewController viewDidLoad] (ContractViewController.m:192)
10 UIKit 0x339eb574 -[UIViewController loadViewIfRequired] + 360
11 UIKit 0x33a401f2 -[UIViewController contentScrollView] + 22
12 UIKit 0x33a40138 -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 24
13 UIKit 0x33a4001c -[UINavigationController _layoutViewController:] + 28
14 UIKit 0x33a3ff48 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 268
15 UIKit 0x33a3f694 -[UINavigationController _startTransition:fromViewController:toViewController:] + 60
16 UIKit 0x33a3f57c -[UINavigationController _startDeferredTransitionIfNeeded:] + 320
17 UIKit 0x33a2db56 -[UINavigationController pushViewController:transition:forceImmediate:] + 854
18 UIKit 0x33a2d7f6 -[UINavigationController pushViewController:animated:] + 34
19 MyApp 0x000b91dc -[ExhibitorDetailsViewController contractLoadButton:] (ExhibitorDetailsViewController.m:680)
20 UIKit 0x33ab7082 -[UIApplication sendAction:to:from:forEvent:] + 66
21 UIKit 0x33ab7036 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26
22 UIKit 0x33ab7010 -[UIControl sendAction:to:forEvent:] + 40
23 UIKit 0x33ab68c6 -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498
24 UIKit 0x33ab6db4 -[UIControl touchesEnded:withEvent:] + 484
25 UIKit 0x339df5f4 -[UIWindow _sendTouchesForEvent:] + 520
26 UIKit 0x339cc8dc -[UIApplication sendEvent:] + 376
27 UIKit 0x339cc1ea _UIApplicationHandleEvent + 6194
28 GraphicsServices 0x356c05f2 _PurpleEventCallback + 586
29 GraphicsServices 0x356c0222 PurpleEventCallback + 30
30 CoreFoundation 0x31b923e2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30
31 CoreFoundation 0x31b92386 __CFRunLoopDoSource1 + 134
32 CoreFoundation 0x31b9120a __CFRunLoopRun + 1378
33 CoreFoundation 0x31b04238 CFRunLoopRunSpecific + 352
34 CoreFoundation 0x31b040c4 CFRunLoopRunInMode + 100
35 GraphicsServices 0x356bf336 GSEventRunModal + 70
36 UIKit 0x33a202b4 UIApplicationMain + 1116
37 MyApp 0x00095e02 main (main.m:15)
38 libdyld.dylib 0x39e84b1c start + 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x39f4a838 __kill + 8
1 MyApp 0x00107ed0 TFHandleExceptions + 988
2 CoreFoundation 0x31bbd6cc __handleUncaughtException + 624
3 libobjc.A.dylib 0x39a57a46 _objc_terminate() + 126
4 libc++abi.dylib 0x394a4118 safe_handler_caller(void (*)()) + 76
5 libc++abi.dylib 0x394a41b0 std::terminate() + 16
6 libc++abi.dylib 0x394a5626 __cxa_rethrow + 90
7 libobjc.A.dylib 0x39a579b0 objc_exception_rethrow + 8
8 CoreFoundation 0x31b0429c CFRunLoopRunSpecific + 452
9 CoreFoundation 0x31b040c4 CFRunLoopRunInMode + 100
10 GraphicsServices 0x356bf336 GSEventRunModal + 70
11 UIKit 0x33a202b4 UIApplicationMain + 1116
12 MyApp 0x00095e02 main (main.m:15)
13 libdyld.dylib 0x39e84b1c start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x39f3b5d0 kevent64 + 24
1 libdispatch.dylib 0x39e76d22 _dispatch_mgr_invoke + 806
2 libdispatch.dylib 0x39e72374 _dispatch_mgr_thread + 32
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x39f4b0fc __psynch_mutexwait + 24
1 libsystem_c.dylib 0x39e93e66 pthread_mutex_lock + 390
2 WebCore 0x37aea2b8 _WebTryThreadLock(bool) + 184
3 WebCore 0x37aea1e8 WebRunLoopLock(__CFRunLoopObserver*, unsigned long, void*) + 40
4 CoreFoundation 0x31b9293e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
5 CoreFoundation 0x31b90c34 __CFRunLoopDoObservers + 272
6 CoreFoundation 0x31b91076 __CFRunLoopRun + 974
7 CoreFoundation 0x31b04238 CFRunLoopRunSpecific + 352
8 CoreFoundation 0x31b040c4 CFRunLoopRunInMode + 100
9 WebCore 0x37ae8390 RunWebThread(void*) + 440
10 libsystem_c.dylib 0x39ea40de _pthread_start + 306
11 libsystem_c.dylib 0x39ea3fa4 thread_start + 4
Thread 3 name: com.apple.NSURLConnectionLoader
Thread 3:
0 libsystem_kernel.dylib 0x39f3ae30 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39f3afd0 mach_msg + 48
2 CoreFoundation 0x31b922b6 __CFRunLoopServiceMachPort + 126
3 CoreFoundation 0x31b9102c __CFRunLoopRun + 900
4 CoreFoundation 0x31b04238 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x31b040c4 CFRunLoopRunInMode + 100
6 Foundation 0x32451888 +[NSURLConnection(Loader) _resourceLoadLoop:] + 304
7 Foundation 0x324d522c __NSThread__main__ + 968
8 libsystem_c.dylib 0x39ea40de _pthread_start + 306
9 libsystem_c.dylib 0x39ea3fa4 thread_start + 4
Thread 4:
0 libsystem_kernel.dylib 0x39f3ae30 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39f3afd0 mach_msg + 48
2 CoreFoundation 0x31b922b6 __CFRunLoopServiceMachPort + 126
3 CoreFoundation 0x31b9102c __CFRunLoopRun + 900
4 CoreFoundation 0x31b04238 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x31b040c4 CFRunLoopRunInMode + 100
6 Foundation 0x324285be -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250
7 Foundation 0x324cbc40 -[NSRunLoop(NSRunLoop) run] + 76
8 MyApp 0x0011cf4c -[TFNetworkManager networkRunLoopThreadEntry] + 120
9 Foundation 0x324d522c __NSThread__main__ + 968
10 libsystem_c.dylib 0x39ea40de _pthread_start + 306
11 libsystem_c.dylib 0x39ea3fa4 thread_start + 4
Thread 5 name: com.apple.CFSocket.private
Thread 5:
0 libsystem_kernel.dylib 0x39f4b594 __select + 20
1 CoreFoundation 0x31b96474 __CFSocketManager + 676
2 libsystem_c.dylib 0x39ea40de _pthread_start + 306
3 libsystem_c.dylib 0x39ea3fa4 thread_start + 4
Thread 6 name: JavaScriptCore::BlockFree
Thread 6:
0 libsystem_kernel.dylib 0x39f4b08c __psynch_cvwait + 24
1 libsystem_c.dylib 0x39e9cafc _pthread_cond_wait + 644
2 libsystem_c.dylib 0x39e9c870 pthread_cond_timedwait + 40
3 JavaScriptCore 0x35ab5df6 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 102
4 JavaScriptCore 0x35bc8532 JSC::BlockAllocator::blockFreeingThreadMain() + 78
5 JavaScriptCore 0x35bdb030 WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_c.dylib 0x39ea40de _pthread_start + 306
7 libsystem_c.dylib 0x39ea3fa4 thread_start + 4
Thread 7 name: JavaScriptCore::Marking
Thread 7:
0 libsystem_kernel.dylib 0x39f4b08c __psynch_cvwait + 24
1 libsystem_c.dylib 0x39e9cafc _pthread_cond_wait + 644
2 libsystem_c.dylib 0x39ea6cf8 pthread_cond_wait + 36
3 JavaScriptCore 0x35b5b6dc JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 140
4 JavaScriptCore 0x35b5b620 JSC::MarkStackThreadSharedData::markingThreadMain() + 140
5 JavaScriptCore 0x35bdb030 WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_c.dylib 0x39ea40de _pthread_start + 306
7 libsystem_c.dylib 0x39ea3fa4 thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x39f3ae30 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39f3afd0 mach_msg + 48
2 CoreFoundation 0x31b922b6 __CFRunLoopServiceMachPort + 126
3 CoreFoundation 0x31b9102c __CFRunLoopRun + 900
4 CoreFoundation 0x31b04238 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x31b040c4 CFRunLoopRunInMode + 100
6 Foundation 0x324285be -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250
7 Foundation 0x324cbc40 -[NSRunLoop(NSRunLoop) run] + 76
8 MyApp 0x0012e308 +[AFURLConnectionOperation networkRequestThreadEntryPoint:] + 120
9 Foundation 0x324d522c __NSThread__main__ + 968
10 libsystem_c.dylib 0x39ea40de _pthread_start + 306
11 libsystem_c.dylib 0x39ea3fa4 thread_start + 4
Thread 9:
0 libsystem_kernel.dylib 0x39f4bd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x39e99ad6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x39e997f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x39e99680 start_wqthread + 4
Thread 10:
0 libsystem_kernel.dylib 0x39f4bd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x39e99ad6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x39e997f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x39e99680 start_wqthread + 4
Thread 11:
0 libsystem_kernel.dylib 0x39f4bd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x39e99ad6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x39e997f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x39e99680 start_wqthread + 4
Thread 12:
0 libsystem_kernel.dylib 0x39f4bd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x39e99ad6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x39e997f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x39e99680 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x3ba42fc8
r4: 0xffffffff r5: 0x2fd6c311 r6: 0x2fd6c310 r7: 0x2fd6c9e0
r8: 0x2fd6c340 r9: 0x3ba38898 r10: 0x2fd6c318 r11: 0x00000015
ip: 0x00000025 sp: 0x2fd6c2fc lr: 0x00107ed5 pc: 0x39f4a838
cpsr: 0x00080010
Code which is crashing :
- (void)_sendData:(NSDictionary *)data responseCallback:(WVJBResponseCallback)responseCallback handlerName:(NSString*)handlerName {
NSMutableDictionary* message = [NSMutableDictionary dictionaryWithObject:data forKey:#"data"];
if (responseCallback) {
NSString* callbackId = [NSString stringWithFormat:#"objc_cb_%ld", ++_uniqueId];
_responseCallbacks[callbackId] = [responseCallback copy];
message[#"callbackId"] = callbackId;
}
if (handlerName) {
message[#"handlerName"] = handlerName;
}
[self _queueMessage:message];
}
The crash happens in the file WebViewJavascriptBridge.m in line 95 in the method [WebViewJavascriptBridge _sendData:responseCallback:handlerName:].
That line causes an exception in [__NSPlaceholderDictionary initWithObjects:forKeys:count:]. Since the exception message isn't shown in the crash report, and you don't provide any source code of that place we can only assume what is happening.
One assumption would be, your are creating a dictionary with nil values or keys. But without code or you actually debugging this, this is only an assumption.
I have an iPhone (iOS native) app that uses the current Facebook iOS SDK. When attempting to connect my app via the Single-Sign-On process, I frequently get a crash stating my app "has active assertions beyond permitted time". After reviewing other similar reports here on Stack Overflow (such as iPhone app "has active assertions beyond permitted time") I don't find anything that seems to fit my situation. I am following Facebook's recommended practices for integrating SSO (from https://developers.facebook.com/docs/mobile/ios/build/#implementsso). That means I am calling the Facebook SDK on my main thread. Facebook doesn't seem to think this will be a problem.
Can anyone explain what this particular error means? I assume that some iOS supervisor mechanism is killing my app because it's taking too long doing something, but what particular something? Is it because the foreground task is locked for too long? Or what?
Here's an iOS app crash report showing the error.
Incident Identifier: F2486727-9EAC-4D7F-8A45-07AC51ADD186
CrashReporter Key: b3825455d63e6e7f659074b5ea5fb89cf8ed1b9f
Hardware Model: iPhone2,1
Process: JouleBug [2060]
Path: /var/mobile/Applications/FA3DB4BA-92AF-4D14-AD3A-1553EFA1FA16/JouleBug.app/JouleBug
Identifier: JouleBug
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-07-05 14:44:30.751 -0400
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: 00000020
Exception Codes: 0x8badf00d
Highlighted Thread: 3
Application Specific Information:
JouleBug[2060] has active assertions beyond permitted time:
{(
<SBProcessAssertion: 0xe2ed000> identifier: Suspending process: JouleBug[2060] permittedBackgroundDuration: 10.000000 reason: suspend owner pid:52 preventSuspend preventThrottleDownCPU preventThrottleDownUI
)}
Elapsed total CPU time (seconds): 6.190 (user 6.190, system 0.000), 84% CPU
Elapsed application CPU time (seconds): 1.515, 21% CPU
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x37e23dcc __open + 8
1 Foundation 0x31ab412a _NSmkstemp83 + 322
2 Foundation 0x31ab3f4a _NSCreateTemporaryFile + 118
3 Foundation 0x31ab3b36 _NSWriteBytesToFileWithExtendedAttributes + 186
4 Foundation 0x31ab3a70 _NSWriteBytesToFile + 24
5 Foundation 0x31ab3a48 -[NSData(NSData) writeToFile:atomically:] + 76
6 JouleBug 0x00109c5c -[LazyJSONModelMapper save] (LazyJSONModelMapper.m:106)
7 JouleBug 0x00109b40 __36-[LazyJSONModelMapper initWithFile:]_block_invoke_0 (LazyJSONModelMapper.m:63)
8 Foundation 0x31a856c2 -[__NSObserver _doit:] + 286
9 Foundation 0x31b1152a __67-[NSNotificationCenter addObserverForName:object:queue:usingBlock:]_block_invoke_0 + 22
10 CoreFoundation 0x311d6540 ___CFXNotificationPost_block_invoke_0 + 64
11 CoreFoundation 0x31162090 _CFXNotificationPost + 1400
12 Foundation 0x31a853e4 -[NSNotificationCenter postNotificationName:object:userInfo:] + 60
13 UIKit 0x3090524e -[UIApplication _handleApplicationSuspend:eventInfo:] + 786
14 UIKit 0x30895ef8 -[UIApplication handleEvent:withNewEvent:] + 2088
15 UIKit 0x30895560 -[UIApplication sendEvent:] + 48
16 UIKit 0x30894f34 _UIApplicationHandleEvent + 5820
17 GraphicsServices 0x331db224 PurpleEventCallback + 876
18 CoreFoundation 0x311deacc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 8
19 CoreFoundation 0x311de32e __CFRunLoopDoSources0 + 358
20 CoreFoundation 0x311dd03e __CFRunLoopRun + 646
21 CoreFoundation 0x3116049e CFRunLoopRunSpecific + 294
22 CoreFoundation 0x31160366 CFRunLoopRunInMode + 98
23 GraphicsServices 0x331da432 GSEventRunModal + 130
24 UIKit 0x308c3cce UIApplicationMain + 1074
25 JouleBug 0x00033ac6 main (main.m:14)
26 JouleBug 0x00003900 0x1000 + 10496
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x37e143a8 kevent + 24
1 libdispatch.dylib 0x35a2eea4 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x35a2ebc2 _dispatch_mgr_thread + 30
Thread 2:
0 libsystem_kernel.dylib 0x37e24cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x352aaf36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x352aacc8 start_wqthread + 0
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x37e240d8 __psynch_mutexwait + 24
1 libsystem_c.dylib 0x352a4674 pthread_mutex_lock + 376
2 WebCore 0x362614e8 _ZL17_WebTryThreadLockb + 208
3 WebCore 0x362c016c _ZL19SendDelegateMessageP12NSInvocation + 700
4 WebKit 0x36bfad80 -[_WebSafeForwarder forwardInvocation:] + 112
5 CoreFoundation 0x3120ca7c ___forwarding___ + 660
6 CoreFoundation 0x31167648 _CF_forwarding_prep_0 + 40
7 WebCore 0x3631bf7c WebCore::FrameLoader::finishedParsing() + 56
8 WebCore 0x3631bf12 WebCore::Document::finishedParsing() + 186
9 WebCore 0x3631be50 WebCore::HTMLTreeBuilder::finished() + 16
10 WebCore 0x3630cfbe WebCore::HTMLDocumentParser::prepareToStopParsing() + 106
11 WebCore 0x3630cc9e WebCore::HTMLDocumentParser::finish() + 90
12 WebCore 0x3630cc3a WebCore::Document::finishParsing() + 14
13 WebCore 0x36309e62 WebCore::DocumentWriter::endIfNotLoadingMainResource() + 74
14 WebCore 0x363084fa WebCore::DocumentLoader::finishedLoading() + 74
15 WebCore 0x363559c8 WebCore::FrameLoader::finishedLoading() + 48
16 WebCore 0x36355938 WebCore::MainResourceLoader::didFinishLoading(double) + 88
17 WebCore 0x363558c2 _ZN7WebCoreL16didFinishLoadingEP16_CFURLConnectionPKv + 46
18 CFNetwork 0x349997ee URLConnectionClient::_clientDidFinishLoading(URLConnectionClient::ClientConnectionEventQueue*) + 186
19 CFNetwork 0x3498e49e URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo<XClientEvent, XClientEventParams>*, long) + 418
20 CFNetwork 0x3498e592 URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo<XClientEvent, XClientEventParams>*, long) + 662
21 CFNetwork 0x3498e19c URLConnectionClient::processEvents() + 100
22 CFNetwork 0x3498e0d2 MultiplexerSource::perform() + 150
23 CoreFoundation 0x311deacc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 8
24 CoreFoundation 0x311de32e __CFRunLoopDoSources0 + 358
25 CoreFoundation 0x311dd03e __CFRunLoopRun + 646
26 CoreFoundation 0x3116049e CFRunLoopRunSpecific + 294
27 CoreFoundation 0x31160366 CFRunLoopRunInMode + 98
28 WebCore 0x36304c9c _ZL12RunWebThreadPv + 396
29 libsystem_c.dylib 0x352b072e _pthread_start + 314
30 libsystem_c.dylib 0x352b05e8 thread_start + 0
Thread 4:
0 libsystem_kernel.dylib 0x37e14004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x37e141fa mach_msg + 50
2 CoreFoundation 0x311de3ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x311dd124 __CFRunLoopRun + 876
4 CoreFoundation 0x3116049e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x311dd444 CFRunLoopRun + 92
6 JouleBug 0x00071800 +[ASIHTTPRequest runRequests] (ASIHTTPRequest.m:4772)
7 Foundation 0x31a92a7a -[NSThread main] + 66
8 Foundation 0x31b2658a __NSThread__main__ + 1042
9 libsystem_c.dylib 0x352b072e _pthread_start + 314
10 libsystem_c.dylib 0x352b05e8 thread_start + 0
Thread 5 name: com.apple.NSURLConnectionLoader
Thread 5:
0 libsystem_kernel.dylib 0x37e14004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x37e141fa mach_msg + 50
2 CoreFoundation 0x311de3ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x311dd124 __CFRunLoopRun + 876
4 CoreFoundation 0x3116049e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x31160366 CFRunLoopRunInMode + 98
6 Foundation 0x31a92bb2 +[NSURLConnection(Loader) _resourceLoadLoop:] + 302
7 Foundation 0x31a92a7a -[NSThread main] + 66
8 Foundation 0x31b2658a __NSThread__main__ + 1042
9 libsystem_c.dylib 0x352b072e _pthread_start + 314
10 libsystem_c.dylib 0x352b05e8 thread_start + 0
Thread 6 name: com.apple.CFSocket.private
Thread 6:
0 libsystem_kernel.dylib 0x37e24570 __select + 20
1 CoreFoundation 0x311e263a __CFSocketManager + 726
2 libsystem_c.dylib 0x352b072e _pthread_start + 314
3 libsystem_c.dylib 0x352b05e8 thread_start + 0
Thread 7:
0 libsystem_kernel.dylib 0x37e14004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x37e141fa mach_msg + 50
2 CoreFoundation 0x311de3ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x311dd124 __CFRunLoopRun + 876
4 CoreFoundation 0x3116049e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x31160366 CFRunLoopRunInMode + 98
6 Foundation 0x31a86b6e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250
7 Foundation 0x31aa051c -[NSRunLoop(NSRunLoop) run] + 72
8 JouleBug 0x0014e516 0x1000 + 1365270
9 Foundation 0x31a92a7a -[NSThread main] + 66
10 Foundation 0x31b2658a __NSThread__main__ + 1042
11 libsystem_c.dylib 0x352b072e _pthread_start + 314
12 libsystem_c.dylib 0x352b05e8 thread_start + 0
Thread 8 name: Dispatch queue: com.apple.root.default-priority
Thread 8:
0 libsystem_kernel.dylib 0x37e2451c __rename + 8
1 libsystem_kernel.dylib 0x37e15b6e rename + 2
2 Foundation 0x31ab3dac _NSWriteBytesToFileWithExtendedAttributes + 816
3 Foundation 0x31ab3a70 _NSWriteBytesToFile + 24
4 Foundation 0x31ab3a48 -[NSData(NSData) writeToFile:atomically:] + 76
5 JouleBug 0x00109c5c -[LazyJSONModelMapper save] (LazyJSONModelMapper.m:106)
6 JouleBug 0x00109a4e -[LazyJSONModelMapper initWithFile:] (LazyJSONModelMapper.m:85)
7 JouleBug 0x001097c6 -[LazyJSONModelMapper initWithData:fromFile:] (LazyJSONModelMapper.m:45)
8 JouleBug 0x00089e5c +[GameDataManager storePinFromPinDict:] (GameDataManager.m:238)
9 JouleBug 0x000dd378 +[GameDataLoader processData:] (GameDataLoader.m:62)
10 JouleBug 0x000ae300 +[DataLoader refreshDataSynchronously] (DataLoader.m:54)
11 JouleBug 0x000ae29c __25+[DataLoader refreshData]_block_invoke_0 (DataLoader.m:36)
12 Foundation 0x31acbe50 -[NSBlockOperation main] + 196
13 Foundation 0x31aad38c -[__NSOperationInternal start] + 856
14 JouleBug 0x000ccb06 -[TimedBlockOperation start] (NSOperationExtensions.m:96)
15 Foundation 0x31b1678c __block_global_6 + 96
16 libdispatch.dylib 0x35a22c52 _dispatch_call_block_and_release + 6
17 libdispatch.dylib 0x35a2e7b4 _dispatch_worker_thread2 + 256
18 libsystem_c.dylib 0x352aadf4 _pthread_wqthread + 288
19 libsystem_c.dylib 0x352aacc8 start_wqthread + 0
Thread 9:
0 libsystem_kernel.dylib 0x37e24cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x352aaf36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x352aacc8 start_wqthread + 0
Thread 10:
0 libsystem_kernel.dylib 0x37e24cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x352aaf36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x352aacc8 start_wqthread + 0
Thread 11 name: WebCore: CFNetwork Loader
Thread 11:
0 libsystem_kernel.dylib 0x37e14004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x37e141fa mach_msg + 50
2 CoreFoundation 0x311de3ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x311dd124 __CFRunLoopRun + 876
4 CoreFoundation 0x3116049e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x31160366 CFRunLoopRunInMode + 98
6 WebCore 0x3632e0d2 _ZN7WebCoreL15runLoaderThreadEPv + 122
7 libsystem_c.dylib 0x352b072e _pthread_start + 314
8 libsystem_c.dylib 0x352b05e8 thread_start + 0
Thread 12:
0 libsystem_kernel.dylib 0x37e24cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x352aaf36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x352aacc8 start_wqthread + 0
Unknown thread crashed with unknown flavor: 5, state_count: 1
I finally tracked this down. Just as in other similar incidents reported on Stack Overflow, this turned out to be a problem with a scheduled operation attempting to run in the background. My problem is resolved.