segmentio/analytics-ios

Crash in iOS app - Swift

ragu-pdx opened this issue · 0 comments

Receiving the following crash from some, but not all users. Unclear what is causing it since the crash is occurring on a background thread within the Segment library. App is running on latest iOS, application written in latest Swift, Cocoapods Analytics library install on 4.1.6 (latest).

Segment
-[SEGFileStorage dataFromJSON:] SEGFileStorage.m:232
Segment
-[SEGFileStorage setJSON:forKey:] SEGFileStorage.m:221
Segment
-[SEGSegmentIntegration persistQueue] SEGSegmentIntegration.m:477
Segment
-[SEGSegmentIntegration queuePayload:] SEGSegmentIntegration.m:314
Segment
-[SEGSegmentIntegration enqueueAction:dictionary:context:integrations:] SEGSegmentIntegration.m:303
Segment
__seg_dispatch_specific_block_invoke SEGUtils.m:494
libdispatch.dylib
_dispatch_call_block_and_release