My application always crashes at the same position when I open it on my iPad Air. It doesn't crash in debug mode which makes it very difficult for me to find the issue.
My crash report from TestFlight:
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000016d5f26f0
Exception Codes: 0x0000000000000001, 0x000000016d5f26f0
VM Region Info: 0x16d5f26f0 is not in any region. Bytes after previous region: 546219761 Bytes before following region: 399632
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC_LARGE 14c000000-14cd08000 [ 13.0M] rw-/rwx SM=PRV
---> GAP OF 0x2094c000 BYTES
Stack Guard 16d654000-16d658000 [ 16K] ---/rwx SM=NUL
Termination Reason: SIGNAL 4 Illegal instruction: 4
Terminating Process: ProjectiOS [745]
Triggered by Thread: 0
Thread 0 name:
Thread 0 name:
Thread 0 Crashed:
0 ProjectiOS 0x0000000107abf3b4 0x1026ac000 + 88159156
1 ProjectiOS 0x000000010e7d3be4 0x1026ac000 + 202537956
2 ProjectiOS 0x000000010e96c45c 0x1026ac000 + 204211292
3 ProjectiOS 0x000000010e96cadc 0x1026ac000 + 204212956
4 ProjectiOS 0x000000010e7d7ba4 0x1026ac000 + 202554276
5 ProjectiOS 0x00000001079cccc0 0x1026ac000 + 87166144
6 ProjectiOS 0x000000010945f33c 0x1026ac000 + 115028796
7 ProjectiOS 0x000000010945b648 0x1026ac000 + 115013192
8 ProjectiOS 0x0000000109458510 0x1026ac000 + 115000592
9 ProjectiOS 0x0000000107530430 0x1026ac000 + 82330672
10 ProjectiOS 0x0000000109459290 0x1026ac000 + 115004048
11 ProjectiOS 0x0000000109457584 0x1026ac000 + 114996612
12 ProjectiOS 0x00000001094b961c 0x1026ac000 + 115398172
13 ProjectiOS 0x00000001094bb8a0 0x1026ac000 + 115407008
14 ProjectiOS 0x00000001094c0340 0x1026ac000 + 115426112
15 ProjectiOS 0x000000010971e698 0x1026ac000 + 117909144
16 ProjectiOS 0x000000011104f7a4 0x1026ac000 + 244987812
17 QuartzCore 0x00000001879f4548 CA::Display::DisplayLinkItem::dispatch_(CA::SignPost::Interval<(CA::SignPost::CAEventCode)835322056>&) + 64 (CADisplay.mm:6671)
18 QuartzCore 0x00000001879d1c64 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 880 (CADisplay.mm:5794)
19 QuartzCore 0x00000001879e5394 CA::Display::DisplayLink::dispatch_deferred_display_links(unsigned int) + 360 (CADisplay.mm:4886)
20 UIKitCore 0x000000018c936afc _UIUpdateSequenceRunNext + 128 (_UIUpdateSequence.mm:189)
21 UIKitCore 0x000000018c935f8c schedulerStepScheduledMainSectionContinue + 60 (_UIUpdateScheduler.m:1197)
22 UpdateCycle 0x000000027364b560 UC::DriverCore::continueProcessing() + 84 (UCDriver.cc:288)
23 CoreFoundation 0x0000000186f8c4cc __CFMachPortPerform + 168 (CFMachPort.c:604)
24 CoreFoundation 0x0000000186fbc0b0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60 (CFRunLoop.c:2045)
25 CoreFoundation 0x0000000186fbbfd8 __CFRunLoopDoSource1 + 508 (CFRunLoop.c:2184)
26 CoreFoundation 0x0000000186f93c1c __CFRunLoopRun + 2168 (CFRunLoop.c:3205)
27 CoreFoundation 0x0000000186f92a6c _CFRunLoopRunSpecificWithOptions + 532 (CFRunLoop.c:3462)
28 GraphicsServices 0x000000022790d498 GSEventRunModal + 120 (GSEvent.c:2049)
29 UIKitCore 0x000000018c956ba4 -[UIApplication _run] + 792 (UIApplication.m:3902)
30 UIKitCore 0x000000018c8ffa78 UIApplicationMain + 336 (UIApplication.m:5577)
31 ProjectiOS 0x0000000110d93700 0x1026ac000 + 242120448
32 ProjectiOS 0x00000001109068f0 0x1026ac000 + 237349104
33 ProjectiOS 0x000000010f5885d4 0x1026ac000 + 216909268
34 ProjectiOS 0x000000010f588908 0x1026ac000 + 216910088
35 ProjectiOS 0x0000000107cf95b8 0x1026ac000 + 90494392
36 ProjectiOS 0x000000010e85dce8 0x1026ac000 + 203103464
37 ProjectiOS 0x0000000110fadbd4 0x1026ac000 + 244325332
38 ProjectiOS 0x0000000110f48e64 0x1026ac000 + 243912292
39 ProjectiOS 0x0000000110f50004 0x1026ac000 + 243941380
40 ProjectiOS 0x0000000110fb54f4 0x1026ac000 + 244356340
41 ProjectiOS 0x0000000110de715c 0x1026ac000 + 242463068
42 ProjectiOS 0x000000011102e55c 0x1026ac000 + 244852060
43 dyld 0x0000000183faae28 start + 7116 (dyldMain.cpp:1477)
Then I symbolicated all the lines starting with "ProjectiOS" in my crash report but I cannot find the issue. Which lines in my crash report cause the crash?
Lines 0-16:
alcCaptureSamples (in ProjectiOS) + 202259184
alcCaptureSamples (in ProjectiOS) + 203932520
alcCaptureSamples (in ProjectiOS) + 203934184
alcCaptureSamples (in ProjectiOS) + 202275504
alcCaptureSamples (in ProjectiOS) + 86887372
alcCaptureSamples (in ProjectiOS) + 114750024
alcCaptureSamples (in ProjectiOS) + 114734420
alcCaptureSamples (in ProjectiOS) + 114721820
alcCaptureSamples (in ProjectiOS) + 82051900
alcCaptureSamples (in ProjectiOS) + 114725276
alcCaptureSamples (in ProjectiOS) + 114717840
alcCaptureSamples (in ProjectiOS) + 115119400
alcCaptureSamples (in ProjectiOS) + 115128236
alcCaptureSamples (in ProjectiOS) + 115147340
alcCaptureSamples (in ProjectiOS) + 117630372
BrotliEncoderHasMoreOutput (in ProjectiOS) + 2126968
Lines 31-42:
alcCaptureSamples (in ProjectiOS) + 237070332
alcCaptureSamples (in ProjectiOS) + 216630496
alcCaptureSamples (in ProjectiOS) + 216631316
alcCaptureSamples (in ProjectiOS) + 90215620
alcCaptureSamples (in ProjectiOS) + 202824692
BrotliEncoderHasMoreOutput (in ProjectiOS) + 1464488
BrotliEncoderHasMoreOutput (in ProjectiOS) + 1051448
BrotliEncoderHasMoreOutput (in ProjectiOS) + 1080536
BrotliEncoderHasMoreOutput (in ProjectiOS) + 1495496
xamarin_get_original_working_directory_path (in ProjectiOS) + 4032
BrotliEncoderHasMoreOutput (in ProjectiOS) + 1991216
Thank you for the crash file. However, it appears that the crash file is not symbolicated from your symbol file. The crash occurred in thread 0, but there are 16 frames for the project ProjectiOS without symbols.
Kindly submit a comprehensive crash report, adhering to the guidelines outlined in Posting a Crash Report.
https://developer.apple.com/forums/thread/688669
Hope this helps
Albert Pascual Worldwide Developer Relations.