Testflight iOS Crash debugging, cannot figure out source - ios

I am having a testflight user reporting random crashes which I cannot seem to replicate. The relevant section of their crash log is here:
Thread 0 name:
Thread 0 Crashed:
0 iMavlink 0x00000001001045a4 0x10009c000 + 427428
1 iMavlink 0x00000001001049fc 0x10009c000 + 428540
2 iMavlink 0x00000001000ee54c 0x10009c000 + 337228
3 iMavlink 0x00000001000b9354 0x10009c000 + 119636
4 libdispatch.dylib 0x0000000182a894bc _dispatch_call_block_and_release + 24 (init.c:760)
5 libdispatch.dylib 0x0000000182a8947c _dispatch_client_callout + 16 (object.m:506)
6 libdispatch.dylib 0x0000000182a8eb84 _dispatch_main_queue_callback_4CF + 1844 (inline_internal.h:1063)
7 CoreFoundation 0x0000000182ff4d50 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12 (CFRunLoop.c:1613)
8 CoreFoundation 0x0000000182ff2bb8 __CFRunLoopRun + 1628 (CFRunLoop.c:2718)
9 CoreFoundation 0x0000000182f1cc50 CFRunLoopRunSpecific + 384 (CFRunLoop.c:2814)
10 GraphicsServices 0x0000000184804088 GSEventRunModal + 180 (GSEvent.c:2245)
11 UIKit 0x0000000188206088 UIApplicationMain + 204 (UIApplication.m:3772)
12 iMavlink 0x00000001000dbc94 0x10009c000 + 261268
13 libdyld.dylib 0x0000000182aba8b8 start + 4 (start_glue.s:78)
Im not sure where to even begin with this. It dosent seem to have any reference to my code which I can see, but I am new to debugging in Xcode using testflight so I am probably missing something really obvious.
Can anyone help?
Thanks!
Tom

Related

first notification crash app only testflight react-native-notification

the first notification the device receives crashes ... after the first one it works fine.
With crashlytics I only found this:
0 libdispatch.dylib 0x6c3d0 dispatch_group_leave$VARIANT$armv81.cold.1 + 36
1 libdispatch.dylib 0x33ee0 _dispatch_group_wake + 118
2 Talk 0x37d614 __39-[RNNotificationsStore completeAction:]_block_invoke + 51 (RNNotificationsStore.m:51)
3 libdispatch.dylib 0x63194 _dispatch_call_block_and_release + 24
4 libdispatch.dylib 0x64198 _dispatch_client_callout + 16
5 libdispatch.dylib 0x454a8 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 908
6 CoreFoundation 0x4d7e8 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
7 CoreFoundation 0xb0e8 __CFRunLoopRun + 2528
8 CoreFoundation 0x1dd7c CFRunLoopRunSpecific + 572
9 GraphicsServices 0x19a0 GSEventRunModal + 160
10 UIKitCore 0x4ec05c -[UIApplication _run] + 1080
11 UIKitCore 0x281ce0 UIApplicationMain + 2028
12 Talk 0x4c88 main + 7 (main.m:7)
13 ??? 0x105284190 (Mancante)
https://imgur.com/SrY6zau ```
git issue: https://github.com/wix/react-native-notifications/issues/894
can you give me support?
with regard

App Crashing with libdispatch.dylib _dispatch_lane_resume

I got the logs from Firebase Crashlytics, my app is crashing but doesn't know where it is crashing. As crash logs are also not mentioning any specific line where the app is crashing. Please suggest if anybody else face such type of problem ever.
crash_info_entry_0
BUG IN CLIENT OF LIBDISPATCH: Over-resume of an object
crash_info_entry_1
CoreUI: deallocating _CUIInternalLinkRendition 44703 /System/Library/CoreServices/CoreGlyphs.bundle/Assets.car
Crashed: com.apple.main-thread
EXC_BREAKPOINT 0x00000001a64eba34
**Stack trace**
Crashed: com.apple.main-thread
0 libdispatch.dylib 0x1a64eba34 _dispatch_lane_resume + 700
1 libdispatch.dylib 0x1a64e5fd8 _dispatch_client_callout + 20
2 libdispatch.dylib 0x1a64e8758 _dispatch_continuation_pop + 408
3 libdispatch.dylib 0x1a64f8f18 _dispatch_source_invoke2 + 892
4 libdispatch.dylib 0x1a64f88c4 _dispatch_source_invoke + 428
5 libdispatch.dylib 0x1a64f1bb8 _dispatch_main_queue_callback_4CF + 696
6 CoreFoundation 0x1a67bbcc8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
7 CoreFoundation 0x1a67b6a24 __CFRunLoopRun + 1980
8 CoreFoundation 0x1a67b5f40 CFRunLoopRunSpecific + 480
9 GraphicsServices 0x1b0a46534 GSEventRunModal + 108
10 UIKitCore 0x1aa941580 UIApplicationMain + 1940
11 Big Idea Maths 0x1005ffa10 main + 14 (main.m:14)
12 libdyld.dylib 0x1a6634e18 start + 4

App is getting crashed on app launch in iOS 13 beta version

Here is the crash report and the crash is only happening on iOS 13 beta version :-
Crashed: com.apple.main-thread
0 libsystem_pthread.dylib 0x1ae056484 pthread_get_qos_class_np + 8
1 Foundation 0x1ae664340 -[NSThread qualityOfService] + 80
2 Foundation 0x1ae626ebc -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 280
3 Foundation 0x1ae628df8 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:] + 116
4 libAXSpeechManager.dylib 0x1d0176884 -[AXSpeechManager isSpeaking] + 112
5 libAXSpeechManager.dylib 0x1d0171b60 -[AXSpeechManager _didBeginInterruption] + 52
6 libAXSpeechManager.dylib 0x1d0171f1c -[AXSpeechManager _handleAudioInterruption:] + 504
7 CoreFoundation 0x1ae2929ac __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
8 CoreFoundation 0x1ae2929f4 ___CFXRegistrationPost1_block_invoke + 64
9 CoreFoundation 0x1ae291d54 _CFXRegistrationPost1 + 368
10 CoreFoundation 0x1ae291a20 ___CFXNotificationPost_block_invoke + 104
11 CoreFoundation 0x1ae20dd38 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1416
12 CoreFoundation 0x1ae291370 _CFXNotificationPost + 1244
13 Foundation 0x1ae5edcf8 -[NSNotificationCenter postNotificationName:object:userInfo:] + 60
14 AVFAudio 0x1bac4603c -[AVAudioSession privateInterruptionWithInfo:] + 988
15 AVFAudio 0x1bac4880c (anonymous namespace)::HandlePropertyListenerCallback(unsigned int, objc_selector*, NSObject*) + 68
16 libdispatch.dylib 0x1ae004658 _dispatch_call_block_and_release + 24
17 libdispatch.dylib 0x1ae0051cc _dispatch_client_callout + 16
18 libdispatch.dylib 0x1adfe83e0 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 996
19 CoreFoundation 0x1ae2b4c74 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
20 CoreFoundation 0x1ae2afc68 __CFRunLoopRun + 2004
21 CoreFoundation 0x1ae2af16c CFRunLoopRunSpecific + 464
22 GraphicsServices 0x1b80d9328 GSEventRunModal + 104
23 UIKitCore 0x1b2317f6c UIApplicationMain + 1936
24 Quickride 0x10086803c main + 37 (AppDelegate.swift:37)
25 libdyld.dylib 0x1ae13a424 start + 4
I have checked on various platforms for this issue. But have not found any solution related to it.Please provide any solution related to it.
It is crashing on app launch itself and this is the report it shows on fabric
I've the same issue on iOS 13 and it's my most serious crash on Crashlytics.
It occurs only in iOS 13 and above. Unfortunately also in the latest 13.1.2.
Starting by the iOS 13 release I've detected a strange warning when I put my app in background the debug console print Can't end BackgroundTask: no background task exists with identifier x, or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.
Maybe the issues are related.

How to understand IOS trace logs

How to understand a trace from an IOS application
top to bottom (or) bottom to top
0 libobjc.A.dylib 0x0000000195b77bc8 objc_msgSend + 4
1 Foundation 0x0000000184edfc84 _NSDescriptionWithStringProxyFunc + 68
2 CoreFoundation 0x0000000183fa9b50 __CFStringAppendFormatCore + 6948
3 CoreFoundation 0x0000000183fa7ff0 _CFStringCreateWithFormatAndArgumentsAux2 + 244
4 CoreFoundation 0x0000000183fc59dc _CFLogvEx2 + 148
5 Foundation 0x0000000184dff660 NSLogv + 104
6 Foundation 0x0000000184dff5e8 NSLog + 20
7 My Mobile 0x00000001005819b0 -[MySDK didFailWithError:] + 272
8 My Mobile 0x00000001005d3974 -[MyServiceManager validate:didFailWithError:] + 1200
9 My Mobile 0x00000001005bb20c __60-[MyHttpCliebt validate]_block_invoke110 + 528
10 MyTIM Mobile 0x00000001005c2ca8 __84-[AFHTTPSessionManager dataTaskWithHTTPMethod:URLString:parameters:success:failure:]_block_invoke87 + 160
11 My Mobile 0x00000001005a7ef0 __72-[AFURLSessionManagerTaskDelegate URLSession:task:didCompleteWithError:]_block_invoke + 220
12 libdispatch.dylib 0x00000001961e1994 _dispatch_call_block_and_release + 20
13 libdispatch.dylib 0x00000001961e1954 _dispatch_client_callout + 12
14 libdispatch.dylib 0x00000001961e620c _dispatch_main_queue_callback_4CF + 1604
15 CoreFoundation 0x0000000183f97544 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
16 CoreFoundation 0x0000000183f955ec __CFRunLoopRun + 1488
17 CoreFoundation 0x0000000183ec0f74 CFRunLoopRunSpecific + 392
18 GraphicsServices 0x000000018d7f36fc GSEventRunModal + 164
19 UIKit 0x0000000188ac2d94 UIApplicationMain + 1484
20 MyTIM Mobile 0x00000001000de4a0 main (main.m:12)
21 libdyld.dylib 0x000000019620ea08 start + 0
Please help me in identifying where the problem actually starts, is it starts at AFURLSessionManagerTaskDelegate (or) MySDK ?
Which is causing the issue, is NSLog causing issue ? or blocks and threads causing this issue?
How to analyze a crash report is described in Technical Note TN2151.

Interpreting a TestFlight crash report

I just made some updates to my app, and have been seeing some new crash reports in TestFlight that I can't find much information on online. Can anyone help me interpret what's going on here? It's happening in different places throughout my app, so I don't think it's related to one specific function...
0 MyApp 0x000832b6 testflight_backtrace + 238
1 MyApp 0x00083fa0 TFSignalHandler + 264
2 libsystem_c.dylib 0x35e2be92 _sigtramp + 42
3 libdispatch.dylib 0x3a3c611e _dispatch_call_block_and_release + 10
4 libdispatch.dylib 0x3a3c611e _dispatch_call_block_and_release + 10
5 libdispatch.dylib 0x3a3c54b6 _dispatch_client_callout + 22
6 libdispatch.dylib 0x3a3ca1bc _dispatch_main_queue_callback_4CF$VARIANT$mp + 224
7 CoreFoundation 0x38739f3a __CFRunLoopRun + 1290
8 CoreFoundation 0x386acebc CFRunLoopRunSpecific + 356
9 CoreFoundation 0x386acd48 CFRunLoopRunInMode + 104
10 GraphicsServices 0x36c5d2ea GSEventRunModal + 74
11 UIKit 0x39e7a2f8 UIApplicationMain + 1120
12 MyApp 0x0003078a main (main.m:16)
13 MyApp 0x0003073f start + 39

Resources