urbanairship / ios-library

Urban Airship iOS SDK
http://urbanairship.com
Apache License 2.0
478 stars 265 forks source link

AirShip crash #352

Closed RNG-Tank closed 1 year ago

RNG-Tank commented 1 year ago

❗For how-to inquiries involving Airship functionality or use cases, please contact (support)[https://support.airship.com/].

Preliminary Info

What Airship dependencies are you using?

* Airship/Core * AirshipExtensions/NotificationService ### What are the versions of any relevant development tools you are using?

Report

Crashed: NSManagedObjectContext 0x283ce0680
0  libswiftCore.dylib             0x3b3ca0 swift::metadataimpl::ValueWitnesses<swift::metadataimpl::OpaqueExistentialBox<0u> >::initializeWithCopy(swift::OpaqueValue*, swift::OpaqueValue*, swift::TargetMetadata<swift::InProcess> const*) + 36
1  libswiftCore.dylib             0xbdfdc _SwiftDeferredNSDictionary.bridgeValues() + 568
2  libswiftCore.dylib             0x34582c specialized _SwiftDeferredNSDictionary.enumerateKeysAndObjects(options:using:) + 388
3  libswiftCore.dylib             0xbf0e4 @objc _SwiftDeferredNSDictionary.enumerateKeysAndObjects(options:using:) + 48
4  Foundation                     0xa5c54 +[_NSJSONReader validForJSON:depth:allowFragments:] + 200
5  Foundation                     0xd8b9c __51+[_NSJSONReader validForJSON:depth:allowFragments:]_block_invoke + 100
6  libswiftCore.dylib             0x3458e4 specialized _SwiftDeferredNSDictionary.enumerateKeysAndObjects(options:using:) + 572
7  libswiftCore.dylib             0xbf0e4 @objc _SwiftDeferredNSDictionary.enumerateKeysAndObjects(options:using:) + 48
8  Foundation                     0xa5c54 +[_NSJSONReader validForJSON:depth:allowFragments:] + 200
9  App                           0x14e1d10 specialized static JSONUtils.validateJSONObject(_:options:) + 48 (JSONUtils.swift:48)
10 App                           0x14e1e64 specialized static JSONUtils.data(_:options:) + 5471292 (<compiler-generated>:5471292)
11 App                           0x14c0c2c specialized EventStore.storeEvent(withID:eventType:eventTime:eventBody:sessionID:context:) + 5335556 (<compiler-generated>:5335556)
12 App                           0x14bf75c closure #1 in EventStore.save(_:eventID:eventDate:sessionID:) + 5330228 (<compiler-generated>:5330228)
13 App                           0x14c0988 partial apply for closure #1 in EventStore.save(_:eventID:eventDate:sessionID:) + 5334880 (<compiler-generated>:5334880)
14 App                           0x1611c6c closure #1 in UACoreData.safePerform(_:) + 89 (UACoreData.swift:89)
15 App                           0xf7ce4 thunk for @escaping @callee_guaranteed () -> () + 4369333476 (<compiler-generated>:4369333476)
16 CoreData                       0x1fe18 developerSubmittedBlockToNSManagedObjectContextPerform + 156
17 libdispatch.dylib              0x3a30 _dispatch_client_callout + 20
18 libdispatch.dylib              0xb124 _dispatch_lane_serial_drain + 668
19 libdispatch.dylib              0xbc80 _dispatch_lane_invoke + 392
20 libdispatch.dylib              0x16500 _dispatch_workloop_worker_thread + 648
21 libsystem_pthread.dylib        0x10bc _pthread_wqthread + 288
22 libsystem_pthread.dylib        0xe5c start_wqthread + 8

What unexpected behavior are you seeing?

What is the expected behavior?

What are the steps to reproduce the unexpected behavior?

Do you have logging for the issue?

rlepinski commented 1 year ago

Without any reproduction steps we most likely wont be able to fix it. Have you been able to replicate it since?