I experience iOS 15.1 crash on fresh install, first-time app launch, succeeding launch works fine. This is the watchdog termination but it only happens in iOS 15.1, tested in iOS 14.5 and it works fine.
Incident Identifier: EEAD5D80-C8AC-4FF1-A245-8956DD62ED39
CrashReporter Key: dea85e441a4e09723f530911d8fd5612c7e76d78
Hardware Model: iPhone14,5
Process: MyMobile [7689]
Path: /private/var/containers/Bundle/Application/6B047AD6-0883-4027-8C42-221FD7216EF7/MyMobile.app/MyMobile
Identifier: com.myapp.test
Version: 2.32.2-qat-xcode13.2.45.27 (20320022045027)
AppStoreTools: 13A1030d
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.myapp.test [1481]
Date/Time: 2021-11-03 13:22:18.2581 +0800
Launch Time: 2021-11-03 13:21:57.9972 +0800
OS Version: iPhone OS 15.1 (19B74)
Release Type: User
Baseband Version: 1.15.02
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: FRONTBOARD; [2343432205]
<RBSTerminateContext| domain:10 code:0x8BADF00D explanation:process-launch watchdog transgression: application<com.myapp.test>:7689 exhausted real (wall clock) time allowance of 20.00 seconds
ProcessVisibility: Foreground
ProcessState: Running
WatchdogEvent: process-launch
WatchdogVisibility: Foreground
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 23.390 (user 18.880, system 4.510), 19% CPU",
"Elapsed application CPU time (seconds): 2.047, 2% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x19901f79c copySwiftV1MangledName(char const*, bool) + 28
1 libobjc.A.dylib 0x19900977c getClassExceptSomeSwift(char const*) + 40
2 libobjc.A.dylib 0x19900977c getClassExceptSomeSwift(char const*) + 40
3 libobjc.A.dylib 0x19901ce1c addNamedClass(objc_class*, char const*, objc_class*) + 56
4 libobjc.A.dylib 0x19900f62c readClass(objc_class*, bool, bool) + 796
5 libobjc.A.dylib 0x19901051c map_images_nolock + 3080
6 libobjc.A.dylib 0x19901123c map_images + 88
7 dyld 0x105a76a18 invocation function for block in dyld4::RuntimeState::setObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) + 304
8 dyld 0x105a746f4 dyld4::RuntimeState::withLoadersReadLock(void () block_pointer) + 92
9 dyld 0x105a85934 dyld4::RuntimeState::setObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) + 104
10 dyld 0x105a7a5f8 dyld4::APIs::_dyld_objc_notify_register(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) + 96
11 libobjc.A.dylib 0x19900e360 _objc_init + 1424
12 libdispatch.dylib 0x180616974 _os_object_init + 24
13 libdispatch.dylib 0x180626148 libdispatch_init + 408
14 libSystem.B.dylib 0x1badb5918 libSystem_initializer + 208
15 dyld 0x105a78794 invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 164
16 dyld 0x105aac364 invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 340
17 dyld 0x105a76490 invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 532
18 dyld 0x105a75698 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 168
19 dyld 0x105a749f8 dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 192
20 dyld 0x105a81ebc dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 516
21 dyld 0x105a7ea10 dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 172
22 dyld 0x105a76184 dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const + 44
23 dyld 0x105a9fc3c dyld4::APIs::runAllInitializersForMain() + 48
24 dyld 0x105a8b3ac dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 2820
25 dyld 0x105a89a04 start + 488
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000108807040 x1: 0x0000000000000000 x2: 0x74970ed40a621fd8 x3: 0x0000000105a71010
x4: 0x0000000105aca360 x5: 0x0000000000000032 x6: 0x000000000000005d x7: 0x00000000000008f0
x8: 0x0000000000000074 x9: 0x5d09a775c05d0082 x10: 0x0000000000000024 x11: 0x0000000000000000
x12: 0x0000000000000037 x13: 0x0000000000000043 x14: 0x8b324400e5c5475f x15: 0x00007942656d614e
x16: 0x0000000105a712fc x17: 0x0000000105a71288 x18: 0x0000000000000000 x19: 0x0000000108807040
x20: 0x0000000108807040 x21: 0x0000000108807040 x22: 0x0000000000000000 x23: 0x0000000000000000
x24: 0x0000000000000000 x25: 0x000000010882ab88 x26: 0x00000001d7a82000 x27: 0x000000010882ab80
x28: 0x0000000000000006 fp: 0x000000016b1eefe0 lr: 0x183647819900977c
sp: 0x000000016b1eef90 pc: 0x000000019901f79c cpsr: 0x20000000
far: 0x00000001dc4aa2c0 esr: 0x56000080 Address size fault
Binary Images:
0x199004000 - 0x19903dfff libobjc.A.dylib arm64e <10fa90c6dfe538aeb3dc2251181cc272> /usr/lib/libobjc.A.dylib
0x105a70000 - 0x105ac7fff dyld arm64e <c21dba379df93fc7b286734030e18bb1> /usr/lib/dyld
0x180613000 - 0x180659fff libdispatch.dylib arm64e <a5cbaab3e3893548baacfab18411b94a> /usr/lib/system/libdispatch.dylib
0x1badb4000 - 0x1badb5fff libSystem.B.dylib arm64e <20df2268a0a933749caeebfce2a11134> /usr/lib/libSystem.B.dylib
EOF
We also do not encounter this crash in iOS 15.0.1. It takes less than 10 seconds for the app to launch but in iOS 15.1 it always takes 23 seconds before it gets killed by the watchdog. All of our old builds since August crash on first launch in iOS 15.1 only.
We also face this issue in iPAD, any solution to this issue.
AppStoreTools: 12E507 Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.xyz.abcd [487] OS Version: iPhone OS 15.1 (19B74) Release Type: User Baseband Version: 11.01.02 Report Version: 104 Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: FRONTBOARD; [2343432205] <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:process-launch watchdog transgression: application<com.xyz.abcd>:2001 exhausted real (wall clock) time allowance of 20.00 seconds ProcessVisibility: Foreground ProcessState: Running WatchdogEvent: process-launch WatchdogVisibility: Foreground WatchdogCPUStatistics: ( "Elapsed total CPU time (seconds): 31.230 (user 31.230, system 0.000), 74% CPU", "Elapsed application CPU time (seconds): 0.344, 1% CPU" ) reportType:CrashLog maxTerminationResistance:Interactive> Triggered by Thread: 0 Thread 0 Crashed: 0 dyld 0x104c51c68 __fcntl + 8 1 dyld 0x104c81288 `fcntl` + 84 2 dyld 0x104c51518 dyld4::SyscallDelegate::fcntl(int, int, void*) const + 28 3 dyld 0x104c618e0 dyld4::Loader::mapSegments(Diagnostics&, dyld4::RuntimeState&, char const*, unsigned long long, dyld4::Loader::CodeSignatureInFile const&, bool, dyld3::Array<dyld4::Loader::Region> const&, bool, bool, dyld4::Loader::FileValidationInfo const&) + 400 4 dyld 0x104c57ec0 invocation function for block in dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int) + 64 5 dyld 0x104c64a2c dyld4::JustInTimeLoader::withRegions(dyld3::MachOAnalyzer const*, void (dyld3::Array<dyld4::Loader::Region> const&) block_pointer) + 244 24 dyld 0x104c638e0 dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 244 25 dyld 0x104c592bc dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 876 26 dyld 0x104c58170 start + 412 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000001 x1: 0x0000000000000000 x2: 0x000000016b5a16d0 x3: 0x000000016b5a16d0 x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000 x8: 0x000000016b5a1530 x9: 0x000000016b5a1538 x10: 0x0000000000000003 x11: 0x0000000000000001 x12: 0x0000000000000001 x13: 0x0800000000018000 x14: 0x0000000000018000 x15: 0x005454412f707061 x16: 0x000000000000005c x17: 0x00000000000f63b0 x18: 0x0000000000000000 x19: 0x000000016b5a1550 x20: 0x0000000104988060 x21: 0x000000001f070008 x22: 0x0000000000000003 x23: 0x000000016b5a1bd8 x24: 0x000000016b5a15a0 x25: 0x0000000000000000 x26: 0x000000016b5a1a40 x27: 0x000000016b5a1b38 x28: 0x0000000000000001 fp: 0x000000016b5a1520 lr: 0x0000000104c81288 sp: 0x000000016b5a1510 pc: 0x0000000104c51c68 cpsr: 0x20000000 far: 0x0000000000000000 esr: 0x56000080 Address size fault Binary Images: 0x104c40000 - 0x104c93fff dyld arm64 <5e7ef5771cc5369aa04d28fbba883086> /usr/lib/dyld