crash on iOS 15 - Release version

on iOS 15, my app crash on launch. in logs I can see:

Incident Identifier: 1491DCD1-A7C4-4613-A5B5-898060AE661E
CrashReporter Key:   d3d9d0a5caab4264ef20488104a0ba3a7d28b8c8
Hardware Model:      iPhone12,3
Process:             XXXX [3411]
Path:                /private/var/containers/Bundle/Application/CA9AE82A-138E-42F8-9236-1A2330F4A351/XXXX.app/XXXX
Identifier:          co.XXXX.app
Version:             2.0.9 (5853)
AppStoreTools:       12E262
AppVariant:          1:iPhone12,3:13
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           co.XXXX.app [874]

Date/Time:           2021-06-08 08:53:05.4547 -0400
Launch Time:         2021-06-08 08:53:04.5283 -0400
OS Version:          iPhone OS 15.0 (19A5261w)
Release Type:        Beta
Baseband Version:    2.50.04
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x00000001d4368478
VM Region Info: 0x1d4368478 is in 0x1d43682d8-0x1d4368b90;  bytes after start: 416  bytes before end: 1815
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      __DATA_CONST             1d4365050-1d43682d8 [   13K] r--/rw- SM=COW  ...AccessExpress
--->  __DATA_CONST             1d43682d8-1d4368b90 [  2232] r--/rw- SM=COW  ...ServicesStore
      __DATA_CONST             1d4368b90-1d43693f0 [  2144] r--/rw- SM=COW  ...CoreAnalytics
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL; [10]
Terminating Process: exc handler [3411]

Terminating Process: exc handler [3411]
Triggered by Thread:  0

Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   XXXX                          	       0x101c1b114 0x100d70000 + 15380756
1   XXXX                          	       0x101c1b0bc 0x100d70000 + 15380668
2   XXXX                          	       0x101c1ac2c 0x100d70000 + 15379500
3   dyld                          	       0x1028f588c invocation function for block in dyld4::APIs::_dyld_register_func_for_add_image(void (*)(mach_header const*, long)) + 168
4   dyld                          	       0x1028dd8a8 dyld4::RuntimeState::withLoadersReadLock(void () block_pointer) + 112
5   dyld                          	       0x1028f5784 dyld4::APIs::_dyld_register_func_for_add_image(void (*)(mach_header const*, long)) + 148
6   XXXX                          	       0x101c1b204 0x100d70000 + 15380996
7   XXXX                          	       0x101c1fabc 0x100d70000 + 15399612
8   dyld                          	       0x1028e7ff0 invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 164
9   dyld                          	       0x10290d8f4 invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 168
10  dyld                          	       0x102905dac invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 532
11  dyld                          	       0x102904d14 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 168
12  dyld                          	       0x102905b50 dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 192
13  dyld                          	       0x10290d21c dyld3::MachOAnalyzer::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, unsigned char const*, bool&) block_pointer) const + 148
14  dyld                          	       0x10290d51c dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 432
15  dyld                          	       0x1028e7f30 dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 172
16  dyld                          	       0x1028edac0 dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const + 44
17  dyld                          	       0x1028e80d4 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 208
18  dyld                          	       0x1028e81a0 dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 124
19  dyld                          	       0x1028d9d2c dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 2604
20  dyld                          	       0x1028d91fc start + 488

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

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

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


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000101def4d6   x2: 0x0000000000000003   x3: 0xfffffffffffffff3
    x4: 0x0000000000000000   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000b30
    x8: 0x0000000101c1e698   x9: 0x00000001d43682d8  x10: 0x0000000101c1e698  x11: 0x0000000000000001
   x12: 0x00000001d43682d8  x13: 0xcccccccccccccccd  x14: 0xfffffffffffffff6  x15: 0x0000000101def4f1
   x16: 0x00000001f2368730  x17: 0x0000000000000018  x18: 0x0000000000000000  x19: 0x000000016f088850
   x20: 0x0000000000000018  x21: 0x0000000000000006  x22: 0x0000000000000005  x23: 0x0000000000000001
   x24: 0x0000000212f5e08f  x25: 0x0000000000000034  x26: 0x000000028053c630  x27: 0x0000000000000004
   x28: 0x000000028372e3e0   fp: 0x000000016f088a00   lr: 0x0000000101c1b0bc
    sp: 0x000000016f0887e0   pc: 0x0000000101c1b114 cpsr: 0x20000000
   far: 0x00000001d4368478  esr: 0x9200004f (Data Abort) byte write Permission fault

Binary Images:
       0x100d70000 -        0x1020f3fff XXXX arm64  <67a7212f5f253269b6764138991f64f7> /private/var/containers/Bundle/Application/CA9AE82A-138E-42F8-9236-1A2330F4A351/XXXX.app/XXXX
       0x1028d8000 -        0x10292ffff dyld arm64e  <188e41f7793f37c3affd5945fd121f9d> /usr/lib/dyld
       0x1f236b000 -        0x1f2376fff libsystem_pthread.dylib arm64e  <2b538dc225053158a986ba0abcd7cf30> /usr/lib/system/libsystem_pthread.dylib
               0x0 - 0xffffffffffffffff ??? unknown-arch  <00000000000000000000000000000000> ???

EOF

Do you have an idea what happened?

No

Hi thierry@9h41 - did you get a resolution for this ? - seeing very similar issue with iOS15 public beta 8 with a production app

crash on iOS 15 - Release version
 
 
Q