App is killed by watchdog while App starts
Opened this issue · 7 comments
mr-grey commented
Platform
iOS
Environment
Develop
Installed
CocoaPods
Version
pod 'Sentry', (8.22.4)
Xcode Version
Version 15.3 (15E204a)
Did it work on previous versions?
YES
Steps to Reproduce
start app without internet connection.
1 from 10 starts will be crashed .
Expected Result
no crash
Actual Result
xception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: FRONTBOARD 2343432205
<RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-create watchdog transgression: app<com.MyApp(A69909F9-A4D0-4AB2-B8B1-5B8F35B39ACB)>:79529 exhausted real (wall clock) time allowance of 18.78 seconds
ProcessVisibility: Foreground
ProcessState: Running
WatchdogEvent: scene-create
WatchdogVisibility: Foreground
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 15.200 (user 9.200, system 6.000), 13% CPU",
"Elapsed application CPU time (seconds): 0.315, 0% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x1e35b4c58 __ulock_wait + 8
1 libsystem_platform.dylib 0x205a5d2dc _os_unfair_lock_lock_slow + 176
2 libobjc.A.dylib 0x194490498 objc_sync_enter + 20
3 Sentry 0x1078f0a68 +[SentrySDK options] + 36
4 Sentry 0x107892374 -[SentryDependencyContainer crashReporter] + 124
5 Sentry 0x10788cf50 __32-[SentryCrashWrapper systemInfo]_block_invoke + 56
6 libdispatch.dylib 0x1a4065300 _dispatch_client_callout + 20
7 libdispatch.dylib 0x1a4066b3c _dispatch_once_callout + 32
8 Sentry 0x10788cef0 -[SentryCrashWrapper systemInfo] + 88
9 Sentry 0x10788d164 -[SentryCrashWrapper enrichScope:] + 196
10 Sentry 0x1078adb24 -[SentryHub initWithClient:andScope:] + 428
11 Sentry 0x1078f1338 +[SentrySDK startWithOptions:] + 1092
12 Sentry 0x1078f19e4 +[SentrySDK startWithConfigureOptions:] + 112
13 MyApp 0x102ee46d0 SentryAppService.application(_:didFinishLaunchingWithOptions:) + 292
14 MyApp 0x102ee4a20 @objc SentryAppService.application(_:didFinishLaunchingWithOptions:) + 196
15 EBSPluggableAppDelegate 0x1050e04c0 partial apply + 32
16 EBSPluggableAppDelegate 0x1050e0030 thunk for @escaping @callee_guaranteed (@unowned UIApplication, @unowned NSDictionary?) -> (@unowned Bool) + 188
17 EBSPluggableAppDelegate 0x1050e03ac PluggableApplicationDelegate.application(_:didFinishLaunchingWithOptions:) + 520
18 EBSPluggableAppDelegate 0x1050e05d8 @objc PluggableApplicationDelegate.application(_:didFinishLaunchingWithOptions:) + 196
19 UIKitCore 0x19e4dd0c0 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 320
20 UIKitCore 0x19e4dc228 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 2856
21 UIKitCore 0x19e4db20c -[UIApplication _runWithMainScene:transitionContext:completion:] + 856
22 UIKitCore 0x19e4dae84 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 176
23 UIKitCore 0x19e4dadb4 -[UIApplication _compellApplicationLaunchToCompleteUnconditionally] + 48
24 UIKitCore 0x19e4f8270 -[UIApplication _run] + 852
25 UIKitCore 0x19e4f78d0 UIApplicationMain + 340
26 MyApp 0x102947834 main + 64
27 dyld 0x1beb2edcc start + 2240
Thread 1 name: Dispatch queue: com.apple.root.default-qos
Thread 1:
0 libsystem_kernel.dylib 0x1e35b4c58 __ulock_wait + 8
1 libdispatch.dylib 0x1a4065cf0 _dlock_wait + 56
2 libdispatch.dylib 0x1a4065aa4 _dispatch_thread_event_wait_slow + 56
3 libdispatch.dylib 0x1a40749a0 __DISPATCH_WAIT_FOR_QUEUE__ + 368
4 libdispatch.dylib 0x1a407454c _dispatch_sync_f_slow + 148
5 MyApp 0x1032cb7dc __44+[FIRIAMActionURLFollower actionURLFollower]_block_invoke + 1048
6 libdispatch.dylib 0x1a4065300 _dispatch_client_callout + 20
7 libdispatch.dylib 0x1a4066b3c _dispatch_once_callout + 32
8 MyApp 0x1032cb39c +[FIRIAMActionURLFollower actionURLFollower] + 88
9 MyApp 0x1032cd9d0 -[FIRIAMRuntimeManager internalStartRuntimeWithSDKSettings:] + 2048
10 MyApp 0x1032cd1c4 __52-[FIRIAMRuntimeManager startRuntimeWithSDKSettings:]_block_invoke + 44
11 libdispatch.dylib 0x1a40636a8 _dispatch_call_block_and_release + 32
12 libdispatch.dylib 0x1a4065300 _dispatch_client_callout + 20
13 libdispatch.dylib 0x1a406844c _dispatch_queue_override_invoke + 928
14 libdispatch.dylib 0x1a4076be4 _dispatch_root_queue_drain + 392
15 libdispatch.dylib 0x1a40773ec _dispatch_worker_thread2 + 156
16 libsystem_pthread.dylib 0x205b05928 _pthread_wqthread + 228
17 libsystem_pthread.dylib 0x205b05a04 start_wqthread + 8
Thread 2 name: Dispatch queue: com.apple.NSURLSession-delegate
Thread 2:
0 libsystem_kernel.dylib 0x1e35b4c58 __ulock_wait + 8
1 libdispatch.dylib 0x1a4065cf0 _dlock_wait + 56
2 libdispatch.dylib 0x1a4065c20 _dispatch_once_wait + 112
3 Sentry 0x10788cef0 -[SentryCrashWrapper systemInfo] + 88
4 Sentry 0x10788d164 -[SentryCrashWrapper enrichScope:] + 196
5 Sentry 0x1078adb24 -[SentryHub initWithClient:andScope:] + 428
6 Sentry 0x1078f09cc +[SentrySDK currentHub] + 104
7 Sentry 0x1078e60ec __68-[SentryRequestOperation initWithSession:request:completionHandler:]_block_invoke + 396
8 MyApp 0x1030ec2d8 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke_2 + 252
9 MyApp 0x1030ec2d8 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke_2 + 252
10 CFNetwork 0x19d1867b4 0x19d177000 + 63412
11 CFNetwork 0x19d1a46d0 0x19d177000 + 186064
12 libdispatch.dylib 0x1a40636a8 _dispatch_call_block_and_release + 32
13 libdispatch.dylib 0x1a4065300 _dispatch_client_callout + 20
14 libdispatch.dylib 0x1a406c894 _dispatch_lane_serial_drain + 748
15 libdispatch.dylib 0x1a406d3f8 _dispatch_lane_invoke + 432
16 libdispatch.dylib 0x1a4078004 _dispatch_root_queue_drain_deferred_wlh + 288
17 libdispatch.dylib 0x1a4077878 _dispatch_workloop_worker_thread + 404
18 libsystem_pthread.dylib 0x205b05964 _pthread_wqthread + 288
19 libsystem_pthread.dylib 0x205b05a04 start_wqthread + 8
Thread 3:
0 libsystem_pthread.dylib 0x205b059fc start_wqthread + 0
Thread 4 name: com.apple.uikit.eventfetch-thread
Thread 4:
0 libsystem_kernel.dylib 0x1e35b41d8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1e35b3f70 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1e35b3e88 mach_msg_overwrite + 436
3 libsystem_kernel.dylib 0x1e35b3cc8 mach_msg + 24
4 CoreFoundation 0x19c0ddd0c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x19c0dbc04 __CFRunLoopRun + 1208
6 CoreFoundation 0x19c0db668 CFRunLoopRunSpecific + 608
7 Foundation 0x19b07454c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8 Foundation 0x19b0a227c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9 UIKitCore 0x19e459fa8 -[UIEventFetcher threadMain] + 420
10 Foundation 0x19b0f9184 __NSThread__start__ + 732
11 libsystem_pthread.dylib 0x205b064d4 _pthread_start + 136
12 libsystem_pthread.dylib 0x205b05a10 thread_start + 8
Thread 5 name: com.google.firebase.crashlytics.MachExceptionServer
Thread 5:
0 libsystem_kernel.dylib 0x1e35b41d8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1e35b3f70 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1e35b3e88 mach_msg_overwrite + 436
3 libsystem_kernel.dylib 0x1e35b3cc8 mach_msg + 24
4 MyApp 0x1032fbefc FIRCLSMachExceptionReadMessage + 80
5 MyApp 0x1032fbe34 FIRCLSMachExceptionServer + 52
6 libsystem_pthread.dylib 0x205b064d4 _pthread_start + 136
7 libsystem_pthread.dylib 0x205b05a10 thread_start + 8
Thread 6:
0 libsystem_pthread.dylib 0x205b059fc start_wqthread + 0
Thread 7:
0 libsystem_pthread.dylib 0x205b059fc start_wqthread + 0
Thread 8 name: KSCrash Exception Handler (Secondary)
Thread 8:
0 libsystem_kernel.dylib 0x1e35b41d8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1e35b3f70 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1e35b8778 thread_suspend + 112
3 SmartlookCrashReports 0x106c80f6c slksmachexc_i_handleExceptions + 100
4 libsystem_pthread.dylib 0x205b064d4 _pthread_start + 136
5 libsystem_pthread.dylib 0x205b05a10 thread_start + 8
Thread 9 name: KSCrash Exception Handler (Primary)
Thread 9:
0 libsystem_kernel.dylib 0x1e35b41d8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1e35b3f70 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1e35b3e88 mach_msg_overwrite + 436
3 libsystem_kernel.dylib 0x1e35b3cc8 mach_msg + 24
4 SmartlookCrashReports 0x106c80fa0 slksmachexc_i_handleExceptions + 152
5 libsystem_pthread.dylib 0x205b064d4 _pthread_start + 136
6 libsystem_pthread.dylib 0x205b05a10 thread_start + 8
Thread 10 name: com.apple.CFNetwork.CustomProtocols
Thread 10:
0 libsystem_kernel.dylib 0x1e35b41d8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1e35b3f70 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1e35b3e88 mach_msg_overwrite + 436
3 libsystem_kernel.dylib 0x1e35b3cc8 mach_msg + 24
4 CoreFoundation 0x19c0ddd0c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x19c0dbc04 __CFRunLoopRun + 1208
6 CoreFoundation 0x19c0db668 CFRunLoopRunSpecific + 608
7 CFNetwork 0x19d3cf780 0x19d177000 + 2459520
8 Foundation 0x19b0f9184 __NSThread__start__ + 732
9 libsystem_pthread.dylib 0x205b064d4 _pthread_start + 136
10 libsystem_pthread.dylib 0x205b05a10 thread_start + 8
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0xfffffffffffffffc x1: 0x0000000000000000 x2: 0x0000000000001102 x3: 0x0000000000000000
x4: 0x0000000000000004 x5: 0x0000000000002940 x6: 0x0000000000000011 x7: 0x0000000000000340
x8: 0x0000000000001102 x9: 0x0000000000001103 x10: 0x0000000283da72a0 x11: 0x0000000000000002
x12: 0x0000000281ae13e0 x13: 0x0000000000000000 x14: 0x00000001079c4b18 x15: 0x00000001079c4b18
x16: 0x0000000000000203 x17: 0x8000000280fe4284 x18: 0x0000000000000000 x19: 0x0000000000000103
x20: 0x0000000000000000 x21: 0x0000000108d05358 x22: 0x0000000001000002 x23: 0x0000000000001102
x24: 0x0000000000000000 x25: 0x00000000ffffffff x26: 0x0000000000000103 x27: 0x000000002b870064
x28: 0x0000000000000018 fp: 0x000000016d58a6b0 lr: 0x0000000205a5d2dc
sp: 0x000000016d58a670 pc: 0x00000001e35b4c58 cpsr: 0x40001000
far: 0x0000000000000000 esr: 0x56000080 Address size fault
Are you willing to submit a PR?
No response
kahest commented
mr-grey commented
brustolin commented
pod 'Sentry', '~> 8.26.0' Have another crash
@armcknight Can you take a look at this?
armcknight commented
mr-grey commented
using 8.26.0, crash not observed for same repro steps .