Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

iOS crash on SDK 51.1.3.8

Open udmv opened this issue 7 months ago • 49 comments

Problem Description

Recently, we started experiencing iOS crashes 2–5 minutes after launching the game. The crashes occur randomly and not consistently, which makes it difficult to identify the root cause.

We're using dSYM files to symbolicate the crash logs, but not all symbols are resolved, so it's still challenging to pinpoint the issue.

The most recent change was upgrading the SDK from 50.2.4.5 to 51.1.3.8. After this upgrade, we noticed an increase in the crash rate in our Bugsnag tracker.

  • Which AIR SDK did you use? 51.1.3.8
  • Describe the affected environment: Android vs. iOS, all devices vs. just specific models. iOS only. There is no specific iOS version or device model; the issue occurs across a range of devices.
  • Can you reproduce it yourself, or did you get reports from other users? If so, how many users are affected (percentage)? We received crash reports from the Apple team. Additionally, we were able to reproduce it several times on one of our iPhones.

Steps to Reproduce

I am attaching the crash report. Based on this report, we haven't been able to identify a consistent set of steps or behaviors that trigger the crash.

Do you have any insights based on the crash log that could help us reproduce the issue?

Incident Identifier: B4DAFAAC-C21A-4E7A-BF4E-532200AE1C88
CrashReporter Key:   39cf0a2e603fb820d15878a9a9a948004a597eb7
Hardware Model:      iPhone14,7
Process:             EmpireFourKingdoms [24225]
Path:                /private/var/containers/Bundle/Application/A2300BF5-B675-4C9A-BFFB-DE60627AA9DF/EmpireFourKingdoms.app/EmpireFourKingdoms
Identifier:          com.goodgamestudios.empirefourkingdoms
Version:             4.102.29 (4.102.29)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.goodgamestudios.empirefourkingdoms [2972]

Date/Time:           2025-05-08 19:36:08.0634 +0200
Launch Time:         2025-05-08 19:35:35.6409 +0200
OS Version:          iPhone OS 17.4.1 (21E236)
Release Type:        User
Baseband Version:    2.51.04
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000008
Exception Codes: 0x0000000000000001, 0x0000000000000008
VM Region Info: 0x8 is not in any region.  Bytes before following region: 4343709688
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   102e7c000-108e98000 [ 96.1M] r-x/r-x SM=COW  /var/containers/Bundle/Application/A2300BF5-B675-4C9A-BFFB-DE60627AA9DF/EmpireFourKingdoms.app/EmpireFourKingdoms
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [24225]

Triggered by Thread:  23

Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0:
0   libsystem_kernel.dylib        	       0x1db651af8 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1db651890 mach_msg2_internal + 79
2   libsystem_kernel.dylib        	       0x1db6517a8 mach_msg_overwrite + 435
3   libsystem_kernel.dylib        	       0x1db6515e8 mach_msg + 23
4   CoreFoundation                	       0x19312c01c __CFRunLoopServiceMachPort + 159
5   CoreFoundation                	       0x193129f04 __CFRunLoopRun + 1207
6   CoreFoundation                	       0x193129968 CFRunLoopRunSpecific + 607
7   GraphicsServices              	       0x1d741f4e0 GSEventRunModal + 163
8   UIKitCore                     	       0x19559cedc -[UIApplication _run] + 887
9   UIKitCore                     	       0x19559c518 UIApplicationMain + 339
10  EmpireFourKingdoms            	       0x102f781fc main + 68
11  dyld                          	       0x1b664ad84 start + 2239

Thread 1:
0   libsystem_pthread.dylib       	       0x1ef0d8fb8 start_wqthread + 0

Thread 2 name:  com.apple.uikit.eventfetch-thread
Thread 2:
0   libsystem_kernel.dylib        	       0x1db651af8 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1db651890 mach_msg2_internal + 79
2   libsystem_kernel.dylib        	       0x1db6517a8 mach_msg_overwrite + 435
3   libsystem_kernel.dylib        	       0x1db6515e8 mach_msg + 23
4   CoreFoundation                	       0x19312c01c __CFRunLoopServiceMachPort + 159
5   CoreFoundation                	       0x193129f04 __CFRunLoopRun + 1207
6   CoreFoundation                	       0x193129968 CFRunLoopRunSpecific + 607
7   Foundation                    	       0x191fb84a8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 211
8   Foundation                    	       0x191fe24e8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 63
9   UIKitCore                     	       0x1954ffac8 -[UIEventFetcher threadMain] + 419
10  Foundation                    	       0x192029a9c __NSThread__start__ + 731
11  libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
12  libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 3 name:  BackgroundThread
Thread 3:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x10311a738 0x102e7c000 + 2746168
3   EmpireFourKingdoms            	       0x1030076e8 0x102e7c000 + 1619688
4   EmpireFourKingdoms            	       0x10311a4f4 0x102e7c000 + 2745588
5   EmpireFourKingdoms            	       0x10311a56c 0x102e7c000 + 2745708
6   EmpireFourKingdoms            	       0x10311a264 0x102e7c000 + 2744932
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 4 name:  BackgroundThread
Thread 4:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x10311a738 0x102e7c000 + 2746168
3   EmpireFourKingdoms            	       0x1030076e8 0x102e7c000 + 1619688
4   EmpireFourKingdoms            	       0x10311a4f4 0x102e7c000 + 2745588
5   EmpireFourKingdoms            	       0x10311a56c 0x102e7c000 + 2745708
6   EmpireFourKingdoms            	       0x10311a264 0x102e7c000 + 2744932
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 5 name:  BackgroundThread
Thread 5:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x10311a738 0x102e7c000 + 2746168
3   EmpireFourKingdoms            	       0x1030076e8 0x102e7c000 + 1619688
4   EmpireFourKingdoms            	       0x10311a4f4 0x102e7c000 + 2745588
5   EmpireFourKingdoms            	       0x10311a56c 0x102e7c000 + 2745708
6   EmpireFourKingdoms            	       0x10311a264 0x102e7c000 + 2744932
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 6 name:  BackgroundThread
Thread 6:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x10311a738 0x102e7c000 + 2746168
3   EmpireFourKingdoms            	       0x1030076e8 0x102e7c000 + 1619688
4   EmpireFourKingdoms            	       0x10311a4f4 0x102e7c000 + 2745588
5   EmpireFourKingdoms            	       0x10311a56c 0x102e7c000 + 2745708
6   EmpireFourKingdoms            	       0x10311a264 0x102e7c000 + 2744932
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 7 name:  BackgroundThread
Thread 7:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x10311a738 0x102e7c000 + 2746168
3   EmpireFourKingdoms            	       0x1030076e8 0x102e7c000 + 1619688
4   EmpireFourKingdoms            	       0x10311a4f4 0x102e7c000 + 2745588
5   EmpireFourKingdoms            	       0x10311a56c 0x102e7c000 + 2745708
6   EmpireFourKingdoms            	       0x10311a264 0x102e7c000 + 2744932
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 8 name:  BackgroundThread
Thread 8:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x10311a738 0x102e7c000 + 2746168
3   EmpireFourKingdoms            	       0x1030076e8 0x102e7c000 + 1619688
4   EmpireFourKingdoms            	       0x10311a4f4 0x102e7c000 + 2745588
5   EmpireFourKingdoms            	       0x10311a56c 0x102e7c000 + 2745708
6   EmpireFourKingdoms            	       0x10311a264 0x102e7c000 + 2744932
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 9 name:  ScriptTimeout
Thread 9:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x10311a6f8 0x102e7c000 + 2746104
3   EmpireFourKingdoms            	       0x1030c1504 0x102e7c000 + 2381060
4   EmpireFourKingdoms            	       0x10311a4f4 0x102e7c000 + 2745588
5   EmpireFourKingdoms            	       0x10311a56c 0x102e7c000 + 2745708
6   EmpireFourKingdoms            	       0x10311a264 0x102e7c000 + 2744932
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 10 name:  KSCrash Exception Handler (Secondary)
Thread 10:
0   libsystem_kernel.dylib        	       0x1db651af8 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1db651890 mach_msg2_internal + 79
2   libsystem_kernel.dylib        	       0x1db6517a8 mach_msg_overwrite + 435
3   libsystem_kernel.dylib        	       0x1db6515e8 mach_msg + 23
4   EmpireFourKingdoms            	       0x107e19310 0x102e7c000 + 83481360
5   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
6   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 11 name:  com.apple.NSURLConnectionLoader
Thread 11:
0   libsystem_kernel.dylib        	       0x1db651af8 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1db651890 mach_msg2_internal + 79
2   libsystem_kernel.dylib        	       0x1db6517a8 mach_msg_overwrite + 435
3   libsystem_kernel.dylib        	       0x1db6515e8 mach_msg + 23
4   CoreFoundation                	       0x19312c01c __CFRunLoopServiceMachPort + 159
5   CoreFoundation                	       0x193129f04 __CFRunLoopRun + 1207
6   CoreFoundation                	       0x193129968 CFRunLoopRunSpecific + 607
7   CFNetwork                     	       0x194488c48 0x194488ac9 + 383
8   Foundation                    	       0x192029a9c __NSThread__start__ + 731
9   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
10  libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 12:
0   libsystem_pthread.dylib       	       0x1ef0d8fb8 start_wqthread + 0

Thread 13 name:  caulk::deferred_logger
Thread 13:
0   libsystem_kernel.dylib        	       0x1db651a74 semaphore_wait_trap + 8
1   caulk                         	       0x203fc7610 caulk::semaphore::timed_wait(double) + 211
2   caulk                         	       0x203fc7440 caulk::concurrent::details::worker_thread::run() + 35
3   caulk                         	       0x203fe07bc void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 95
4   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
5   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 14 name:  caulk.messenger.shared:high
Thread 14:
0   libsystem_kernel.dylib        	       0x1db651a74 semaphore_wait_trap + 8
1   caulk                         	       0x203fc7610 caulk::semaphore::timed_wait(double) + 211
2   caulk                         	       0x203fc7440 caulk::concurrent::details::worker_thread::run() + 35
3   caulk                         	       0x203fe07bc void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 95
4   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
5   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 15 name:  AudioDecodeThread
Thread 15:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x10311a738 0x102e7c000 + 2746168
3   EmpireFourKingdoms            	       0x10302d190 0x102e7c000 + 1773968
4   EmpireFourKingdoms            	       0x10311a4f4 0x102e7c000 + 2745588
5   EmpireFourKingdoms            	       0x10311a56c 0x102e7c000 + 2745708
6   EmpireFourKingdoms            	       0x10311a264 0x102e7c000 + 2744932
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 16 name:  AudioPresentThread
Thread 16:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x10311a738 0x102e7c000 + 2746168
3   EmpireFourKingdoms            	       0x10302d2b0 0x102e7c000 + 1774256
4   EmpireFourKingdoms            	       0x10311a4f4 0x102e7c000 + 2745588
5   EmpireFourKingdoms            	       0x10311a56c 0x102e7c000 + 2745708
6   EmpireFourKingdoms            	       0x10311a264 0x102e7c000 + 2744932
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 17 name:  JavaScriptCore libpas scavenger
Thread 17:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   JavaScriptCore                	       0x1aa6f6db0 scavenger_thread_main + 1511
3   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
4   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 18:
0   libsystem_pthread.dylib       	       0x1ef0d8fb8 start_wqthread + 0

Thread 19:
0   libsystem_pthread.dylib       	       0x1ef0d8fb8 start_wqthread + 0

Thread 20:
0   libsystem_pthread.dylib       	       0x1ef0d8fb8 start_wqthread + 0

Thread 21:
0   libsystem_pthread.dylib       	       0x1ef0d8fb8 start_wqthread + 0

Thread 22 name:  Background work
Thread 22:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d85bc _pthread_cond_wait + 1271
2   EmpireFourKingdoms            	       0x103168ff8 0x102e7c000 + 3067896
3   EmpireFourKingdoms            	       0x103168950 0x102e7c000 + 3066192
4   EmpireFourKingdoms            	       0x103168818 0x102e7c000 + 3065880
5   EmpireFourKingdoms            	       0x10311a4f4 0x102e7c000 + 2745588
6   EmpireFourKingdoms            	       0x10311a56c 0x102e7c000 + 2745708
7   EmpireFourKingdoms            	       0x10311a264 0x102e7c000 + 2744932
8   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
9   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 23 Crashed:
0   EmpireFourKingdoms            	       0x1033368cc 0x102e7c000 + 4958412
1   EmpireFourKingdoms            	       0x1030c4670 0x102e7c000 + 2393712
2   EmpireFourKingdoms            	       0x102f1e69c 0x102e7c000 + 665244
3   EmpireFourKingdoms            	       0x102f1eca4 0x102e7c000 + 666788
4   EmpireFourKingdoms            	       0x102f25780 0x102e7c000 + 694144
5   EmpireFourKingdoms            	       0x102f25bb8 0x102e7c000 + 695224
6   EmpireFourKingdoms            	       0x102f25f48 0x102e7c000 + 696136
7   EmpireFourKingdoms            	       0x102f2bde8 0x102e7c000 + 720360
8   EmpireFourKingdoms            	       0x102f2c6d8 0x102e7c000 + 722648
9   EmpireFourKingdoms            	       0x103215668 0x102e7c000 + 3774056
10  EmpireFourKingdoms            	       0x103211e6c 0x102e7c000 + 3759724
11  EmpireFourKingdoms            	       0x102fb79c4 0x102e7c000 + 1292740
12  EmpireFourKingdoms            	       0x103270110 0x102e7c000 + 4145424
13  EmpireFourKingdoms            	       0x1033b48d8 0x102e7c000 + 5474520
14  EmpireFourKingdoms            	       0x10326c2b0 0x102e7c000 + 4129456
15  libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
16  libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7


Thread 23 crashed with ARM Thread State (64-bit):
    x0: 0x000000012f73c970   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x000000013b3d4f60
    x4: 0x0000000000000004   x5: 0x0000000000000020   x6: 0x0000000302cf0020   x7: 0x0000000000000000
    x8: 0x0000000000000000   x9: 0x000000000d9a1033  x10: 0x0000000000000000  x11: 0x00000000e56391cb
   x12: 0x00000000000007fb  x13: 0x00000000000007fd  x14: 0x00000000e5839802  x15: 0x0000000000000002
   x16: 0x00000001ef022ee0  x17: 0x0000000000039800  x18: 0x0000000000000000  x19: 0x0000000134ab30a0
   x20: 0x000000013c4fce80  x21: 0x000000013af0b000  x22: 0x000000012f73c970  x23: 0x000000013b56b0e0
   x24: 0x00000001093a7000  x25: 0x000000013a79ff98  x26: 0x000000013a79ff98  x27: 0x0000000000000000
   x28: 0x0000000000000000   fp: 0x000000016df36080   lr: 0x00000001033368b4
    sp: 0x000000016df36040   pc: 0x00000001033368cc cpsr: 0x60001000
   far: 0x0000000000000008  esr: 0x92000006 (Data Abort) byte read Translation fault

Binary Images:
       0x109eb4000 -        0x109ebffff libobjc-trampolines.dylib arm64e  <19bc6b58cbf535a583a5fc742451547d> /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib
       0x10a17c000 -        0x10a40bfff Didomi arm64  <18c66470c7393d09a92647f678787f73> /private/var/containers/Bundle/Application/A2300BF5-B675-4C9A-BFFB-DE60627AA9DF/EmpireFourKingdoms.app/Frameworks/Didomi.framework/Didomi
       0x1097f4000 -        0x109807fff FirebaseCore arm64  <2b2f031dfb813b6bad5b2d8e380b903f> /private/var/containers/Bundle/Application/A2300BF5-B675-4C9A-BFFB-DE60627AA9DF/EmpireFourKingdoms.app/Frameworks/FirebaseCore.framework/FirebaseCore
       0x109874000 -        0x10988ffff FirebaseCoreInternal arm64  <7e615d33ad0039bba13bc0b5f9a847be> /private/var/containers/Bundle/Application/A2300BF5-B675-4C9A-BFFB-DE60627AA9DF/EmpireFourKingdoms.app/Frameworks/FirebaseCoreInternal.framework/FirebaseCoreInternal
       0x1098c8000 -        0x1098dffff FirebaseInstallations arm64  <fc238203559630f4854564e55369248b> /private/var/containers/Bundle/Application/A2300BF5-B675-4C9A-BFFB-DE60627AA9DF/EmpireFourKingdoms.app/Frameworks/FirebaseInstallations.framework/FirebaseInstallations
       0x109904000 -        0x109923fff GoogleUtilities arm64  <20a7da61ad2e3927824ac34369d54a1b> /private/var/containers/Bundle/Application/A2300BF5-B675-4C9A-BFFB-DE60627AA9DF/EmpireFourKingdoms.app/Frameworks/GoogleUtilities.framework/GoogleUtilities
       0x109824000 -        0x109833fff FBLPromises arm64  <ee8c609a089c34c8aaa3d32fd0c29b3e> /private/var/containers/Bundle/Application/A2300BF5-B675-4C9A-BFFB-DE60627AA9DF/EmpireFourKingdoms.app/Frameworks/FBLPromises.framework/FBLPromises
       0x109fd4000 -        0x10a03ffff HelpshiftX arm64  <a770458184ca3d9e987f0c53bc408407> /private/var/containers/Bundle/Application/A2300BF5-B675-4C9A-BFFB-DE60627AA9DF/EmpireFourKingdoms.app/Frameworks/HelpshiftX.framework/HelpshiftX
       0x102e7c000 -        0x108e97fff EmpireFourKingdoms arm64  <1fa3dab35d3539628ea6bd2fa05991e0> /private/var/containers/Bundle/Application/A2300BF5-B675-4C9A-BFFB-DE60627AA9DF/EmpireFourKingdoms.app/EmpireFourKingdoms
       0x1db650000 -        0x1db689fef libsystem_kernel.dylib arm64e  <db493af363b132209dd8dd4f86bddfc8> /usr/lib/system/libsystem_kernel.dylib
       0x1930f6000 -        0x193623fff CoreFoundation arm64e  <3a5f992ad1cd312ebd2ef7c66343a417> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
       0x1d741c000 -        0x1d7424fff GraphicsServices arm64e  <4cb7e98636bf38018f495d8c3c4a2127> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
       0x195372000 -        0x196e82fff UIKitCore arm64e  <7bf01cfc23f1326aafd8ad967ffece28> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
       0x1b6645000 -        0x1b66d1be3 dyld arm64e  <7be2b7573b3d3e918cb774f3887660c7> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? unknown-arch  <00000000000000000000000000000000> ???
       0x19b036000 -        0x19b0b3fff libsystem_c.dylib arm64e  <3b5201c515d0335fa91d0c63e1f6c6dc> /usr/lib/system/libsystem_c.dylib
       0x1ef0d7000 -        0x1ef0e3fff libsystem_pthread.dylib arm64e  <a70c0def058c3cb09ec1453aa7f39df9> /usr/lib/system/libsystem_pthread.dylib
       0x191f8d000 -        0x192b18fff Foundation arm64e  <d92e19c162993e948614c505d5abccdb> /System/Library/Frameworks/Foundation.framework/Foundation
       0x19422e000 -        0x19460afff CFNetwork arm64e  <a0da81af67733a72a9a5264f31047a16> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
       0x203fc6000 -        0x203feffff caulk arm64e  <b669678948863c27a2d9b298aa50ab08> /System/Library/PrivateFrameworks/caulk.framework/caulk
       0x1a9160000 -        0x1aa8cbf1f JavaScriptCore arm64e  <05ea21999e0238dea861db68c3407b98> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
       0x1ef022000 -        0x1ef028feb libsystem_platform.dylib arm64e  <e29c0ee481183a92bff81c343f8885ad> /usr/lib/system/libsystem_platform.dylib

EOF


udmv avatar May 12 '25 12:05 udmv

This is another crash log with a bit different stack trace, but with the same EXC_BAD_ACCESS: Attempted to dereference garbage pointer 0x8.

Incident Identifier: CA6F5B57-23C2-4198-A1D9-FA80363145AE
CrashReporter Key:   39cf0a2e603fb820d15878a9a9a948004a597eb7
Hardware Model:      iPhone14,7
Process:             EmpireFourKingdoms [25034]
Path:                /private/var/containers/Bundle/Application/9ECEA33F-BA2B-4E72-9B35-884C80E2C0CB/EmpireFourKingdoms.app/EmpireFourKingdoms
Identifier:          com.goodgamestudios.empirefourkingdoms
Version:             4.103.32 (4.103.32)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.goodgamestudios.empirefourkingdoms [2972]

Date/Time:           2025-05-12 20:38:06.7368 +0200
Launch Time:         2025-05-12 20:37:40.3846 +0200
OS Version:          iPhone OS 17.4.1 (21E236)
Release Type:        User
Baseband Version:    2.51.04
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000008
Exception Codes: 0x0000000000000001, 0x0000000000000008
VM Region Info: 0x8 is not in any region.  Bytes before following region: 4309778424
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   100e20000-105420000 [ 70.0M] r-x/r-x SM=COW  /var/containers/Bundle/Application/9ECEA33F-BA2B-4E72-9B35-884C80E2C0CB/EmpireFourKingdoms.app/EmpireFourKingdoms
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [25034]

Triggered by Thread:  23

Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0:
0   libobjc.A.dylib               	       0x18b017c00 objc_msgSend + 0
1   AppleMetalGLRenderer          	       0x22f71d670 GLDContextRec::setRenderState(unsigned int) + 131
2   AppleMetalGLRenderer          	       0x22f72223c gldBeginPrimitiveBuffer(GLDContextRec*, unsigned int, int*) + 263
3   GLEngine                      	       0x21941ddb0 gleBeginPrimitiveTCLFunc + 87
4   GLEngine                      	       0x2193fc1b8 gleDrawArraysOrElements_ExecCore + 511
5   GLEngine                      	       0x2193fe274 glDrawArrays_IMM_ES2Exec + 511
6   EmpireFourKingdoms            	       0x101130db4 0x100e20000 + 3214772
7   EmpireFourKingdoms            	       0x101134060 0x100e20000 + 3227744
8   EmpireFourKingdoms            	       0x100eb1fe0 0x100e20000 + 597984
9   EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
10  EmpireFourKingdoms            	       0x100eb2198 0x100e20000 + 598424
11  EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
12  EmpireFourKingdoms            	       0x100eb2198 0x100e20000 + 598424
13  EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
14  EmpireFourKingdoms            	       0x100eb2198 0x100e20000 + 598424
15  EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
16  EmpireFourKingdoms            	       0x100eb2198 0x100e20000 + 598424
17  EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
18  EmpireFourKingdoms            	       0x100eb2198 0x100e20000 + 598424
19  EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
20  EmpireFourKingdoms            	       0x100eb2198 0x100e20000 + 598424
21  EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
22  EmpireFourKingdoms            	       0x100eb2198 0x100e20000 + 598424
23  EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
24  EmpireFourKingdoms            	       0x100eb2198 0x100e20000 + 598424
25  EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
26  EmpireFourKingdoms            	       0x100eb2198 0x100e20000 + 598424
27  EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
28  EmpireFourKingdoms            	       0x100eb2198 0x100e20000 + 598424
29  EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
30  EmpireFourKingdoms            	       0x100eb2198 0x100e20000 + 598424
31  EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
32  EmpireFourKingdoms            	       0x100eb2198 0x100e20000 + 598424
33  EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
34  EmpireFourKingdoms            	       0x100eb2198 0x100e20000 + 598424
35  EmpireFourKingdoms            	       0x100eb06f8 0x100e20000 + 591608
36  EmpireFourKingdoms            	       0x100e982dc 0x100e20000 + 492252
37  EmpireFourKingdoms            	       0x100e99300 0x100e20000 + 496384
38  EmpireFourKingdoms            	       0x1010ee700 0x100e20000 + 2942720
39  EmpireFourKingdoms            	       0x1010ef5d0 0x100e20000 + 2946512
40  EmpireFourKingdoms            	       0x1010ef518 0x100e20000 + 2946328
41  EmpireFourKingdoms            	       0x1010eee94 0x100e20000 + 2944660
42  EmpireFourKingdoms            	       0x100ee826c 0x100e20000 + 819820
43  EmpireFourKingdoms            	       0x100ef4b10 0x100e20000 + 871184
44  EmpireFourKingdoms            	       0x100ef50e0 0x100e20000 + 872672
45  EmpireFourKingdoms            	       0x100e32788 0x100e20000 + 75656
46  QuartzCore                    	       0x194798d50 CA::Display::DisplayLinkItem::dispatch_(CA::SignPost::Interval<(CA::SignPost::CAEventCode)835322056>&) + 47
47  QuartzCore                    	       0x19479bf30 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 867
48  QuartzCore                    	       0x19481a654 CA::Display::DisplayLink::dispatch_deferred_display_links(unsigned int) + 351
49  UIKitCore                     	       0x19541cd78 _UIUpdateSequenceRun + 83
50  UIKitCore                     	       0x19541c468 schedulerStepScheduledMainSection + 143
51  UIKitCore                     	       0x19541c524 runloopSourceCallback + 91
52  CoreFoundation                	       0x19312d62c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 27
53  CoreFoundation                	       0x19312c8a8 __CFRunLoopDoSource0 + 175
54  CoreFoundation                	       0x19312b058 __CFRunLoopDoSources0 + 243
55  CoreFoundation                	       0x193129d88 __CFRunLoopRun + 827
56  CoreFoundation                	       0x193129968 CFRunLoopRunSpecific + 607
57  GraphicsServices              	       0x1d741f4e0 GSEventRunModal + 163
58  UIKitCore                     	       0x19559cedc -[UIApplication _run] + 887
59  UIKitCore                     	       0x19559c518 UIApplicationMain + 339
60  EmpireFourKingdoms            	       0x100f1cf4c main + 68
61  dyld                          	       0x1b664ad84 start + 2239

Thread 1:
0   libsystem_pthread.dylib       	       0x1ef0d8fb8 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	       0x1ef0d8fb8 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	       0x1ef0d8fb8 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	       0x1ef0d8fb8 start_wqthread + 0

Thread 5 name:  com.apple.uikit.eventfetch-thread
Thread 5:
0   libsystem_kernel.dylib        	       0x1db651af8 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1db651890 mach_msg2_internal + 79
2   libsystem_kernel.dylib        	       0x1db6517a8 mach_msg_overwrite + 435
3   libsystem_kernel.dylib        	       0x1db6515e8 mach_msg + 23
4   CoreFoundation                	       0x19312c01c __CFRunLoopServiceMachPort + 159
5   CoreFoundation                	       0x193129f04 __CFRunLoopRun + 1207
6   CoreFoundation                	       0x193129968 CFRunLoopRunSpecific + 607
7   Foundation                    	       0x191fb84a8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 211
8   Foundation                    	       0x191fe24e8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 63
9   UIKitCore                     	       0x1954ffac8 -[UIEventFetcher threadMain] + 419
10  Foundation                    	       0x192029a9c __NSThread__start__ + 731
11  libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
12  libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 6 name:  BackgroundThread
Thread 6:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x1010bf488 0x100e20000 + 2749576
3   EmpireFourKingdoms            	       0x100fac438 0x100e20000 + 1623096
4   EmpireFourKingdoms            	       0x1010bf244 0x100e20000 + 2748996
5   EmpireFourKingdoms            	       0x1010bf2bc 0x100e20000 + 2749116
6   EmpireFourKingdoms            	       0x1010befb4 0x100e20000 + 2748340
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 7 name:  BackgroundThread
Thread 7:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x1010bf488 0x100e20000 + 2749576
3   EmpireFourKingdoms            	       0x100fac438 0x100e20000 + 1623096
4   EmpireFourKingdoms            	       0x1010bf244 0x100e20000 + 2748996
5   EmpireFourKingdoms            	       0x1010bf2bc 0x100e20000 + 2749116
6   EmpireFourKingdoms            	       0x1010befb4 0x100e20000 + 2748340
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 8 name:  BackgroundThread
Thread 8:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x1010bf488 0x100e20000 + 2749576
3   EmpireFourKingdoms            	       0x100fac438 0x100e20000 + 1623096
4   EmpireFourKingdoms            	       0x1010bf244 0x100e20000 + 2748996
5   EmpireFourKingdoms            	       0x1010bf2bc 0x100e20000 + 2749116
6   EmpireFourKingdoms            	       0x1010befb4 0x100e20000 + 2748340
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 9 name:  BackgroundThread
Thread 9:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x1010bf488 0x100e20000 + 2749576
3   EmpireFourKingdoms            	       0x100fac438 0x100e20000 + 1623096
4   EmpireFourKingdoms            	       0x1010bf244 0x100e20000 + 2748996
5   EmpireFourKingdoms            	       0x1010bf2bc 0x100e20000 + 2749116
6   EmpireFourKingdoms            	       0x1010befb4 0x100e20000 + 2748340
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 10 name:  BackgroundThread
Thread 10:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x1010bf488 0x100e20000 + 2749576
3   EmpireFourKingdoms            	       0x100fac438 0x100e20000 + 1623096
4   EmpireFourKingdoms            	       0x1010bf244 0x100e20000 + 2748996
5   EmpireFourKingdoms            	       0x1010bf2bc 0x100e20000 + 2749116
6   EmpireFourKingdoms            	       0x1010befb4 0x100e20000 + 2748340
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 11 name:  BackgroundThread
Thread 11:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x1010bf488 0x100e20000 + 2749576
3   EmpireFourKingdoms            	       0x100fac438 0x100e20000 + 1623096
4   EmpireFourKingdoms            	       0x1010bf244 0x100e20000 + 2748996
5   EmpireFourKingdoms            	       0x1010bf2bc 0x100e20000 + 2749116
6   EmpireFourKingdoms            	       0x1010befb4 0x100e20000 + 2748340
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 12 name:  ScriptTimeout
Thread 12:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x1010bf448 0x100e20000 + 2749512
3   EmpireFourKingdoms            	       0x101066254 0x100e20000 + 2384468
4   EmpireFourKingdoms            	       0x1010bf244 0x100e20000 + 2748996
5   EmpireFourKingdoms            	       0x1010bf2bc 0x100e20000 + 2749116
6   EmpireFourKingdoms            	       0x1010befb4 0x100e20000 + 2748340
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 13 name:  KSCrash Exception Handler (Secondary)
Thread 13:
0   libsystem_kernel.dylib        	       0x1db651af8 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1db651890 mach_msg2_internal + 79
2   libsystem_kernel.dylib        	       0x1db6517a8 mach_msg_overwrite + 435
3   libsystem_kernel.dylib        	       0x1db6515e8 mach_msg + 23
4   EmpireFourKingdoms            	       0x1043d7350 0x100e20000 + 56324944
5   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
6   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 14 name:  com.apple.NSURLConnectionLoader
Thread 14:
0   libsystem_kernel.dylib        	       0x1db651af8 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1db651890 mach_msg2_internal + 79
2   libsystem_kernel.dylib        	       0x1db6517a8 mach_msg_overwrite + 435
3   libsystem_kernel.dylib        	       0x1db6515e8 mach_msg + 23
4   CoreFoundation                	       0x19312c01c __CFRunLoopServiceMachPort + 159
5   CoreFoundation                	       0x193129f04 __CFRunLoopRun + 1207
6   CoreFoundation                	       0x193129968 CFRunLoopRunSpecific + 607
7   CFNetwork                     	       0x194488c48 0x194488ac9 + 383
8   Foundation                    	       0x192029a9c __NSThread__start__ + 731
9   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
10  libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 15 name:  caulk::deferred_logger
Thread 15:
0   libsystem_kernel.dylib        	       0x1db651a74 semaphore_wait_trap + 8
1   caulk                         	       0x203fc7610 caulk::semaphore::timed_wait(double) + 211
2   caulk                         	       0x203fc7440 caulk::concurrent::details::worker_thread::run() + 35
3   caulk                         	       0x203fe07bc void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 95
4   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
5   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 16 name:  caulk.messenger.shared:high
Thread 16:
0   libsystem_kernel.dylib        	       0x1db651a74 semaphore_wait_trap + 8
1   caulk                         	       0x203fc7610 caulk::semaphore::timed_wait(double) + 211
2   caulk                         	       0x203fc7440 caulk::concurrent::details::worker_thread::run() + 35
3   caulk                         	       0x203fe07bc void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 95
4   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
5   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 17 name:  AudioDecodeThread
Thread 17:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x1010bf488 0x100e20000 + 2749576
3   EmpireFourKingdoms            	       0x100fd1ee0 0x100e20000 + 1777376
4   EmpireFourKingdoms            	       0x1010bf244 0x100e20000 + 2748996
5   EmpireFourKingdoms            	       0x1010bf2bc 0x100e20000 + 2749116
6   EmpireFourKingdoms            	       0x1010befb4 0x100e20000 + 2748340
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 18 name:  AudioPresentThread
Thread 18:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   EmpireFourKingdoms            	       0x1010bf488 0x100e20000 + 2749576
3   EmpireFourKingdoms            	       0x100fd2000 0x100e20000 + 1777664
4   EmpireFourKingdoms            	       0x1010bf244 0x100e20000 + 2748996
5   EmpireFourKingdoms            	       0x1010bf2bc 0x100e20000 + 2749116
6   EmpireFourKingdoms            	       0x1010befb4 0x100e20000 + 2748340
7   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
8   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 19 name:  JavaScriptCore libpas scavenger
Thread 19:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d8590 _pthread_cond_wait + 1227
2   JavaScriptCore                	       0x1aa6f6db0 scavenger_thread_main + 1511
3   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
4   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 20 name:  Background work
Thread 20:
0   libsystem_kernel.dylib        	       0x1db65249c __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1ef0d85bc _pthread_cond_wait + 1271
2   EmpireFourKingdoms            	       0x10110dd48 0x100e20000 + 3071304
3   EmpireFourKingdoms            	       0x10110d6a0 0x100e20000 + 3069600
4   EmpireFourKingdoms            	       0x10110d568 0x100e20000 + 3069288
5   EmpireFourKingdoms            	       0x1010bf244 0x100e20000 + 2748996
6   EmpireFourKingdoms            	       0x1010bf2bc 0x100e20000 + 2749116
7   EmpireFourKingdoms            	       0x1010befb4 0x100e20000 + 2748340
8   libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
9   libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7

Thread 21:
0   libsystem_pthread.dylib       	       0x1ef0d8fb8 start_wqthread + 0

Thread 22:
0   libsystem_pthread.dylib       	       0x1ef0d8fb8 start_wqthread + 0

Thread 23 Crashed:
0   EmpireFourKingdoms            	       0x1012db61c 0x100e20000 + 4961820
1   EmpireFourKingdoms            	       0x1010693c0 0x100e20000 + 2397120
2   EmpireFourKingdoms            	       0x100ec33ec 0x100e20000 + 668652
3   EmpireFourKingdoms            	       0x100ec39f4 0x100e20000 + 670196
4   EmpireFourKingdoms            	       0x100eca4d0 0x100e20000 + 697552
5   EmpireFourKingdoms            	       0x100eca908 0x100e20000 + 698632
6   EmpireFourKingdoms            	       0x100ecac98 0x100e20000 + 699544
7   EmpireFourKingdoms            	       0x100ed0b38 0x100e20000 + 723768
8   EmpireFourKingdoms            	       0x100ed1428 0x100e20000 + 726056
9   EmpireFourKingdoms            	       0x1011ba3b8 0x100e20000 + 3777464
10  EmpireFourKingdoms            	       0x1011b6bbc 0x100e20000 + 3763132
11  EmpireFourKingdoms            	       0x100f5c714 0x100e20000 + 1296148
12  EmpireFourKingdoms            	       0x101214e60 0x100e20000 + 4148832
13  EmpireFourKingdoms            	       0x101359628 0x100e20000 + 5477928
14  EmpireFourKingdoms            	       0x101211000 0x100e20000 + 4132864
15  libsystem_pthread.dylib       	       0x1ef0d9a90 _pthread_start + 135
16  libsystem_pthread.dylib       	       0x1ef0d8fcc thread_start + 7


Thread 23 crashed with ARM Thread State (64-bit):
    x0: 0x000000012bf60970   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000135a36f80
    x4: 0x0000000000000004   x5: 0x0000000000002f80   x6: 0x0000000302ca2f80   x7: 0x0000000000000000
    x8: 0x0000000000000000   x9: 0x00000000ba586492  x10: 0x0000000000000000  x11: 0x00000000a781e982
   x12: 0x00000000000007fb  x13: 0x00000000000007fd  x14: 0x00000000a7a1f17d  x15: 0x000000000000017d
   x16: 0x00000001ef022ee0  x17: 0x000000000001f000  x18: 0x0000000000000000  x19: 0x000000012f6000a0
   x20: 0x000000013064cec0  x21: 0x0000000134ced000  x22: 0x000000012bf60970  x23: 0x000000012c1cd120
   x24: 0x000000010592b000  x25: 0x000000012c13cf98  x26: 0x000000012c13cf98  x27: 0x0000000000000000
   x28: 0x0000000000000000   fp: 0x000000016ff06080   lr: 0x00000001012db604
    sp: 0x000000016ff06040   pc: 0x00000001012db61c cpsr: 0x60001000
   far: 0x0000000000000008  esr: 0x92000006 (Data Abort) byte read Translation fault

Binary Images:
       0x105f08000 -        0x105f13fff libobjc-trampolines.dylib arm64e  <19bc6b58cbf535a583a5fc742451547d> /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib
       0x1066e8000 -        0x106977fff Didomi arm64  <18c66470c7393d09a92647f678787f73> /private/var/containers/Bundle/Application/9ECEA33F-BA2B-4E72-9B35-884C80E2C0CB/EmpireFourKingdoms.app/Frameworks/Didomi.framework/Didomi
       0x105d1c000 -        0x105d2ffff FirebaseCore arm64  <2b2f031dfb813b6bad5b2d8e380b903f> /private/var/containers/Bundle/Application/9ECEA33F-BA2B-4E72-9B35-884C80E2C0CB/EmpireFourKingdoms.app/Frameworks/FirebaseCore.framework/FirebaseCore
       0x105d9c000 -        0x105db7fff FirebaseCoreInternal arm64  <7e615d33ad0039bba13bc0b5f9a847be> /private/var/containers/Bundle/Application/9ECEA33F-BA2B-4E72-9B35-884C80E2C0CB/EmpireFourKingdoms.app/Frameworks/FirebaseCoreInternal.framework/FirebaseCoreInternal
       0x105df0000 -        0x105e07fff FirebaseInstallations arm64  <fc238203559630f4854564e55369248b> /private/var/containers/Bundle/Application/9ECEA33F-BA2B-4E72-9B35-884C80E2C0CB/EmpireFourKingdoms.app/Frameworks/FirebaseInstallations.framework/FirebaseInstallations
       0x105e2c000 -        0x105e4bfff GoogleUtilities arm64  <20a7da61ad2e3927824ac34369d54a1b> /private/var/containers/Bundle/Application/9ECEA33F-BA2B-4E72-9B35-884C80E2C0CB/EmpireFourKingdoms.app/Frameworks/GoogleUtilities.framework/GoogleUtilities
       0x105d4c000 -        0x105d5bfff FBLPromises arm64  <ee8c609a089c34c8aaa3d32fd0c29b3e> /private/var/containers/Bundle/Application/9ECEA33F-BA2B-4E72-9B35-884C80E2C0CB/EmpireFourKingdoms.app/Frameworks/FBLPromises.framework/FBLPromises
       0x106540000 -        0x1065abfff HelpshiftX arm64  <a770458184ca3d9e987f0c53bc408407> /private/var/containers/Bundle/Application/9ECEA33F-BA2B-4E72-9B35-884C80E2C0CB/EmpireFourKingdoms.app/Frameworks/HelpshiftX.framework/HelpshiftX
       0x100e20000 -        0x10541ffff EmpireFourKingdoms arm64  <75679176291a328391672700d3e6b00c> /private/var/containers/Bundle/Application/9ECEA33F-BA2B-4E72-9B35-884C80E2C0CB/EmpireFourKingdoms.app/EmpireFourKingdoms
       0x18b014000 -        0x18b061cc3 libobjc.A.dylib arm64e  <412fd1f44107344388efb3760778f6a7> /usr/lib/libobjc.A.dylib
       0x22f70c000 -        0x22f72cfff AppleMetalGLRenderer arm64e  <b57087ee7bbf304b9cfd676b18579bfb> /System/Library/Extensions/AppleMetalGLRenderer.bundle/AppleMetalGLRenderer
       0x2193a2000 -        0x21946bfff GLEngine arm64e  <f7f95f47a83b30a6b41a3c7be26553c8> /System/Library/Frameworks/OpenGLES.framework/GLEngine.bundle/GLEngine
       0x194769000 -        0x194af1fff QuartzCore arm64e  <a53570f9dc4a3b419932b1a081e6e520> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
       0x195372000 -        0x196e82fff UIKitCore arm64e  <7bf01cfc23f1326aafd8ad967ffece28> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
       0x1930f6000 -        0x193623fff CoreFoundation arm64e  <3a5f992ad1cd312ebd2ef7c66343a417> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
       0x1d741c000 -        0x1d7424fff GraphicsServices arm64e  <4cb7e98636bf38018f495d8c3c4a2127> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
       0x1b6645000 -        0x1b66d1be3 dyld arm64e  <7be2b7573b3d3e918cb774f3887660c7> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? unknown-arch  <00000000000000000000000000000000> ???
       0x1ef0d7000 -        0x1ef0e3fff libsystem_pthread.dylib arm64e  <a70c0def058c3cb09ec1453aa7f39df9> /usr/lib/system/libsystem_pthread.dylib
       0x1db650000 -        0x1db689fef libsystem_kernel.dylib arm64e  <db493af363b132209dd8dd4f86bddfc8> /usr/lib/system/libsystem_kernel.dylib
       0x191f8d000 -        0x192b18fff Foundation arm64e  <d92e19c162993e948614c505d5abccdb> /System/Library/Frameworks/Foundation.framework/Foundation
       0x19b036000 -        0x19b0b3fff libsystem_c.dylib arm64e  <3b5201c515d0335fa91d0c63e1f6c6dc> /usr/lib/system/libsystem_c.dylib
       0x19422e000 -        0x19460afff CFNetwork arm64e  <a0da81af67733a72a9a5264f31047a16> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
       0x203fc6000 -        0x203feffff caulk arm64e  <b669678948863c27a2d9b298aa50ab08> /System/Library/PrivateFrameworks/caulk.framework/caulk
       0x1a9160000 -        0x1aa8cbf1f JavaScriptCore arm64e  <05ea21999e0238dea861db68c3407b98> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
       0x1ef022000 -        0x1ef028feb libsystem_platform.dylib arm64e  <e29c0ee481183a92bff81c343f8885ad> /usr/lib/system/libsystem_platform.dylib

EOF

udmv avatar May 12 '25 18:05 udmv

Yes,i have the same problem,i use 51.2.1,did you solved this problem?

zengqingyong avatar May 16 '25 03:05 zengqingyong

@udmv it's quite tricky to tell what's going on from your crash logs, particularly since the thread that crashed isn't a named one. Do you use Workers in your app, and is it possible to isolate any behaviour that might cause the issue? Or ideally, if it's quick to reproduce, would it be possible to try it with a variety of AIR SDK versions until you find the actual release that introduced the error?

Alternatively (and @zengqingyong you could do this bit) if you're able to use 51.2.1, there's a new entry you can add to your configuration file in ~/.airsdk/adt.cfg called IPASymbolFile, if you add a filename there you should then find that file is generated when you create the IPA package. If you can provide us with that file alongside the crash report/call stacks, we should be able to decipher them to find out the actual crash locations..

thanks

ajwfrost avatar May 17 '25 05:05 ajwfrost

@ajwfrost i create new ipa use old crash report is ok?

zengqingyong avatar May 19 '25 02:05 zengqingyong

@zengqingyong if nothing else has changed in the meantime then it might be that the details in the two IPA files are the same .. worth a try perhaps, if you send us the symbol details we can check and see whether the crash report can then be successfully deciphered. But if anything has changed (e.g. code, tool, or SDK) then I think it wouldn't be valid, and I'm not even 100% sure if rebuilding the same thing twice in a row would generate the same results...

thanks

ajwfrost avatar May 19 '25 07:05 ajwfrost

@ajwfrost can you show me how to" add your configuration file in ~/.airsdk/adt.cfg called IPASymbolFile "

zengqingyong avatar May 20 '25 08:05 zengqingyong

Assuming you're using macOS, you could open a terminal and just do something like

echo IPASymbolFile=ipa_syms.bin >> ~/.airsdk/adt.cfg

Note the double-greater-than symbol, to append to the end of the file.

Then when you build the IPA, you should also see the ipa_syms.bin file alongside it.

thanks

ajwfrost avatar May 20 '25 13:05 ajwfrost

2025-05-03_13-32-41.1549_-0300-efa29b0996d80b8ebdfe15413b61aba49fad810e.txt

[ipa_syms.txt](https://github.com/user-attachments/files/20364405/ipa_syms.txt I have creat the file.Can you help me? Thank you!

zengqingyong avatar May 21 '25 08:05 zengqingyong

Thanks, that all worked out.. but it's a fairly fundamental problem it seems (the symbol where it crashed was a null pointer issue within a "write barrier" but that implies the object on which it's operating is null..). We can't actually see in the call stack what the value/variable was that's being used here:

Thread 0 Crashed:
0   Room Escape 50 rooms I              0x000000010054599c 0x10052c000 + 104860
1   UIKitCore                           0x00000001a5d3a9a4 -[UIApplication _deactivateForReason:notify:] + 1164 (UIApplication.m:1875)
2   UIKitCore                           0x00000001a5d3a16c -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 176 (_UISceneLifecycleMultiplexer.m:514)

When does this crash, is it just when you're starting up the application from scratch? As this seems to be when it's being deactivated e.g. put into the background or similar?

Also - is it possible to get your application descriptor file please (or maybe, the whole .ipa file would be more useful for us, if that's a possibility?). Upload link: https://transfer.harman.com/requests/u0RE4FHRPo82S83ygUKbpF

thanks

ajwfrost avatar May 21 '25 13:05 ajwfrost

We found the cause of the two crashes I posted above. It was related to the Google User Messaging Platform (UMP) ANE we use. Apparently, the UMP SDK is not compatible with iOS 18.2, which comes with version 51.1.3.8 that we upgraded to recently.

@ajwfrost we're still seeing another similar crash affecting our users and are currently investigating it further. We plan to try version 51.2.1 with the IPASymbolFile configuration enabled to obtain the symbol file to share with you thanks

udmv avatar May 21 '25 13:05 udmv

I can't reproduce it. It won't crash on my phone, but I can receive a lot of crashes in the background of Xcode. There weren't so many before until I was required to upgrade to ios 18. I have already uploaded the ipa

zengqingyong avatar May 22 '25 07:05 zengqingyong

Because there were too many original ipa SWFS, I deleted a large number of SWFS to make the IPA a little smaller

zengqingyong avatar May 22 '25 07:05 zengqingyong

@udmv How did you find that it was related to UMP?

httpwebmedia avatar Jun 12 '25 14:06 httpwebmedia

@udmv Did you find any solution about your bug? I still have a lot of crash named libobjc.A.dylib and I'm not able to find why. I talked to Andrew about it few months ago and we were not able to solve this problem. We tried with version 51.1.3.7 51.1.3.5 51.1.1.5 50.2.5.1 50.2.4.3 without any success.

Image

premiumsB avatar Jun 12 '25 14:06 premiumsB

@httpwebmedia @premiumsB I identified the root cause by removing the other ANEs from the project — the crash occurred only when UMP was included. In the end, I removed UMP from the project since it was no longer needed.

udmv avatar Jun 12 '25 15:06 udmv

@marchbold How can we fix that problem with Adverts and the one who want to use UMP?

I have this problem since several months and I can't update my bigger apps because I will get too many crashes VS the amount I got previously.

premiumsB avatar Jun 12 '25 15:06 premiumsB

@premiumsB if you're able to reproduce this yourself then could you do a build with 51.2.1.5 when you have something like IPASymbolFile=ipa_syms.bin in the adt.cfg file under ~/.airsdk, and then send us the IPS crash log from the device along with the ipa_syms.bin file that's generated alongside the IPA?

thanks

ajwfrost avatar Jun 12 '25 15:06 ajwfrost

Hi @ajwfrost, we've attempted to work on this issue a few times by email before, but unfortunately I haven't been able to reproduce the error using the simulator. I can see the crashes in Xcode's Organizer under Crashes, but when I try to replicate them on the simulator with the same OS and device shown in the provided screenshot, the crashes don't occur.

premiumsB avatar Jun 12 '25 17:06 premiumsB

@premiumsB @udmv Have you tried packaging with the latest iOS SDK. Try setting your environment to use iOS SDK 18.4:

Image

marchbold avatar Jun 12 '25 22:06 marchbold

@marchbold I used 18.2 the last few months with adt.cfg here

Image

Is it ok to use adt.cfg or I should use AIR SDK Manager for this?

Do you think that the version 18.4 will solve this problem with the adverts ANE?

Thank you for your anwser.

premiumsB avatar Jun 13 '25 12:06 premiumsB

@premiumsB Uncertain whether it will resolve your issue, but I believe Google are using 18.4 for Admob currently so you definitely should be using that with your app and is highly likely it could cause issues using an older version.

marchbold avatar Jun 16 '25 23:06 marchbold

@marchbold Could I use the 18.5 to test or it's better to use 18.4 ?

premiumsB avatar Jun 18 '25 14:06 premiumsB

I would suggest 18.4 currently, but if you have 18.5 available can't hurt to try that first.

marchbold avatar Jun 19 '25 04:06 marchbold

@marchbold After updating my mac OS to Sequoia 15.5 and Xcode 16.4 I tried to use 18.4 or even 18.5 but my info.plist doesn't show more than 18.2 even if I put the right path with adt.cfg or AIR SDK manager. How do you guys or everybody else use 18.4?

Image

premiumsB avatar Jun 20 '25 13:06 premiumsB

@premiumsB I believe the value that AIR puts into Info.plist is still hard-coded to show whatever the AIR SDK itself was built with (where Harman is using 18.2), and it doesn't update the value in Info.plist to show what we use when packaging. I had asked about that a while back too (#3030). I don't know if there's any way to actually confirm that it's correctly using the iOS SDK you specify, unless maybe adt.log showing something?

FliplineStudios avatar Jun 20 '25 14:06 FliplineStudios

Yes, to clarify, if you're building on macOS then we use the Xcode and iPhoneOS SDK that you have installed there. The -platformsdk option confirms the SDK location but we recently made it default to pick up the iPhoneOS SDK that's identified via the xcrun build tools. On Windows, it uses the 'stubs' which can cause problems when running on older iOS versions, so there's also the option to use an iPhoneOS SDK on Windows via the LLVM linker (see release notes, configuration file details).

But the missing part (still) is that the entries that are put into Info.plist are just based on default constants that reflect the build environment that we have. This isn't ideal so we will look at having those reflecting the tools that were used, per the other ticket referenced above (I actually thought we'd done this but it looks like only a partial implementation in terms of using the details in the linker stage).

I don't know whether those Info.plist settings would affect the actual application behaviour though. If you check the build log and look for the "ld64 command line", it should have a -platform_version argument where you can see the platform, minimum SDK and build SDK values.

thanks

ajwfrost avatar Jun 21 '25 06:06 ajwfrost

@marchbold I uploaded 2 of my apps with Adverts ANE V16.1.0, Xcode 16.4 targeting iPhoneOS SDK 18.5 and I still have that libobjc.A.dylib error over and over.

Image

I have this error related to Adverts since the last 12 months and I would be really happy if I could find a solution.

premiumsB avatar Jun 26 '25 14:06 premiumsB

@premiumsB Can you replicate this issue on a real device at all? We haven't had any other reports of this with the Adverts extension.

marchbold avatar Jun 26 '25 22:06 marchbold

@premiumsB I’m seeing the same errors. I can’t reproduce the issue on my end, but I’m working on getting AirDiagnostics set up.

httpwebmedia avatar Jun 30 '25 06:06 httpwebmedia

@ajwfrost I updated our app to the next SDK 51.2.1.5 and able to generate ipasyms.bin file. We are still getting reports from users about the crashes and they look like this below:

EXC_BAD_ACCESS: Attempted to dereference null pointer.

0  EmpireFourKingdoms +0xe6bac  _mh_execute_header
1  EmpireFourKingdoms +0x8f164  _mh_execute_header
2  EmpireFourKingdoms +0x93d34  _mh_execute_header
3  EmpireFourKingdoms +0x94b2c  _mh_execute_header
4  EmpireFourKingdoms +0x9334c  _mh_execute_header
5  EmpireFourKingdoms +0x94dec  _mh_execute_header
6  EmpireFourKingdoms +0x9334c  _mh_execute_header
7  EmpireFourKingdoms +0x94dec  _mh_execute_header
8  EmpireFourKingdoms +0x9334c  _mh_execute_header
9  EmpireFourKingdoms +0x94dec  _mh_execute_header
10 EmpireFourKingdoms +0x9334c  _mh_execute_header
11 EmpireFourKingdoms +0x94dec  _mh_execute_header
12 EmpireFourKingdoms +0x9334c  _mh_execute_header
13 EmpireFourKingdoms +0x94dec  _mh_execute_header
14 EmpireFourKingdoms +0x9334c  _mh_execute_header
15 EmpireFourKingdoms +0x94dec  _mh_execute_header
16 EmpireFourKingdoms +0x9334c  _mh_execute_header
17 EmpireFourKingdoms +0x94dec  _mh_execute_header
18 EmpireFourKingdoms +0x9334c  _mh_execute_header
19 EmpireFourKingdoms +0x94dec  _mh_execute_header
20 EmpireFourKingdoms +0x9334c  _mh_execute_header
21 EmpireFourKingdoms +0x94dec  _mh_execute_header
22 EmpireFourKingdoms +0x9334c  _mh_execute_header
23 EmpireFourKingdoms +0x94dec  _mh_execute_header
24 EmpireFourKingdoms +0x9334c  _mh_execute_header
25 EmpireFourKingdoms +0x94dec  _mh_execute_header
26 EmpireFourKingdoms +0x9334c  _mh_execute_header
27 EmpireFourKingdoms +0x94dec  _mh_execute_header
28 EmpireFourKingdoms +0x9334c  _mh_execute_header
29 EmpireFourKingdoms +0x94dec  _mh_execute_header
30 EmpireFourKingdoms +0x9334c  _mh_execute_header
31 EmpireFourKingdoms +0x7b2c8  _mh_execute_header
32 EmpireFourKingdoms +0x7c2ec  _mh_execute_header
33 EmpireFourKingdoms +0x2d3270 _mh_execute_header
34 EmpireFourKingdoms +0x2d4140 _mh_execute_header
35 EmpireFourKingdoms +0x2d4088 _mh_execute_header
36 EmpireFourKingdoms +0x2d3a04 _mh_execute_header
37 EmpireFourKingdoms +0xcaa90  _mh_execute_header
38 EmpireFourKingdoms +0xd71ac  _mh_execute_header
39 EmpireFourKingdoms +0xd777c  _mh_execute_header
40 EmpireFourKingdoms +0x13d34  _mh_execute_header
41 QuartzCore +0x101cc          CA::Display::DisplayLinkItem::dispatch_(CA::SignPost::Interval<(CA::SignPost::CAEventCode)835322056>&)
42 QuartzCore +0xfdc4           CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long)
43 QuartzCore +0x10360          CA::Display::DisplayLink::dispatch_deferred_display_links(unsigned int)
44 UIKitCore +0x9400            __UIUpdateSequenceRun
45 UIKitCore +0x8ab0            _schedulerStepScheduledMainSection
46 UIKitCore +0x41e0            _runloopSourceCallback
47 CoreFoundation +0xfa88       ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
48 CoreFoundation +0xf8a0       ___CFRunLoopDoSource0
49 CoreFoundation +0xf6fc       ___CFRunLoopDoSources0
50 CoreFoundation +0x1007c      ___CFRunLoopRun
51 CoreFoundation +0x11c38      _CFRunLoopRunSpecific
52 GraphicsServices +0x1450     _GSEventRunModal
53 UIKitCore +0x135270          -[UIApplication _run]
54 UIKitCore +0x100a24          _UIApplicationMain
55 EmpireFourKingdoms +0xff7cc  _mh_execute_header

If I send you the dSYM and IPA symbol files, can you help figure out where the crash is happening and why?

udmv avatar Jul 03 '25 09:07 udmv