dd-sdk-ios
dd-sdk-ios copied to clipboard
Crash on ` DataUploader.upload(events:context:)`
Stack trace
com.datadoghq.ios-sdk-logging-upload
0 libsystem_kernel.dylib 0x1154 semaphore_wait_trap + 8
1 libdispatch.dylib 0x489c _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x4f4c _dispatch_semaphore_wait_slow + 132
3 libswiftDispatch.dylib 0x115f8 OS_dispatch_semaphore.wait(wallTimeout:) + 24
4 REDACTED 0x15a960 DataUploader.upload(events:context:) + 54 (DataUploader.swift:54)
5 REDACTED 0x1590e4 closure #1 in DataUploadWorker.uploadFile(from:context:) + 115 (DataUploadWorker.swift:115)
6 REDACTED 0x1582d4 thunk for @escaping @callee_guaranteed () -> () + 4370006740 (<compiler-generated>:4370006740)
7 libdispatch.dylib 0x13250 _dispatch_block_async_invoke2 + 148
8 libdispatch.dylib 0x4300 _dispatch_client_callout + 20
9 libdispatch.dylib 0xb894 _dispatch_lane_serial_drain + 748
10 libdispatch.dylib 0xc3f8 _dispatch_lane_invoke + 432
11 libdispatch.dylib 0x17004 _dispatch_root_queue_drain_deferred_wlh + 288
12 libdispatch.dylib 0x16878 _dispatch_workloop_worker_thread + 404
13 libsystem_pthread.dylib 0x1964 _pthread_wqthread + 288
14 libsystem_pthread.dylib 0x1a04 start_wqthread + 8
Reproduction steps
No response
Volume
0.001
Affected SDK versions
2.11.0
Latest working SDK version
2.11.0
Does the crash manifest in the latest SDK version?
Yes
Deployment Target
iOS 15
Device Information
- iPhone 15 Pro Max, iOS 17.1.0
- iPhone 15 Pro, iOS 17.1.1
- ...
Other relevant information
No response
Hi @michalsrutek 👋
The stack trace only shows the com.datadoghq.ios-sdk-logging-upload thread waiting for the next upload phase. I'm not sure this is the actual path to the crash, are you sure this is the Crashed thread? What's the actual exception?
Thanks!
Closing due to inactivity. Like @maxep said, this doesn't seem related to dd-sdk-ios. It is perfectly fine to see our SDK stack frames in threads not impacted by the crash.
@michalsrutek If this is crashing thread, please respond with more context (notably the exception code) so we can investigate the problem.