Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Unknown app crash issue

Hello. Recently, there have been many app crash issues of unknown causes. It has been reported that the app crashes as soon as it is launched, but it is difficult to resolve the issue because it cannot be reproduced. I have attached the crash log, so please review it and provide appropriate guidance. Thank you.

Answered by DTS Engineer in 827084022

Consider the crashing thread backtrace:

Thread 10 Crashed:
0   libobjc.A.dylib … objc_retain + 16
1   libobjc.A.dylib … objc_storeStrong + 48 (NSObject.mm:284)
2   HANA_MTS_PRO    … 0x104c10000 + 11843132
3   CoreFoundation  … __CFSimpleMergeSort + 380 (CFSortFunctions.c:154)
4   CoreFoundation  … __CFSimpleMergeSort + 276 (CFSortFunctions.c:153)
5   CoreFoundation  … CFSortIndexes + 260 (CFSortFunctions.c:320)
6   CoreFoundation  … -[NSArray sortedArrayFromRange:options:usingComparator:] + 732 (NSArray.m:632)
7   CoreFoundation  … -[NSMutableArray sortedArrayFromRange:options:usingComparator:] + 60 (NSMutableArray.m:60…
8   HANA_MTS_PRO    … 0x104c10000 + 10236840
9   HANA_MTS_PRO    … 0x104c10000 + 10505564
10  Foundation      … __NSThread__start__ + 724 (NSThread.m:991)

To start, this is not symbolicated, so it’s hard to say what’s going on in your code in frames 9, 8, and 2. See Adding identifiable symbol names to a crash report for advice on how to fix that.

Regardless, this is almost certainly a memory management problem. My general advice on that front is to engage the standard memory debugging tools to see if that makes the problem more reproducible.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Consider the crashing thread backtrace:

Thread 10 Crashed:
0   libobjc.A.dylib … objc_retain + 16
1   libobjc.A.dylib … objc_storeStrong + 48 (NSObject.mm:284)
2   HANA_MTS_PRO    … 0x104c10000 + 11843132
3   CoreFoundation  … __CFSimpleMergeSort + 380 (CFSortFunctions.c:154)
4   CoreFoundation  … __CFSimpleMergeSort + 276 (CFSortFunctions.c:153)
5   CoreFoundation  … CFSortIndexes + 260 (CFSortFunctions.c:320)
6   CoreFoundation  … -[NSArray sortedArrayFromRange:options:usingComparator:] + 732 (NSArray.m:632)
7   CoreFoundation  … -[NSMutableArray sortedArrayFromRange:options:usingComparator:] + 60 (NSMutableArray.m:60…
8   HANA_MTS_PRO    … 0x104c10000 + 10236840
9   HANA_MTS_PRO    … 0x104c10000 + 10505564
10  Foundation      … __NSThread__start__ + 724 (NSThread.m:991)

To start, this is not symbolicated, so it’s hard to say what’s going on in your code in frames 9, 8, and 2. See Adding identifiable symbol names to a crash report for advice on how to fix that.

Regardless, this is almost certainly a memory management problem. My general advice on that front is to engage the standard memory debugging tools to see if that makes the problem more reproducible.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Unknown app crash issue
 
 
Q