I keep getting these crashes in my app that´s in the AppStore. The CrashReport always looks like this:
Incident Identifier: 986486D7-F013-4102-B9E3-84F923223914
CrashReporter Key: [TODO]
Hardware Model: iPhone4,1
Process: MyApp [57885]
Path: /Users/USER/MyApp.app/MyApp
Identifier: de.myapp.iphone
Version: 12475
Code Type: ARM
Parent Process: launchd [1]
Date/Time: 2012-12-20 15:48:53 +0000
OS Version: iPhone OS 6.0.1 (10A523)
Report Version: 104
Exception Type: SIGTRAP
Exception Codes: #0 at 0x3abd62be
Crashed Thread: 0
Thread 0 Crashed:
0 CoreFoundation 0x363582be CFRelease + 18
1 WebCore 0x383de395 WebCore::stopSharedTimer() + 33
2 WebCore 0x38433515 WebCore::TimerBase::~TimerBase() + 45
3 WebCore 0x3846003b WebCore::Document::~Document() + 2751
4 WebCore 0x3845f56d WebCore::HTMLDocument::~HTMLDocument() + 81
5 WebCore 0x384e9473 WebCore::JSNodeOwner::finalize(JSC::Handle<JSC::Unknown>, void*) + 79
6 JavaScriptCore 0x321e2067 JSC::WeakBlock::sweep() + 87
7 JavaScriptCore 0x321e22ad JSC::WeakSet::sweep() + 53
8 JavaScriptCore 0x3213d877 JSC::Heap::collect(JSC::Heap::SweepToggle) + 175
9 JavaScriptCore 0x3213cad9 JSC::DefaultGCActivityCallbackPlatformData::timerDidFire(__CFRunLoopTimer*, void*) + 145
10 CoreFoundation 0x363ec5df __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 15
11 CoreFoundation 0x363ec291 __CFRunLoopDoTimer + 273
12 CoreFoundation 0x363eaf01 __CFRunLoopRun + 1233
13 CoreFoundation 0x3635debd CFRunLoopRunSpecific + 357
14 CoreFoundation 0x3635dd49 CFRunLoopRunInMode + 105
15 GraphicsServices 0x3490e2eb GSEventRunModal + 75
16 UIKit 0x37b2b2f9 UIApplicationMain + 1121
17 MyApp 0x00003927 main (main.m:20)
Thread 5:
0 libsystem_kernel.dylib 0x3681feb4 mach_msg_trap + 20
1 CoreFoundation 0x363ec045 __CFRunLoopServiceMachPort + 129
2 CoreFoundation 0x363eada3 __CFRunLoopRun + 883
3 CoreFoundation 0x3635debd CFRunLoopRunSpecific + 357
4 CoreFoundation 0x3635dd49 CFRunLoopRunInMode + 105
5 Foundation 0x307f978f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 255
6 Foundation 0x3089d05d -[NSRunLoop(NSRunLoop) run] + 81
7 MyApp 0x000c3225 +[AFURLConnectionOperation networkRequestThreadEntryPoint:] (AFURLConnectionOperation.m:157)
8 Foundation 0x308a667d __NSThread__main__ + 973
9 libsystem_c.dylib 0x33ab5311 _pthread_start + 309
Thread 6:
0 libsystem_kernel.dylib 0x3681feb4 mach_msg_trap + 20
1 CoreFoundation 0x363ec045 __CFRunLoopServiceMachPort + 129
2 CoreFoundation 0x363eada3 __CFRunLoopRun + 883
3 CoreFoundation 0x3635debd CFRunLoopRunSpecific + 357
4 CoreFoundation 0x3635dd49 CFRunLoopRunInMode + 105
5 Foundation 0x30822bcd +[NSURLConnection(Loader) _resourceLoadLoop:] + 309
6 Foundation 0x308a667d __NSThread__main__ + 973
7 libsystem_c.dylib 0x33ab5311 _pthread_start + 309
Thread 7:
0 libsystem_kernel.dylib 0x368300fc __psynch_mutexwait + 24
1 CFNetwork 0x3137647f __CFURLCache::ExecuteSQLSelectAndCreateResponse(__CFString const*, bool) + 179
2 CFNetwork 0x313763b1 __CFURLCache::LookupCachedURLResponse(__CFURLCacheNode*, bool) + 13
3 CFNetwork 0x31387893 __CFURLCache::CopyResponseForRequest(_CFURLRequest const*, bool) + 231
4 CFNetwork 0x313c2ee1 __CFURLCacheCopyResponseForRequestInternal(_CFURLCache const*, _CFURLRequest const*, unsigned char) + 33
5 CFNetwork 0x313fe8bd ___loaderEvent_StartLoad_block_invoke_0 + 45
6 CFNetwork 0x3141e657 ConnectionSession::withStorageSession(void ( block_pointer)(StorageSession const*)) const + 83
7 CFNetwork 0x313ff9d5 __withStorageSessionAsync_block_invoke_0 + 17
8 CFNetwork 0x313d3639 __withConnectionSessionAsync_block_invoke_0 + 17
9 libdispatch.dylib 0x3807711f _dispatch_call_block_and_release + 11
10 libdispatch.dylib 0x3807b961 _dispatch_root_queue_drain + 253
11 libdispatch.dylib 0x3807bac1 _dispatch_worker_thread2 + 85
12 libsystem_c.dylib 0x33aaaa11 _pthread_wqthread + 361
Thread 8:
0 libsystem_kernel.dylib 0x368300fc __psynch_mutexwait + 24
1 CFNetwork 0x3137647f __CFURLCache::ExecuteSQLSelectAndCreateResponse(__CFString const*, bool) + 179
2 CFNetwork 0x313763b1 __CFURLCache::LookupCachedURLResponse(__CFURLCacheNode*, bool) + 13
3 CFNetwork 0x31387893 __CFURLCache::CopyResponseForRequest(_CFURLRequest const*, bool) + 231
4 CFNetwork 0x313c2ee1 __CFURLCacheCopyResponseForRequestInternal(_CFURLCache const*, _CFURLRequest const*, unsigned char) + 33
5 CFNetwork 0x313fe8bd ___loaderEvent_StartLoad_block_invoke_0 + 45
6 CFNetwork 0x3141e657 ConnectionSession::withStorageSession(void ( block_pointer)(StorageSession const*)) const + 83
7 CFNetwork 0x313ff9d5 __withStorageSessionAsync_block_invoke_0 + 17
8 CFNetwork 0x313d3639 __withConnectionSessionAsync_block_invoke_0 + 17
9 libdispatch.dylib 0x3807711f _dispatch_call_block_and_release + 11
10 libdispatch.dylib 0x3807b961 _dispatch_root_queue_drain + 253
11 libdispatch.dylib 0x3807bac1 _dispatch_worker_thread2 + 85
12 libsystem_c.dylib 0x33aaaa11 _pthread_wqthread + 361
Thread 10:
0 libsystem_kernel.dylib 0x368300fc __psynch_mutexwait + 24
1 CFNetwork 0x3137647f __CFURLCache::ExecuteSQLSelectAndCreateResponse(__CFString const*, bool) + 179
2 CFNetwork 0x313763b1 __CFURLCache::LookupCachedURLResponse(__CFURLCacheNode*, bool) + 13
3 CFNetwork 0x31387893 __CFURLCache::CopyResponseForRequest(_CFURLRequest const*, bool) + 231
4 CFNetwork 0x313c2ee1 __CFURLCacheCopyResponseForRequestInternal(_CFURLCache const*, _CFURLRequest const*, unsigned char) + 33
5 CFNetwork 0x313fe8bd ___loaderEvent_StartLoad_block_invoke_0 + 45
6 CFNetwork 0x3141e657 ConnectionSession::withStorageSession(void ( block_pointer)(StorageSession const*)) const + 83
7 CFNetwork 0x313ff9d5 __withStorageSessionAsync_block_invoke_0 + 17
8 CFNetwork 0x313d3639 __withConnectionSessionAsync_block_invoke_0 + 17
9 libdispatch.dylib 0x3807711f _dispatch_call_block_and_release + 11
10 libdispatch.dylib 0x3807b961 _dispatch_root_queue_drain + 253
11 libdispatch.dylib 0x3807bac1 _dispatch_worker_thread2 + 85
12 libsystem_c.dylib 0x33aaaa11 _pthread_wqthread + 361
Thread 13:
0 libsystem_kernel.dylib 0x3682239c pread + 20
1 libsqlite3.dylib 0x33978109 sqlite3_get_table + 125
2 libsqlite3.dylib 0x339772a7 sqlite3_get_table + 125
3 libsqlite3.dylib 0x33d25fb1 0x33cde000 + 294833
4 libsqlite3.dylib 0x33d13807 0x33cde000 + 219143
5 libsqlite3.dylib 0x33d0d49d 0x33cde000 + 193693
6 libsqlite3.dylib 0x3398648f sqlite3_step + 2143
7 CFNetwork 0x3138276b __CFURLCache::DoBulkLookupAndStoreBasedOnTime(__CFString const*) + 459
8 CFNetwork 0x313c4667 __ExecuteSQLSelectAndCreateResponse_block_invoke_0 + 35
9 libdispatch.dylib 0x3807711f _dispatch_call_block_and_release + 11
10 libdispatch.dylib 0x3807b961 _dispatch_root_queue_drain + 253
11 libdispatch.dylib 0x3807bac1 _dispatch_worker_thread2 + 85
12 libsystem_c.dylib 0x33aaaa11 _pthread_wqthread + 361
Thread 17:
0 libsystem_kernel.dylib 0x3683008c __psynch_cvwait + 24
1 libsystem_c.dylib 0x33aadaa5 pthread_cond_timedwait + 45
2 JavaScriptCore 0x320d6c75 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 109
3 JavaScriptCore 0x321e8557 JSC::BlockAllocator::blockFreeingThreadMain() + 83
4 JavaScriptCore 0x321fafab _ZN3WTFL19wtfThreadEntryPointEPv + 15
5 libsystem_c.dylib 0x33ab5311 _pthread_start + 309
Thread 18:
0 libsystem_kernel.dylib 0x3683008c __psynch_cvwait + 24
1 libsystem_c.dylib 0x33ab7f19 pthread_cond_wait + 41
2 JavaScriptCore 0x3217bf41 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 149
3 JavaScriptCore 0x3217be81 JSC::MarkStackThreadSharedData::markingThreadMain() + 145
4 JavaScriptCore 0x321fafab _ZN3WTFL19wtfThreadEntryPointEPv + 15
5 libsystem_c.dylib 0x33ab5311 _pthread_start + 309
Thread 22:
0 libsystem_kernel.dylib 0x368300fc __psynch_mutexwait + 24
1 CFNetwork 0x3137647f __CFURLCache::ExecuteSQLSelectAndCreateResponse(__CFString const*, bool) + 179
2 CFNetwork 0x313763b1 __CFURLCache::LookupCachedURLResponse(__CFURLCacheNode*, bool) + 13
3 CFNetwork 0x31387893 __CFURLCache::CopyResponseForRequest(_CFURLRequest const*, bool) + 231
4 CFNetwork 0x313c2ee1 __CFURLCacheCopyResponseForRequestInternal(_CFURLCache const*, _CFURLRequest const*, unsigned char) + 33
5 CFNetwork 0x313fe8bd ___loaderEvent_StartLoad_block_invoke_0 + 45
6 CFNetwork 0x3141e657 ConnectionSession::withStorageSession(void ( block_pointer)(StorageSession const*)) const + 83
7 CFNetwork 0x313ff9d5 __withStorageSessionAsync_block_invoke_0 + 17
8 CFNetwork 0x313d3639 __withConnectionSessionAsync_block_invoke_0 + 17
9 libdispatch.dylib 0x3807711f _dispatch_call_block_and_release + 11
10 libdispatch.dylib 0x3807b961 _dispatch_root_queue_drain + 253
11 libdispatch.dylib 0x3807bac1 _dispatch_worker_thread2 + 85
12 libsystem_c.dylib 0x33aaaa11 _pthread_wqthread + 361
Thread 25:
0 libsystem_kernel.dylib 0x368300fc __psynch_mutexwait + 24
1 CFNetwork 0x3137647f __CFURLCache::ExecuteSQLSelectAndCreateResponse(__CFString const*, bool) + 179
2 CFNetwork 0x313763b1 __CFURLCache::LookupCachedURLResponse(__CFURLCacheNode*, bool) + 13
3 CFNetwork 0x31387893 __CFURLCache::CopyResponseForRequest(_CFURLRequest const*, bool) + 231
4 CFNetwork 0x313c2ee1 __CFURLCacheCopyResponseForRequestInternal(_CFURLCache const*, _CFURLRequest const*, unsigned char) + 33
5 CFNetwork 0x313fe8bd ___loaderEvent_StartLoad_block_invoke_0 + 45
6 CFNetwork 0x3141e657 ConnectionSession::withStorageSession(void ( block_pointer)(StorageSession const*)) const + 83
7 CFNetwork 0x313ff9d5 __withStorageSessionAsync_block_invoke_0 + 17
8 CFNetwork 0x313d3639 __withConnectionSessionAsync_block_invoke_0 + 17
9 libdispatch.dylib 0x3807711f _dispatch_call_block_and_release + 11
10 libdispatch.dylib 0x3807b961 _dispatch_root_queue_drain + 253
11 libdispatch.dylib 0x3807bac1 _dispatch_worker_thread2 + 85
12 libsystem_c.dylib 0x33aaaa11 _pthread_wqthread + 361
Thread 43:
0 libsystem_kernel.dylib 0x3682239c pread + 20
1 libsqlite3.dylib 0x33978109 sqlite3_get_table + 125
2 libsqlite3.dylib 0x339772a7 sqlite3_get_table + 125
3 libsqlite3.dylib 0x33d25fb1 0x33cde000 + 294833
4 libsqlite3.dylib 0x33d13807 0x33cde000 + 219143
5 libsqlite3.dylib 0x33d0d49d 0x33cde000 + 193693
6 libsqlite3.dylib 0x3398648f sqlite3_step + 2143
7 CFNetwork 0x3138276b __CFURLCache::DoBulkLookupAndStoreBasedOnTime(__CFString const*) + 459
8 CFNetwork 0x313c4667 __ExecuteSQLSelectAndCreateResponse_block_invoke_0 + 35
9 libdispatch.dylib 0x3807711f _dispatch_call_block_and_release + 11
10 libdispatch.dylib 0x3807b961 _dispatch_root_queue_drain + 253
11 libdispatch.dylib 0x3807bac1 _dispatch_worker_thread2 + 85
12 libsystem_c.dylib 0x33aaaa11 _pthread_wqthread + 361
Thread 44:
0 libsystem_kernel.dylib 0x368300fc __psynch_mutexwait + 24
1 CFNetwork 0x31382619 __CFURLCache::DoBulkLookupAndStoreBasedOnTime(__CFString const*) + 121
2 CFNetwork 0x313c4667 __ExecuteSQLSelectAndCreateResponse_block_invoke_0 + 35
3 libdispatch.dylib 0x3807711f _dispatch_call_block_and_release + 11
4 libdispatch.dylib 0x3807b961 _dispatch_root_queue_drain + 253
5 libdispatch.dylib 0x3807bac1 _dispatch_worker_thread2 + 85
6 libsystem_c.dylib 0x33aaaa11 _pthread_wqthread + 361
Thread 47:
0 libsystem_kernel.dylib 0x368300fc __psynch_mutexwait + 24
1 CFNetwork 0x3137647f __CFURLCache::ExecuteSQLSelectAndCreateResponse(__CFString const*, bool) + 179
2 CFNetwork 0x313763b1 __CFURLCache::LookupCachedURLResponse(__CFURLCacheNode*, bool) + 13
3 CFNetwork 0x31387893 __CFURLCache::CopyResponseForRequest(_CFURLRequest const*, bool) + 231
4 CFNetwork 0x313c2ee1 __CFURLCacheCopyResponseForRequestInternal(_CFURLCache const*, _CFURLRequest const*, unsigned char) + 33
5 CFNetwork 0x313fe8bd ___loaderEvent_StartLoad_block_invoke_0 + 45
6 CFNetwork 0x3141e657 ConnectionSession::withStorageSession(void ( block_pointer)(StorageSession const*)) const + 83
7 CFNetwork 0x313ff9d5 __withStorageSessionAsync_block_invoke_0 + 17
8 CFNetwork 0x313d3639 __withConnectionSessionAsync_block_invoke_0 + 17
9 libdispatch.dylib 0x3807711f _dispatch_call_block_and_release + 11
10 libdispatch.dylib 0x3807b961 _dispatch_root_queue_drain + 253
11 libdispatch.dylib 0x3807bac1 _dispatch_worker_thread2 + 85
12 libsystem_c.dylib 0x33aaaa11 _pthread_wqthread + 361
Thread 49:
0 libsystem_kernel.dylib 0x368300fc __psynch_mutexwait + 24
1 CFNetwork 0x3137647f __CFURLCache::ExecuteSQLSelectAndCreateResponse(__CFString const*, bool) + 179
2 CFNetwork 0x313763b1 __CFURLCache::LookupCachedURLResponse(__CFURLCacheNode*, bool) + 13
3 CFNetwork 0x31387893 __CFURLCache::CopyResponseForRequest(_CFURLRequest const*, bool) + 231
4 CFNetwork 0x313c2ee1 __CFURLCacheCopyResponseForRequestInternal(_CFURLCache const*, _CFURLRequest const*, unsigned char) + 33
5 CFNetwork 0x313fe8bd ___loaderEvent_StartLoad_block_invoke_0 + 45
6 CFNetwork 0x3141e657 ConnectionSession::withStorageSession(void ( block_pointer)(StorageSession const*)) const + 83
7 CFNetwork 0x313ff9d5 __withStorageSessionAsync_block_invoke_0 + 17
8 CFNetwork 0x313d3639 __withConnectionSessionAsync_block_invoke_0 + 17
9 libdispatch.dylib 0x3807711f _dispatch_call_block_and_release + 11
10 libdispatch.dylib 0x3807b961 _dispatch_root_queue_drain + 253
11 libdispatch.dylib 0x3807bac1 _dispatch_worker_thread2 + 85
12 libsystem_c.dylib 0x33aaaa11 _pthread_wqthread + 361
Thread 50:
0 libsystem_kernel.dylib 0x368300fc __psynch_mutexwait + 24
1 CFNetwork 0x3137647f __CFURLCache::ExecuteSQLSelectAndCreateResponse(__CFString const*, bool) + 179
2 CFNetwork 0x313763b1 __CFURLCache::LookupCachedURLResponse(__CFURLCacheNode*, bool) + 13
3 CFNetwork 0x31387893 __CFURLCache::CopyResponseForRequest(_CFURLRequest const*, bool) + 231
4 CFNetwork 0x313c2ee1 __CFURLCacheCopyResponseForRequestInternal(_CFURLCache const*, _CFURLRequest const*, unsigned char) + 33
5 CFNetwork 0x313fe8bd ___loaderEvent_StartLoad_block_invoke_0 + 45
6 CFNetwork 0x3141e657 ConnectionSession::withStorageSession(void ( block_pointer)(StorageSession const*)) const + 83
7 CFNetwork 0x313ff9d5 __withStorageSessionAsync_block_invoke_0 + 17
8 CFNetwork 0x313d3639 __withConnectionSessionAsync_block_invoke_0 + 17
9 libdispatch.dylib 0x3807711f _dispatch_call_block_and_release + 11
10 libdispatch.dylib 0x3807b961 _dispatch_root_queue_drain + 253
11 libdispatch.dylib 0x3807bac1 _dispatch_worker_thread2 + 85
12 libsystem_c.dylib 0x33aaaa11 _pthread_wqthread + 361
Thread 51:
0 libsystem_kernel.dylib 0x36830d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x33aaaa16 _pthread_wqthread + 366
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x5df80157 r2: 0x1ddd4000 r3: 0x38596026
r4: 0x3be2c86c r5: 0x00000000 r6: 0x00000000 r7: 0x2fd1be1c
r8: 0x00000000 r9: 0x00293498 r10: 0x00388800 r11: 0x04432d90
ip: 0x3bd68a50 sp: 0x2fd1bde8 lr: 0x368ba395 pc: 0x3abd62be
cpsr: 0x60000030
I´m basically using an AFJSONRequestOperation in a UIViewController, which has been pushed onto a NavigationController to fetch a JSON it display its contents.
Is it AFNetworking that´s causing the crash (in Thread 5)? Or could it be a flaw in my code? I´m really stuck and it happens quite often. Any help or questions very much appreciated!
Its not a problem with Thread 5 according to the crash; it is a problem in Thread 0.
Brian in his blog posting adds some background information on how the timer operates in webkit.
http://brrian.tumblr.com/post/13951629341/how-webkits-event-model-works
Its interesting that the problem OS is 6.0.1, not the newer version 6.1, nor 7.x (as of the time of writing).
The crash happens during a CFRelease, and this tends to happen when a resource has already been released is released. My suggestion is to see if the problem happens on any newer OS as it sounds like a WebKit bug. Webkit is the code responsible for the timer.
The timer code has been re-worked anyhow:
https://trac.webkit.org/changeset/143210
So I think the best option is to look to see if the newest iOS ever has this crash, or the newest 6.x (6.1).
Failing this, and assuming you cannot reproduce the problem, since you have networking queries (and DB queries) going on, the classic way timers come into the picture is when you have slow/unreliable network connection. Use Apple's Network Link Conditioner to simulate such conditions. This might show up the problem in WebKit.
Check if some ad opened the iTunes. Maybe you are opening too many threads in the initialization of your application. You can try to enqueue these requests. Just random thoughts..
Related
Crash logs:
1 CRASH
1 USER
CFNetwork
CFAllocatedReferenceCountedObject::_retainable_hash(void const*)
Crashed: com.apple.CFNetwork.LoaderQ
0 CFNetwork 0x183985310 CFAllocatedReferenceCountedObject::_retainable_hash(void const*) + 26
1 CoreFoundation 0x18321e160 CFBasicHashFindBucket + 164
2 CoreFoundation 0x18321e0a0 CFDictionaryGetValue
+ 224
3 CFNetwork 0x1839b5a4c TubeManager::_onqueue_enqueueRequestForProtocol(MetaConnectionCacheClient*, HTTPRequestMessage const*, MetaConnectionOptions, BaseAwaitingTube*) + 80
4 CFNetwork 0x1839b69b4 TubeManager::_onqueue_reenqueueAwaitingTube(BaseAwaitingTube*) + 112
5 CFNetwork 0x1839b6c14 invocation function for block in TubeManager::_onqueue_newTubeReady(Tube*, CFStreamError) + 28
6 CFNetwork 0x183b152e4 invocation function for block in QCoreSchedulingSet::performAsync(void () block_pointer) const
+ 52
7 libdispatch.dylib 0x182cdea54 _dispatch_call_block_and_release + 24
8 libdispatch.dylib 0x182cdea14 _dispatch_client_callout + 16
9 libdispatch.dylib 0x182ce896c _dispatch_queue_serial_drain$VARIANT$mp + 528
10 libdispatch.dylib 0x182ce92fc
_dispatch_queue_invoke$VARIANT$mp + 340
11 libdispatch.dylib 0x182ce8824 _dispatch_queue_serial_drain$VARIANT$mp + 200
12 libdispatch.dylib 0x182ce92fc
_dispatch_queue_invoke$VARIANT$mp + 340
13 libdispatch.dylib 0x182ce9d20 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 404
14 libdispatch.dylib 0x182cf203c
_dispatch_workloop_worker_thread$VARIANT$mp + 644
15 libsystem_pthread.dylib 0x182f86f1c _pthread_wqthread + 932
16 libsystem_pthread.dylib 0x182f86b6c start_wqthread + 4
IOS versions:
11.2.6
11.2.2
11.2.1
Devices:
iPhone 6
iPhone 6S plus
iPad mini 2
Does somebody know why this error occurs and how to solve it?
Please help
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
This crash seems to be happening for iOS 7.1.1 and 7.1.2 with AFNetworking 2.5.3:
Here's the stack trace:
Thread : Crashed: com.apple.NSURLConnectionLoader
0 libobjc.A.dylib 0x000000018ef241d0 objc_msgSend + 16
1 CFNetwork 0x0000000182567c30 HTTPConnectionCacheEntry::notifyNextProtocolOfOpenConnection(NetConnection*, unsigned char) + 200
2 CFNetwork 0x0000000182577274 NetConnection::responseIsComplete(void*) + 256
3 CFNetwork 0x0000000182577118 HTTPNetStreamInfo::sendStreamIsComplete() + 72
4 CFNetwork 0x0000000182575df0 HTTPNetStreamInfo::_streamImpl_Read(unsigned char*, long, CFStreamError*, unsigned char*) + 392
5 CFNetwork 0x000000018254efd8 CoreStreamBase::_streamInterface_Read(unsigned char*, long) + 184
6 CFNetwork 0x0000000182575970 HTTPProtocol::bytesAvailable(unsigned char) + 224
7 CFNetwork 0x0000000182573e40 HTTPProtocol::httpReadStreamEvent(unsigned long) + 596
8 CFNetwork 0x000000018254d4a4 CoreReadStreamClient::coreStreamEventsAvailable(unsigned long) + 64
9 CFNetwork 0x000000018262be94 CoreStreamBase::_callClientNow(CoreStreamClient*) + 64
10 CFNetwork 0x000000018262bed4 ___ZN14CoreStreamBase34_streamSetEventAndScheduleDeliveryEmh_block_invoke + 40
11 CoreFoundation 0x00000001829095e0 CFArrayApplyFunction + 68
12 CFNetwork 0x0000000182560a1c RunloopBlockContext::perform() + 136
13 CFNetwork 0x0000000182560898 MultiplexerSource::perform() + 288
14 CFNetwork 0x00000001825606d4 MultiplexerSource::_perform(void*) + 60
15 CoreFoundation 0x00000001829cb644 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
16 CoreFoundation 0x00000001829ca9a0 __CFRunLoopDoSources0 + 256
17 CoreFoundation 0x00000001829c8c38 __CFRunLoopRun + 632
18 CoreFoundation 0x0000000182909c20 CFRunLoopRunSpecific + 452
19 Foundation 0x00000001834fe428 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
20 Foundation 0x000000018358c40c __NSThread__main__ + 1000
21 libsystem_pthread.dylib 0x000000018f683e1c _pthread_body + 168
22 libsystem_pthread.dylib 0x000000018f683d74 _pthread_body + 138
23 libsystem_pthread.dylib 0x000000018f681554 thread_start + 4
Does anyone know what's the root cause for this? Is there a solution for it available?
We built an iOS application using Cordova/angular/ionic. The application is a photo application which uses web workers for background image processing.
After doing some image manipulation we are clearing all of our variables and memory is stable. Every so often the application gets hidden in the background and then when triggered using an external link it crashes randomly. I am getting the below crash report in xCode. The memory is stable in xCode and the application crashes before the "resume" iOS callback is called so xCode does not output any exception.
We believe this is something to do with Workers since the application crashes only after workers have been used, but we cannot find the memory leak or the lingering pointer.
We are also getting something like this in xCode (randomly) when we do worker.postMessage to a ready worker.
Communications error: <OS_xpc_error: <error: 0x397d0614> { count = 1, contents =
"XPCErrorDescription" => <string: 0x397d086c> { length = 22, contents = "Connection interrupted" }
}>
We don't know if the above error is connected to the above crash or not.
Has anyone had any similar issues?
Incident Identifier: D15A92CA-1384-41A4-86D8-DCAD0F0CCEAD
CrashReporter Key: f8d3c65b5d8546e16be90ff79e7f7852d1d340d6
Hardware Model: iPod5,1
Process: app [3639]
Path: /private/var/mobile/Containers/Bundle/Application/2A3BB04D-C783-432C-81D8-9FD17E3E766C/myapp.app/myapp
Identifier: it.myapp
Version: 1.0.2 (1.0.2)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2015-08-11 13:16:33.319 +0200
Launch Time: 2015-08-11 13:12:22.777 +0200
OS Version: iOS 8.1 (12B411)
Report Version: 105
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
Application Specific Information:
it.myapp failed to scene-update in time
Elapsed total CPU time (seconds): 17.490 (user 17.490, system 0.000), 85% CPU
Elapsed application CPU time (seconds): 15.755, 77% CPU
Thread 0 name: Dispatch queue: com.apple.root.user-interactive-qos
Thread 0:
0 vImage 0x28081984 conv4_8_A + 300
1 vImage 0x2807e6c4 vConvolveCore_Planar8 + 2052
2 vImage 0x2804ed8a __vImageConvolveWithBias_Planar8_block_invoke + 138
3 libdispatch.dylib 0x36fc8ee0 _dispatch_client_callout2 + 20
4 libdispatch.dylib 0x36fd3b76 _dispatch_apply_invoke$VARIANT$mp + 146
5 libdispatch.dylib 0x36fd3f56 dispatch_apply_f$VARIANT$mp + 538
6 vImage 0x2804ecc6 vImageConvolveWithBias_Planar8 + 714
7 vImage 0x2804e9f0 vImageConvolve_Planar8 + 76
8 libRIP.A.dylib 0x298d8d06 symmetric_convolve + 582
9 libRIP.A.dylib 0x298d893a RIPLayerSymmetricConvolve + 522
10 libRIP.A.dylib 0x298d86b0 RIPLayerGaussianBlur + 336
11 libRIP.A.dylib 0x298d81ae rips_s_BltShapeShadow + 438
12 libRIP.A.dylib 0x298dd49e rips_s_BltShape + 46
13 libRIP.A.dylib 0x298cc9e4 ripc_Render + 196
14 libRIP.A.dylib 0x298da6d0 ripc_DrawPath + 200
15 CoreGraphics 0x2959f260 CGContextDrawPath + 140
16 WebCore 0x346ad300 WebCore::GraphicsContext::fillPath(WebCore::Path const&) + 120
17 WebCore 0x3499706e WebCore::GraphicsContext::fillRectWithRoundedHole(WebCore::FloatRect const&, WebCore::FloatRoundedRect const&, WebCore::Color const&, WebCore::ColorSpace) + 230
18 WebCore 0x34dca392 WebCore::RenderBoxModelObject::paintBoxShadow(WebCore::PaintInfo const&, WebCore::LayoutRect const&, WebCore::RenderStyle const&, WebCore::ShadowStyle, bool, bool) + 2258
19 WebCore 0x3464db72 WebCore::RenderBox::paintBoxDecorations(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 534
20 WebCore 0x3464bdc2 WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 214
21 WebCore 0x3464d636 WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 206
22 WebCore 0x3464bbe8 WebCore::RenderLayer::paintBackgroundForFragments(WTF::Vector<WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow> const&, WebCore::GraphicsContext*, WebCore::GraphicsContext*, WebCore::LayoutRect const&, bool, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int, WebCore::RenderObject*) + 216
23 WebCore 0x3464aeba WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext*, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) + 1282
24 WebCore 0x346fce08 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext*, WebCore::IntRect const&, unsigned int, unsigned int) + 268
25 WebCore 0x34df0592 WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, unsigned int, WebCore::FloatRect const&) + 934
26 WebCore 0x34998624 WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext&, WebCore::FloatRect const&) + 100
27 WebCore 0x34d83c94 WebCore::PlatformCALayer::drawLayerContents(CGContext*, WebCore::PlatformCALayer*, WTF::Vector<WebCore::FloatRect, 5ul, WTF::CrashOnOverflow>&) + 328
28 WebCore 0x346fcc5c -[WebLayer drawInContext:] + 108
29 QuartzCore 0x2c2280be CABackingStoreUpdate_ + 2066
30 QuartzCore 0x2c309b48 ___ZN2CA5Layer8display_Ev_block_invoke + 48
31 QuartzCore 0x2c2278a2 x_blame_allocations + 86
32 QuartzCore 0x2c227550 CA::Layer::display_() + 1152
33 WebCore 0x34fe10c6 -[WebSimpleLayer display] + 50
34 QuartzCore 0x2c20bb18 CA::Layer::display_if_needed(CA::Transaction*) + 196
35 QuartzCore 0x2c20b7dc CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 20
36 QuartzCore 0x2c20b1c2 CA::Context::commit_transaction(CA::Transaction*) + 218
37 QuartzCore 0x2c20afcc CA::Transaction::commit() + 320
38 UIKit 0x2ca302ea _UIWindowUpdateVisibleContextOrder + 206
39 UIKit 0x2ca3017c +[UIWindow _prepareWindowsPassingTestForAppResume:] + 12
40 UIKit 0x2ca53792 -[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:] + 1110
41 UIKit 0x2ca5310a __88-[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:]_block_invoke + 114
42 UIKit 0x2ca5308e -[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:] + 358
43 UIKit 0x2ca4834a -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 470
44 FrontBoardServices 0x2fa7e1e8 __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_2 + 36
45 FrontBoardServices 0x2fa8d0de __31-[FBSSerialQueue performAsync:]_block_invoke + 10
46 CoreFoundation 0x2930960a __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 10
47 CoreFoundation 0x293088cc __CFRunLoopDoBlocks + 212
48 CoreFoundation 0x29307426 __CFRunLoopRun + 1710
49 CoreFoundation 0x2925497c CFRunLoopRunSpecific + 472
50 CoreFoundation 0x2925478e CFRunLoopRunInMode + 102
51 GraphicsServices 0x3060604c GSEventRunModal + 132
52 UIKit 0x2c84697c UIApplicationMain + 1436
53 myapp 0x0009dc66 main (main.m:32)
54 libdyld.dylib 0x37001aac start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x370b32c8 kevent64 + 24
1 libdispatch.dylib 0x36fd5e44 _dispatch_mgr_invoke + 276
2 libdispatch.dylib 0x36fd5b76 _dispatch_mgr_thread$VARIANT$mp + 34
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x370b3518 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x370b330c mach_msg + 36
2 CoreFoundation 0x29308ba6 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2930716c __CFRunLoopRun + 1012
4 CoreFoundation 0x2925497c CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2925478e CFRunLoopRunInMode + 102
6 CFNetwork 0x28e099da +[NSURLConnection(Loader) _resourceLoadLoop:] + 482
7 Foundation 0x2a054996 __NSThread__main__ + 1114
8 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
9 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
10 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x370c6ba8 __psynch_mutexwait + 24
1 libsystem_pthread.dylib 0x37144036 _pthread_mutex_lock + 390
2 WebCore 0x3462752c _WebTryThreadLock(bool) + 104
3 WebCore 0x346274aa WebRunLoopLock(__CFRunLoopObserver*, unsigned long, void*) + 42
4 CoreFoundation 0x29309622 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
5 CoreFoundation 0x29306d04 __CFRunLoopDoObservers + 272
6 CoreFoundation 0x2930704e __CFRunLoopRun + 726
7 CoreFoundation 0x2925497c CFRunLoopRunSpecific + 472
8 CoreFoundation 0x2925478e CFRunLoopRunInMode + 102
9 WebCore 0x3462624c RunWebThread(void*) + 412
10 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
11 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
12 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 4 name: JavaScriptCore::BlockFree
Thread 4:
0 libsystem_kernel.dylib 0x370c6b38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x371453dc _pthread_cond_wait + 516
2 libsystem_pthread.dylib 0x371462ac pthread_cond_wait + 36
3 libc++.1.dylib 0x3622efa4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 32
4 JavaScriptCore 0x2a515f96 JSC::BlockAllocator::blockFreeingThreadMain() + 210
5 JavaScriptCore 0x2a51244c WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
7 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
8 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 5 name: JavaScriptCore::Marking
Thread 5:
0 libsystem_kernel.dylib 0x370c6b38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x371453dc _pthread_cond_wait + 516
2 libsystem_pthread.dylib 0x371462ac pthread_cond_wait + 36
3 libc++.1.dylib 0x3622efa4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 32
4 JavaScriptCore 0x2a6dab60 JSC::GCThread::waitForNextPhase() + 100
5 JavaScriptCore 0x2a6dabc4 JSC::GCThread::gcThreadMain() + 48
6 JavaScriptCore 0x2a51244c WTF::wtfThreadEntryPoint(void*) + 12
7 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
8 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
9 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 6 name: WebCore: CFNetwork Loader
Thread 6:
0 libsystem_kernel.dylib 0x370b3518 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x370b330c mach_msg + 36
2 CoreFoundation 0x29308ba6 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2930716c __CFRunLoopRun + 1012
4 CoreFoundation 0x2925497c CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2925478e CFRunLoopRunInMode + 102
6 WebCore 0x3464f558 WebCore::runLoaderThread(void*) + 288
7 JavaScriptCore 0x2a51244c WTF::wtfThreadEntryPoint(void*) + 12
8 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
9 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
10 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 7 name: com.apple.coremedia.player.async
Thread 7:
0 libsystem_kernel.dylib 0x370b3568 semaphore_wait_trap + 8
1 libdispatch.dylib 0x36fd34e6 _dispatch_semaphore_wait_slow + 186
2 MediaToolbox 0x2ad0a43e fpa_AsyncMovieControlThread + 1962
3 CoreMedia 0x29aaee74 figThreadMain + 184
4 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
5 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
6 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 8 name: AVAudioSession Notify Thread
Thread 8:
0 libsystem_kernel.dylib 0x370b3518 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x370b330c mach_msg + 36
2 CoreFoundation 0x29308ba6 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2930716c __CFRunLoopRun + 1012
4 CoreFoundation 0x2925497c CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2925478e CFRunLoopRunInMode + 102
6 libAVFAudio.dylib 0x27f783e8 GenericRunLoopThread::Entry(void*) + 128
7 libAVFAudio.dylib 0x27f6a8e4 CAPThread::Entry(CAPThread*) + 192
8 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
9 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
10 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 9 name: WebCore: LocalStorage
Thread 9:
0 libsystem_kernel.dylib 0x370c6b38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x371453dc _pthread_cond_wait + 516
2 libsystem_pthread.dylib 0x371462ac pthread_cond_wait + 36
3 JavaScriptCore 0x2a5160da WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 58
4 WebCore 0x34ec1756 std::__1::unique_ptr<WTF::Function<void ()>, std::__1::default_delete<WTF::Function<void ()> > > WTF::MessageQueue<WTF::Function<void ()> >::waitForMessageFilteredWithTimeout<WTF::MessageQueue<WTF::Function<void ()> >::waitForMessage()::'lambda'(WTF::Function<void ()> const&)>(WTF::MessageQueueWaitResult&, WTF::MessageQueue<WTF::Function<void ()> >::waitForMessage()::'lambda'(WTF::Function<void ()> const&)&&, double) + 70
5 WebCore 0x346e4cd2 WebCore::StorageThread::threadEntryPoint() + 150
6 JavaScriptCore 0x2a51244c WTF::wtfThreadEntryPoint(void*) + 12
7 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
8 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
9 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 10 name: com.apple.CFSocket.private
Thread 10:
0 libsystem_kernel.dylib 0x370c708c __select + 20
1 CoreFoundation 0x2930d32e __CFSocketManager + 486
2 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
3 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
4 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 11 name: WebCore: File
Thread 11:
0 libsystem_kernel.dylib 0x370c6b38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x371453dc _pthread_cond_wait + 516
2 libsystem_pthread.dylib 0x371462ac pthread_cond_wait + 36
3 JavaScriptCore 0x2a5160da WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 58
4 WebCore 0x34934394 std::__1::unique_ptr<WebCore::FileThread::Task, std::__1::default_delete<WebCore::FileThread::Task> > WTF::MessageQueue<WebCore::FileThread::Task>::waitForMessageFilteredWithTimeout<WTF::MessageQueue<WebCore::FileThread::Task>::waitForMessage()::'lambda'(WebCore::FileThread::Task const&)>(WTF::MessageQueueWaitResult&, WTF::MessageQueue<WebCore::FileThread::Task>::waitForMessage()::'lambda'(WebCore::FileThread::Task const&)&&, double) + 68
5 WebCore 0x349341b2 WebCore::FileThread::runLoop() + 154
6 JavaScriptCore 0x2a51244c WTF::wtfThreadEntryPoint(void*) + 12
7 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
8 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
9 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 12:
0 libsystem_kernel.dylib 0x370c79cc __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x37143e9c _pthread_wqthread + 788
2 libsystem_pthread.dylib 0x37143b74 start_wqthread + 4
Thread 13 name: Dispatch queue: com.apple.root.user-interactive-qos
Thread 13:
0 vImage 0x28081960 conv4_8_A + 264
1 vImage 0x2807e6c4 vConvolveCore_Planar8 + 2052
2 vImage 0x2804ed8a __vImageConvolveWithBias_Planar8_block_invoke + 138
3 libdispatch.dylib 0x36fd3b76 _dispatch_apply_invoke$VARIANT$mp + 146
4 libdispatch.dylib 0x36fd22d6 _dispatch_root_queue_drain + 846
5 libdispatch.dylib 0x36fd31f6 _dispatch_worker_thread3 + 102
6 libsystem_pthread.dylib 0x37143e22 _pthread_wqthread + 666
7 libsystem_pthread.dylib 0x37143b74 start_wqthread + 4
No thread state (register information) available
Binary Images:
0x97000 - 0x10afff myapp armv7 <5c3f62bd3a073ae28638f130eb45dee1> /var/mobile/Containers/Bundle/Application/2A3BB04D-C783-432C-81D8-9FD17E3E766C/myapp.app/myapp
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 9 years ago.
i currently have an application that calls webservice and stores data in core data,but when i terminate the application totally i.e even in the background then when i call the web service it crashes,what can be the problem?
here is the crash log from the device
can anyone help me out?
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x3bb90f04 semaphore_wait_trap + 8
1 libdispatch.dylib 0x3babc540 _dispatch_thread_semaphore_wait$VARIANT$up + 8
2 libdispatch.dylib 0x3bac87a0 _dispatch_barrier_sync_f_slow + 92
3 Eventz 0x000f0a0c 0x82000 + 453132
4 Eventz 0x000f3bac 0x82000 + 465836
5 Eventz 0x000f3d14 0x82000 + 466196
6 libdispatch.dylib 0x3baba4b4 _dispatch_client_callout + 20
7 libdispatch.dylib 0x3babb836 dispatch_once_f$VARIANT$up + 34
8 Eventz 0x000f3ce2 0x82000 + 466146
9 Eventz 0x000eff4c 0x82000 + 450380
10 Eventz 0x000ecbae 0x82000 + 437166
11 Eventz 0x000a37b4 0x82000 + 137140
12 Eventz 0x00085492 0x82000 + 13458
13 Eventz 0x00084f66 0x82000 + 12134
14 Eventz 0x000ef5bc 0x82000 + 447932
15 Eventz 0x000ee694 0x82000 + 444052
16 Eventz 0x000ecc0a 0x82000 + 437258
17 Eventz 0x000eccfc 0x82000 + 437500
18 Eventz 0x00084b9a 0x82000 + 11162
19 UIKit 0x359fdb2e -[UIApplication _applicationOpenURL:payload:] + 270
20 UIKit 0x359d687c -[UIApplication _callApplicationResumeHandlersForURL:payload:] + 100
21 UIKit 0x359d5f66 -[UIApplication _handleApplicationResumeEvent:] + 1222
22 UIKit 0x3582dd54 -[UIApplication handleEvent:withNewEvent:] + 1288
23 UIKit 0x3582d6c8 -[UIApplication sendEvent:] + 68
24 UIKit 0x3582d116 _UIApplicationHandleEvent + 6150
25 GraphicsServices 0x3751f5a0 _PurpleEventCallback + 588
26 CoreFoundation 0x339fa680 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
27 CoreFoundation 0x339f9ee4 __CFRunLoopDoSources0 + 208
28 CoreFoundation 0x339f8cb2 __CFRunLoopRun + 642
29 CoreFoundation 0x3396beb8 CFRunLoopRunSpecific + 352
30 CoreFoundation 0x3396bd44 CFRunLoopRunInMode + 100
31 GraphicsServices 0x3751e2e6 GSEventRunModal + 70
32 UIKit 0x358812fc UIApplicationMain + 1116
33 Eventz 0x00083d78 0x82000 + 7544
34 libdyld.dylib 0x3badab1c start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x3bb91648 kevent64 + 24
1 libdispatch.dylib 0x3baca4ec _dispatch_mgr_invoke + 792
2 libdispatch.dylib 0x3babcdf4 _dispatch_mgr_thread$VARIANT$up + 32
Thread 2 name: Dispatch queue: com.apple.root.default-priority
Thread 2:
0 libsystem_kernel.dylib 0x3bb90f04 semaphore_wait_trap + 8
1 libdispatch.dylib 0x3babc540 _dispatch_thread_semaphore_wait$VARIANT$up + 8
2 libdispatch.dylib 0x3bac87a0 _dispatch_barrier_sync_f_slow + 92
3 Eventz 0x00089a26 0x82000 + 31270
4 libdispatch.dylib 0x3babb11c _dispatch_call_block_and_release + 8
5 libdispatch.dylib 0x3bac9254 _dispatch_root_queue_drain + 256
6 libdispatch.dylib 0x3bac93b4 _dispatch_worker_thread2 + 80
7 libsystem_c.dylib 0x3baefa0e _pthread_wqthread + 358
8 libsystem_c.dylib 0x3baef8a0 start_wqthread + 4
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x3bb90eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3bb91048 mach_msg + 36
2 CoreFoundation 0x339fa040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x339f8d9e __CFRunLoopRun + 878
4 CoreFoundation 0x3396beb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3396bd44 CFRunLoopRunInMode + 100
6 WebCore 0x39959500 RunWebThread(void*) + 440
7 libsystem_c.dylib 0x3bafa30e _pthread_start + 306
8 libsystem_c.dylib 0x3bafa1d4 thread_start + 4
Thread 4 name: com.apple.NSURLConnectionLoader
Thread 4:
0 libsystem_kernel.dylib 0x3bb90eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3bb91048 mach_msg + 36
2 CoreFoundation 0x339fa040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x339f8d9e __CFRunLoopRun + 878
4 CoreFoundation 0x3396beb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3396bd44 CFRunLoopRunInMode + 100
6 Foundation 0x342b83d0 +[NSURLConnection(Loader) _resourceLoadLoop:] + 304
7 Foundation 0x3433be80 __NSThread__main__ + 968
8 libsystem_c.dylib 0x3bafa30e _pthread_start + 306
9 libsystem_c.dylib 0x3bafa1d4 thread_start + 4
Thread 5 name: Dispatch queue: com.apple.root.default-priority
Thread 5:
0 libsystem_kernel.dylib 0x3bb90f04 semaphore_wait_trap + 8
1 libdispatch.dylib 0x3babc540 _dispatch_thread_semaphore_wait$VARIANT$up + 8
2 libdispatch.dylib 0x3bac87a0 _dispatch_barrier_sync_f_slow + 92
3 Eventz 0x000890ee 0x82000 + 28910
4 libdispatch.dylib 0x3babb11c _dispatch_call_block_and_release + 8
5 libdispatch.dylib 0x3bac9254 _dispatch_root_queue_drain + 256
6 libdispatch.dylib 0x3bac93b4 _dispatch_worker_thread2 + 80
7 libsystem_c.dylib 0x3baefa0e _pthread_wqthread + 358
8 libsystem_c.dylib 0x3baef8a0 start_wqthread + 4
Thread 6 name: Dispatch queue: com.apple.root.default-priority
Thread 6:
0 libsystem_kernel.dylib 0x3bb90f04 semaphore_wait_trap + 8
1 libdispatch.dylib 0x3babc540 _dispatch_thread_semaphore_wait$VARIANT$up + 8
2 libdispatch.dylib 0x3bac87a0 _dispatch_barrier_sync_f_slow + 92
3 Eventz 0x00089a26 0x82000 + 31270
4 libdispatch.dylib 0x3babb11c _dispatch_call_block_and_release + 8
5 libdispatch.dylib 0x3bac9254 _dispatch_root_queue_drain + 256
6 libdispatch.dylib 0x3bac93b4 _dispatch_worker_thread2 + 80
7 libsystem_c.dylib 0x3baefa0e _pthread_wqthread + 358
8 libsystem_c.dylib 0x3baef8a0 start_wqthread + 4
Thread 7 name: Dispatch queue: com.apple.root.default-priority
Thread 7:
0 libsystem_kernel.dylib 0x3bba10fc __psynch_mutexwait + 24
1 libsystem_c.dylib 0x3baea124 pthread_mutex_lock + 388
2 libicucore.A.dylib 0x3b222544 umtx_lock + 60
3 libicucore.A.dylib 0x3b283b74 0x3b221000 + 404340
4 libicucore.A.dylib 0x3b28426c 0x3b221000 + 406124
5 libicucore.A.dylib 0x3b222f0c ures_getByKeyWithFallback + 412
6 libicucore.A.dylib 0x3b2c3b72 0x3b221000 + 666482
7 libicucore.A.dylib 0x3b29e2b6 icu::Calendar::setWeekData(icu::Locale const&, char const*, UErrorCode&) + 294
8 libicucore.A.dylib 0x3b22b8ca icu::Calendar::Calendar(icu::TimeZone*, icu::Locale const&, UErrorCode&) + 106
9 libicucore.A.dylib 0x3b22b7f6 icu::GregorianCalendar::GregorianCalendar(icu::Locale const&, UErrorCode&) + 22
10 libicucore.A.dylib 0x3b22b7d6 icu::GregorianCalendar::GregorianCalendar(icu::Locale const&, UErrorCode&) + 6
11 libicucore.A.dylib 0x3b22af20 icu::Calendar::createInstance(icu::TimeZone*, icu::Locale const&, UErrorCode&) + 424
12 libicucore.A.dylib 0x3b229a02 icu::SimpleDateFormat::initializeCalendar(icu::TimeZone*, icu::Locale const&, UErrorCode&) + 30
13 libicucore.A.dylib 0x3b22d416 icu::SimpleDateFormat::SimpleDateFormat(icu::Locale const&, UErrorCode&) + 122
14 libicucore.A.dylib 0x3b22d392 icu::SimpleDateFormat::SimpleDateFormat(icu::Locale const&, UErrorCode&) + 6
15 libicucore.A.dylib 0x3b229594 icu::DateFormat::create(icu::DateFormat::EStyle, icu::DateFormat::EStyle, icu::Locale const&) + 156
16 libicucore.A.dylib 0x3b229418 udat_open + 136
17 CoreFoundation 0x339e878e __ResetUDateFormat + 342
18 CoreFoundation 0x339ad988 CFDateFormatterCreate + 176
19 Foundation 0x342b5072 -[NSDateFormatter _regenerateFormatter] + 254
20 Foundation 0x342b4f08 -[NSDateFormatter stringForObjectValue:] + 108
21 Eventz 0x000ca292 0x82000 + 295570
22 Eventz 0x00089d16 0x82000 + 32022
23 Eventz 0x000890a6 0x82000 + 28838
24 libdispatch.dylib 0x3babb11c _dispatch_call_block_and_release + 8
25 libdispatch.dylib 0x3bac9254 _dispatch_root_queue_drain + 256
26 libdispatch.dylib 0x3bac93b4 _dispatch_worker_thread2 + 80
27 libsystem_c.dylib 0x3baefa0e _pthread_wqthread + 358
28 libsystem_c.dylib 0x3baef8a0 start_wqthread + 4
Thread 8 name: Dispatch queue: com.apple.root.default-priority
Thread 8:
0 libsystem_kernel.dylib 0x3bba10fc __psynch_mutexwait + 24
1 libsystem_c.dylib 0x3baea124 pthread_mutex_lock + 388
2 libicucore.A.dylib 0x3b222544 umtx_lock + 60
3 libicucore.A.dylib 0x3b284b44 0x3b221000 + 408388
4 libicucore.A.dylib 0x3b2839e4 0x3b221000 + 403940
5 libicucore.A.dylib 0x3b2cfd56 icu::NumberingSystem::createInstanceByName(char const*, UErrorCode&) + 162
6 libicucore.A.dylib 0x3b2cfb94 icu::NumberingSystem::createInstance(icu::Locale const&, UErrorCode&) + 152
7 libicucore.A.dylib 0x3b224ed8 icu::DecimalFormat::construct(UErrorCode&, UParseError&, icu::UnicodeString const*, icu::DecimalFormatSymbols*) + 160
8 libicucore.A.dylib 0x3b2af35c icu::DecimalFormat::DecimalFormat(icu::UnicodeString const&, icu::DecimalFormatSymbols*, UNumberFormatStyle, UErrorCode&) + 180
9 libicucore.A.dylib 0x3b2af29e icu::DecimalFormat::DecimalFormat(icu::UnicodeString const&, icu::DecimalFormatSymbols*, UNumberFormatStyle, UErrorCode&) + 18
10 libicucore.A.dylib 0x3b2cf7e6 icu::NumberFormat::makeInstance(icu::Locale const&, UNumberFormatStyle, UErrorCode&) + 1554
11 libicucore.A.dylib 0x3b22ce74 icu::SimpleDateFormat::initialize(icu::Locale const&, UErrorCode&) + 20
12 libicucore.A.dylib 0x3b22d470 icu::SimpleDateFormat::SimpleDateFormat(icu::Locale const&, UErrorCode&) + 212
13 libicucore.A.dylib 0x3b22d392 icu::SimpleDateFormat::SimpleDateFormat(icu::Locale const&, UErrorCode&) + 6
14 libicucore.A.dylib 0x3b229594 icu::DateFormat::create(icu::DateFormat::EStyle, icu::DateFormat::EStyle, icu::Locale const&) + 156
15 libicucore.A.dylib 0x3b229418 udat_open + 136
16 CoreFoundation 0x339e878e __ResetUDateFormat + 342
17 CoreFoundation 0x339ad988 CFDateFormatterCreate + 176
18 Foundation 0x342b5072 -[NSDateFormatter _regenerateFormatter] + 254
19 Foundation 0x342b4f08 -[NSDateFormatter stringForObjectValue:] + 108
20 Eventz 0x000ca292 0x82000 + 295570
21 Eventz 0x00089d16 0x82000 + 32022
22 Eventz 0x000890a6 0x82000 + 28838
23 libdispatch.dylib 0x3babb11c _dispatch_call_block_and_release + 8
24 libdispatch.dylib 0x3bac9254 _dispatch_root_queue_drain + 256
25 libdispatch.dylib 0x3bac93b4 _dispatch_worker_thread2 + 80
26 libsystem_c.dylib 0x3baefa0e _pthread_wqthread + 358
27 libsystem_c.dylib 0x3baef8a0 start_wqthread + 4
Unknown thread crashed with unknown flavor: 5, state_count: 1
failed to resume in time - means you are over loading the main thread. The application went background and when resumes the main thread should resume within 5-10 seconds, if not the application crashes. Check whether you are calling your web services from the main thread.