• Kasper Nielsen-Refs
  • NEWBIE
  • 0 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies

At our company we're using the embedded ServiceSDK for iOS (version 238.0.0) https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/servicesdk_ios_dev_guide.htm

After the release of iOS 15 we have seen a lot of crashes in the Xcode Organizer for iOS 15 similar to the one in the stack trace below. After investigating we tend to think this is happening during the new iOS 15 prewarm.

Documentation from Apple: https://developer.apple.com/documentation/uikit/app_and_environment/responding_to_the_launch_of_your_app/about_the_app_launch_sequence#3894431

 

If anyone has an idea of what could be done to fix this I'd very much like to hear about it.

Incident Identifier: 271E4C3E-E7ED-4C20-BE70-D2E749D181D8
Hardware Model:      iPhone12,1
Process:             [redacted] [990]
Path:                /private/var/containers/Bundle/Application/7AE6B709-FA88-4D0B-A83F-323CFD2ED40E/[redacted].app/[redacted] 
Identifier:          com.[redacted] 
Version:             2022.7.0 (11)
AppStoreTools:       13C90b
Code Type:           ARM-64 (Native)
Role:                unknown
Parent Process:      launchd [1]
Coalition:           com.[redacted]  [746]

Date/Time:           2022-05-18 14:30:01.3969 -0400
Launch Time:         2022-05-18 14:29:51.7742 -0400
OS Version:          iPhone OS 15.3.1 (19D52)
Release Type:        User
Baseband Version:    3.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.[redacted] >:990 exhausted CPU time allowance of 5.00 seconds
ProcessVisibility: Background
ProcessState: Running
WatchdogEvent: process-launch
WatchdogVisibility: Background
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 20.660 (user 20.660, system 0.000), 36% CPU",
"Elapsed application CPU time (seconds): 5.537, 10% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>

Triggered by Thread:  0


Thread 0 name:
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x00000001b8634d90 __open + 8
1   libsystem_kernel.dylib          0x00000001b8635174 open + 40 (open-base.c:101)
2   CoreFoundation                  0x00000001810c0070 _CFReadBytesFromFile + 180 (CFFileUtilities.c:96)
3   CoreFoundation                  0x00000001810882f4 CFURLCreateDataAndPropertiesFromResource + 316 (CFURLAccess.c:277)
4   CoreFoundation                  0x0000000181095b90 _CFBundleCopyInfoDictionaryInDirectoryWithVersion + 848 (CFBundle_InfoPlist.c:861)
5   CoreFoundation                  0x000000018106b7b0 _CFBundleRefreshInfoDictionaryAlreadyLocked + 144 (CFBundle_InfoPlist.c:1106)
6   CoreFoundation                  0x0000000181088194 CFBundleGetInfoDictionary + 52 (CFBundle_InfoPlist.c:1120)
7   CoreFoundation                  0x000000018109b9c8 _CFBundleCreate + 472 (CFBundle.c:903)
8   Foundation                      0x00000001828aac04 -[NSBundle _cfBundle] + 76 (NSBundle.m:181)
9   Foundation                      0x00000001828ed78c -[NSBundle infoDictionary] + 24 (NSBundle.m:1200)
10  Foundation                      0x00000001828d3b08 -[NSBundle bundleIdentifier] + 24 (NSBundle.m:1116)
11  Foundation                      0x000000018288cb1c -[NSObject(NSKeyValueCoding) valueForKey:] + 320 (NSKeyValueCoding.m:417)
12  Foundation                      0x00000001828c8ea4 -[NSFunctionExpression expressionValueWithObject:context:] + 1496 (NSFunctionExpression.m:378)
13  Foundation                      0x00000001828b29fc -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 216 (NSComparisonPredicate.m:299)
14  Foundation                      0x00000001828cfa20 _filterObjectsUsingPredicate + 264 (NSPredicateCategories.m:27)
15  Foundation                      0x00000001828b7f5c -[NSArray(NSPredicateSupport) filteredArrayUsingPredicate:] + 196 (NSPredicateCategories.m:44)
16  ServiceCore                     0x000000010760b4a0 initialize_framework_bundles + 204
17  dyld                            0x0000000101740794 ___ZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateE_block_invoke + 164 (Loader.cpp:1273)
18  dyld                            0x0000000101774510 ___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.310 + 168 (MachOAnalyzer.cpp:3182)
19  dyld                            0x000000010173e428 ___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke + 532 (MachOFile.cpp:1302)
20  dyld                            0x000000010173d678 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 168 (MachOFile.cpp:929)
21  dyld                            0x000000010173c9d0 dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 192 (MachOFile.cpp:1261)
22  dyld                            0x0000000101774098 dyld3::MachOAnalyzer::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, unsigned char const*, bool&) block_pointer) const + 148 (MachOAnalyzer.cpp:3086)
23  dyld                            0x0000000101749dc0 dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 432 (MachOAnalyzer.cpp:3171)
24  dyld                            0x0000000101746968 dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 172 (Loader.cpp:1265)
25  dyld                            0x0000000101742344 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 208 (Loader.cpp:1305)
26  dyld                            0x0000000101742320 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 172 (Loader.cpp:1296)
27  dyld                            0x00000001017484b0 dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 124 (Loader.cpp:1315)
28  dyld                            0x0000000101768124 dyld4::APIs::runAllInitializersForMain() + 320 (DyldAPIs.cpp:3391)
29  dyld                            0x0000000101753508 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3024 (dyldMain.cpp:738)
30  dyld                            0x0000000101751a84 start + 488 (dyldMain.cpp:864)

At our company we're using the embedded ServiceSDK for iOS (version 238.0.0) https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/servicesdk_ios_dev_guide.htm

After the release of iOS 15 we have seen a lot of crashes in the Xcode Organizer for iOS 15 similar to the one in the stack trace below. After investigating we tend to think this is happening during the new iOS 15 prewarm.

Documentation from Apple: https://developer.apple.com/documentation/uikit/app_and_environment/responding_to_the_launch_of_your_app/about_the_app_launch_sequence#3894431

 

If anyone has an idea of what could be done to fix this I'd very much like to hear about it.

Incident Identifier: 271E4C3E-E7ED-4C20-BE70-D2E749D181D8
Hardware Model:      iPhone12,1
Process:             [redacted] [990]
Path:                /private/var/containers/Bundle/Application/7AE6B709-FA88-4D0B-A83F-323CFD2ED40E/[redacted].app/[redacted] 
Identifier:          com.[redacted] 
Version:             2022.7.0 (11)
AppStoreTools:       13C90b
Code Type:           ARM-64 (Native)
Role:                unknown
Parent Process:      launchd [1]
Coalition:           com.[redacted]  [746]

Date/Time:           2022-05-18 14:30:01.3969 -0400
Launch Time:         2022-05-18 14:29:51.7742 -0400
OS Version:          iPhone OS 15.3.1 (19D52)
Release Type:        User
Baseband Version:    3.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.[redacted] >:990 exhausted CPU time allowance of 5.00 seconds
ProcessVisibility: Background
ProcessState: Running
WatchdogEvent: process-launch
WatchdogVisibility: Background
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 20.660 (user 20.660, system 0.000), 36% CPU",
"Elapsed application CPU time (seconds): 5.537, 10% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>

Triggered by Thread:  0


Thread 0 name:
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x00000001b8634d90 __open + 8
1   libsystem_kernel.dylib          0x00000001b8635174 open + 40 (open-base.c:101)
2   CoreFoundation                  0x00000001810c0070 _CFReadBytesFromFile + 180 (CFFileUtilities.c:96)
3   CoreFoundation                  0x00000001810882f4 CFURLCreateDataAndPropertiesFromResource + 316 (CFURLAccess.c:277)
4   CoreFoundation                  0x0000000181095b90 _CFBundleCopyInfoDictionaryInDirectoryWithVersion + 848 (CFBundle_InfoPlist.c:861)
5   CoreFoundation                  0x000000018106b7b0 _CFBundleRefreshInfoDictionaryAlreadyLocked + 144 (CFBundle_InfoPlist.c:1106)
6   CoreFoundation                  0x0000000181088194 CFBundleGetInfoDictionary + 52 (CFBundle_InfoPlist.c:1120)
7   CoreFoundation                  0x000000018109b9c8 _CFBundleCreate + 472 (CFBundle.c:903)
8   Foundation                      0x00000001828aac04 -[NSBundle _cfBundle] + 76 (NSBundle.m:181)
9   Foundation                      0x00000001828ed78c -[NSBundle infoDictionary] + 24 (NSBundle.m:1200)
10  Foundation                      0x00000001828d3b08 -[NSBundle bundleIdentifier] + 24 (NSBundle.m:1116)
11  Foundation                      0x000000018288cb1c -[NSObject(NSKeyValueCoding) valueForKey:] + 320 (NSKeyValueCoding.m:417)
12  Foundation                      0x00000001828c8ea4 -[NSFunctionExpression expressionValueWithObject:context:] + 1496 (NSFunctionExpression.m:378)
13  Foundation                      0x00000001828b29fc -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 216 (NSComparisonPredicate.m:299)
14  Foundation                      0x00000001828cfa20 _filterObjectsUsingPredicate + 264 (NSPredicateCategories.m:27)
15  Foundation                      0x00000001828b7f5c -[NSArray(NSPredicateSupport) filteredArrayUsingPredicate:] + 196 (NSPredicateCategories.m:44)
16  ServiceCore                     0x000000010760b4a0 initialize_framework_bundles + 204
17  dyld                            0x0000000101740794 ___ZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateE_block_invoke + 164 (Loader.cpp:1273)
18  dyld                            0x0000000101774510 ___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.310 + 168 (MachOAnalyzer.cpp:3182)
19  dyld                            0x000000010173e428 ___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke + 532 (MachOFile.cpp:1302)
20  dyld                            0x000000010173d678 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 168 (MachOFile.cpp:929)
21  dyld                            0x000000010173c9d0 dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 192 (MachOFile.cpp:1261)
22  dyld                            0x0000000101774098 dyld3::MachOAnalyzer::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, unsigned char const*, bool&) block_pointer) const + 148 (MachOAnalyzer.cpp:3086)
23  dyld                            0x0000000101749dc0 dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 432 (MachOAnalyzer.cpp:3171)
24  dyld                            0x0000000101746968 dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 172 (Loader.cpp:1265)
25  dyld                            0x0000000101742344 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 208 (Loader.cpp:1305)
26  dyld                            0x0000000101742320 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 172 (Loader.cpp:1296)
27  dyld                            0x00000001017484b0 dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 124 (Loader.cpp:1315)
28  dyld                            0x0000000101768124 dyld4::APIs::runAllInitializersForMain() + 320 (DyldAPIs.cpp:3391)
29  dyld                            0x0000000101753508 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3024 (dyldMain.cpp:738)
30  dyld                            0x0000000101751a84 start + 488 (dyldMain.cpp:864)

At our company we're using the embedded ServiceSDK for iOS (version 238.0.0) https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/servicesdk_ios_dev_guide.htm

After the release of iOS 15 we have seen a lot of crashes in the Xcode Organizer for iOS 15 similar to the one in the stack trace below. After investigating we tend to think this is happening during the new iOS 15 prewarm.

Documentation from Apple: https://developer.apple.com/documentation/uikit/app_and_environment/responding_to_the_launch_of_your_app/about_the_app_launch_sequence#3894431

 

If anyone has an idea of what could be done to fix this I'd very much like to hear about it.

Incident Identifier: 271E4C3E-E7ED-4C20-BE70-D2E749D181D8
Hardware Model:      iPhone12,1
Process:             [redacted] [990]
Path:                /private/var/containers/Bundle/Application/7AE6B709-FA88-4D0B-A83F-323CFD2ED40E/[redacted].app/[redacted] 
Identifier:          com.[redacted] 
Version:             2022.7.0 (11)
AppStoreTools:       13C90b
Code Type:           ARM-64 (Native)
Role:                unknown
Parent Process:      launchd [1]
Coalition:           com.[redacted]  [746]

Date/Time:           2022-05-18 14:30:01.3969 -0400
Launch Time:         2022-05-18 14:29:51.7742 -0400
OS Version:          iPhone OS 15.3.1 (19D52)
Release Type:        User
Baseband Version:    3.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.[redacted] >:990 exhausted CPU time allowance of 5.00 seconds
ProcessVisibility: Background
ProcessState: Running
WatchdogEvent: process-launch
WatchdogVisibility: Background
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 20.660 (user 20.660, system 0.000), 36% CPU",
"Elapsed application CPU time (seconds): 5.537, 10% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>

Triggered by Thread:  0


Thread 0 name:
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x00000001b8634d90 __open + 8
1   libsystem_kernel.dylib          0x00000001b8635174 open + 40 (open-base.c:101)
2   CoreFoundation                  0x00000001810c0070 _CFReadBytesFromFile + 180 (CFFileUtilities.c:96)
3   CoreFoundation                  0x00000001810882f4 CFURLCreateDataAndPropertiesFromResource + 316 (CFURLAccess.c:277)
4   CoreFoundation                  0x0000000181095b90 _CFBundleCopyInfoDictionaryInDirectoryWithVersion + 848 (CFBundle_InfoPlist.c:861)
5   CoreFoundation                  0x000000018106b7b0 _CFBundleRefreshInfoDictionaryAlreadyLocked + 144 (CFBundle_InfoPlist.c:1106)
6   CoreFoundation                  0x0000000181088194 CFBundleGetInfoDictionary + 52 (CFBundle_InfoPlist.c:1120)
7   CoreFoundation                  0x000000018109b9c8 _CFBundleCreate + 472 (CFBundle.c:903)
8   Foundation                      0x00000001828aac04 -[NSBundle _cfBundle] + 76 (NSBundle.m:181)
9   Foundation                      0x00000001828ed78c -[NSBundle infoDictionary] + 24 (NSBundle.m:1200)
10  Foundation                      0x00000001828d3b08 -[NSBundle bundleIdentifier] + 24 (NSBundle.m:1116)
11  Foundation                      0x000000018288cb1c -[NSObject(NSKeyValueCoding) valueForKey:] + 320 (NSKeyValueCoding.m:417)
12  Foundation                      0x00000001828c8ea4 -[NSFunctionExpression expressionValueWithObject:context:] + 1496 (NSFunctionExpression.m:378)
13  Foundation                      0x00000001828b29fc -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 216 (NSComparisonPredicate.m:299)
14  Foundation                      0x00000001828cfa20 _filterObjectsUsingPredicate + 264 (NSPredicateCategories.m:27)
15  Foundation                      0x00000001828b7f5c -[NSArray(NSPredicateSupport) filteredArrayUsingPredicate:] + 196 (NSPredicateCategories.m:44)
16  ServiceCore                     0x000000010760b4a0 initialize_framework_bundles + 204
17  dyld                            0x0000000101740794 ___ZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateE_block_invoke + 164 (Loader.cpp:1273)
18  dyld                            0x0000000101774510 ___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.310 + 168 (MachOAnalyzer.cpp:3182)
19  dyld                            0x000000010173e428 ___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke + 532 (MachOFile.cpp:1302)
20  dyld                            0x000000010173d678 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 168 (MachOFile.cpp:929)
21  dyld                            0x000000010173c9d0 dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 192 (MachOFile.cpp:1261)
22  dyld                            0x0000000101774098 dyld3::MachOAnalyzer::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, unsigned char const*, bool&) block_pointer) const + 148 (MachOAnalyzer.cpp:3086)
23  dyld                            0x0000000101749dc0 dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 432 (MachOAnalyzer.cpp:3171)
24  dyld                            0x0000000101746968 dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 172 (Loader.cpp:1265)
25  dyld                            0x0000000101742344 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 208 (Loader.cpp:1305)
26  dyld                            0x0000000101742320 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 172 (Loader.cpp:1296)
27  dyld                            0x00000001017484b0 dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 124 (Loader.cpp:1315)
28  dyld                            0x0000000101768124 dyld4::APIs::runAllInitializersForMain() + 320 (DyldAPIs.cpp:3391)
29  dyld                            0x0000000101753508 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3024 (dyldMain.cpp:738)
30  dyld                            0x0000000101751a84 start + 488 (dyldMain.cpp:864)