Hi guys,
We have this crash, where we have no information at the app level of what could be going on. All we know is that the user crashes when performing network calls, and we are not able to recreate it because there is no pattern between each crash, it can happen with any network call at any time. This particular stacktrace, belongs to iOS9 devices, but we have more, slightly different, affecting iOS8 devices.
The crash happens on the main thread and the suspected line where the crash happens is the _GLOBAL__I_a line(line number 6 for this stacktrace). I believe it would be good for you guys to know that we are using a protocol where we perform some logic before making every request.
Here is the crash.
0
libsystem_platform.dylib 0x0000000199cd57d0 _OSSpinLockLockSlow$VARIANT$wfe + 160
1
CFNetwork 0x0000000183e034d4 CFURLProtocol_NS::forgetProtocolClient() + 32
2
OurApp 0x0000000101559c8c _GLOBAL__I_a + 2764
3
CFNetwork 0x0000000183f876a8 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 76
4
CFNetwork 0x0000000183f87638 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 196
5
CFNetwork 0x0000000183f877ac -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 52
6
CFNetwork 0x0000000183df34fc ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 96
7
CFNetwork 0x0000000183ee1b38 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 104
8
libdispatch.dylib 0x0000000199ac56a8 _dispatch_client_callout + 12
9
libdispatch.dylib 0x0000000199ace9e4 _dispatch_block_invoke + 536
10
CFNetwork 0x0000000183ddfce4 RunloopBlockContext::_invoke_block() + 32
11
CoreFoundation 0x00000001845d86cc CFArrayApplyFunction + 64
12
CFNetwork 0x0000000183ddfbc8 RunloopBlockContext::perform() + 132
13
CFNetwork 0x0000000183ddfa88 MultiplexerSource::perform() + 308
14
CFNetwork 0x0000000183ddf8b4 MultiplexerSource::_perform() + 64
15
CoreFoundation 0x00000001846ac544 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 20
16
CoreFoundation 0x00000001846abfd8 __CFRunLoopDoSources0 + 536
17
CoreFoundation 0x00000001846a9cd8 __CFRunLoopRun + 720
18
CoreFoundation 0x00000001845d8ca0 CFRunLoopRunSpecific + 380
19
GraphicsServices 0x000000018f814088 GSEventRunModal + 176
20
UIKit 0x0000000189cf0ffc UIApplicationMain + 200
21
OurApp 0x00000001000372dc main + 120
22
libdyld.dylib 0x0000000199af68b8 start + 0
Any help would be greatly appreciated.
Thank you,
Marc.