TelemetryDeck / SwiftSDK

Swift SDK for TelemetryDeck, a privacy-conscious analytics service for apps and websites.
https://telemetrydeck.com/
Other
149 stars 30 forks source link

Runtime crash in `SignalManager.checkForSignalsAndSend()` #83

Closed andreyz closed 1 year ago

andreyz commented 1 year ago

AppStore released app is getting 6-12 crashes per day originating from TelemetryClient codebase. The app is using TelemetryClient v1.3.0.

#0  (null) in __pthread_kill ()
#1  (null) in pthread_kill ()
#2  (null) in abort ()
#3  (null) in swift::fatalErrorv(unsigned int, char const*, char*) ()
#4  (null) in swift::fatalError(unsigned int, char const*, ...) ()
#5  (null) in swift::swift_abortRetainUnowned(void const*) ()
#6  (null) in swift_unownedRetainStrong ()
#7  0x0000000104c12620 in closure #1 in SignalManager.checkForSignalsAndSend() at [...]SwiftClient/Sources/TelemetryClient/SignalManager.swift:129
#8  (null) in thunk for @escaping @callee_guaranteed @Sendable (@guaranteed Data?, @guaranteed NSURLResponse?, @guaranteed Error?) -> () ()
#9  (null) in __40-[__NSURLSessionLocal taskForClassInfo:]_block_invoke ()
#10 (null) in __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke_2 ()
#11 (null) in _dispatch_call_block_and_release ()
#12 (null) in _dispatch_client_callout ()
#13 (null) in _dispatch_lane_serial_drain ()
#14 (null) in _dispatch_lane_invoke ()
#15 (null) in _dispatch_workloop_worker_thread ()
#16 (null) in _pthread_wqthread ()
#17 (null) in start_wqthread ()
winsmith commented 1 year ago

oooh thanks for reporting this! I'll have a look!