Open idrees1378 opened 1 year ago
we are getting the following crash randomly on calling registerSuperProperties. we are calling this from main thread and right after mixpanel initialization. Any help would be appreciated.
Crashed: com.mixpanel.globallock EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x000000719e96b450
Crashed: com.mixpanel.globallock 0 libswiftCore.dylib 0x41e850 swift_unknownObjectRetain + 20 1 libswiftCore.dylib 0xe1640 String._bridgeToObjectiveCImpl() + 92 2 Foundation 0x29a400 protocol witness for _ObjectiveCBridgeable._bridgeToObjectiveC() in conformance String + 24 3 libswiftCore.dylib 0x3cd0d4 bridgeAnythingNonVerbatimToObjectiveC(swift::OpaqueValue, swift::TargetMetadata const, bool) + 352 4 libswiftCore.dylib 0x3cd208 bridgeAnythingNonVerbatimToObjectiveC(swift::OpaqueValue, swift::TargetMetadata const, bool) + 660 5 libswiftCore.dylib 0x3cd208 bridgeAnythingNonVerbatimToObjectiveC(swift::OpaqueValue, swift::TargetMetadata const, bool) + 660 6 libswiftCore.dylib 0xc8ad4 _SwiftDeferredNSDictionary.bridgeValues() + 720 7 libswiftCore.dylib 0xc931c SwiftDeferredNSDictionary.getObjects(:andKeys:count:) + 460 8 libswiftCore.dylib 0xd45c0 @objc SwiftDeferredNSDictionary.getObjects(:andKeys:count:) + 72 9 Foundation 0x16f70 -[NSDictionary(NSDictionary) encodeWithCoder:] + 228 10 Foundation 0x138e4 _encodeObject + 1188 11 Foundation 0xb6d38 +[NSKeyedArchiver archivedDataWithRootObject:] + 104 12 Mixpanel 0x3292c $s8Mixpanel0A11PersistenceC19saveSuperProperties05superE012instanceNameySDySSypG_SStFZTf4nnd_nTm + 276 13 Mixpanel 0x2a990 $s8Mixpanel0A8InstanceC23registerSuperPropertiesyySDySSAA0A4Type_pGFyycfU_yyXEfU0_Tm + 44 14 Mixpanel 0x2fd48 $s8Mixpanel0A8InstanceC23registerSuperPropertiesyySDySSAA0A4Type_pGFyycfU_yyXEfU0_TA + 16 15 Mixpanel 0x3ff74 $s8Mixpanel13ReadWriteLockC4read7closureyyyXEtFyyXEfU + 20 16 Mixpanel 0x2c61c $sIg_Ieg_TRTA + 20 17 Mixpanel 0x1fccc $sIeg_IyB_TR + 20 18 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20 19 libdispatch.dylib 0x13bc4 _dispatch_sync_invoke_and_complete + 56 20 Mixpanel 0x2a3a4 $s8Mixpanel0A8InstanceC23registerSuperPropertiesyySDySSAA0A4TypepGFyycfU + 588 21 Mixpanel 0x1f6e8 $sIeg_IeyB_TR + 28 22 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release + 32 23 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20 24 libdispatch.dylib 0xb694 _dispatch_lane_serial_drain + 672 25 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke + 384 26 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread + 652 27 libsystem_pthread.dylib 0xdf8 _pthread_wqthread + 288 28 libsystem_pthread.dylib 0xb98 start_wqthread + 8
we are getting the following crash randomly on calling registerSuperProperties. we are calling this from main thread and right after mixpanel initialization. Any help would be appreciated.
Crashed: com.mixpanel.globallock EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x000000719e96b450
Crashed: com.mixpanel.globallock 0 libswiftCore.dylib 0x41e850 swift_unknownObjectRetain + 20 1 libswiftCore.dylib 0xe1640 String._bridgeToObjectiveCImpl() + 92 2 Foundation 0x29a400 protocol witness for _ObjectiveCBridgeable._bridgeToObjectiveC() in conformance String + 24 3 libswiftCore.dylib 0x3cd0d4 bridgeAnythingNonVerbatimToObjectiveC(swift::OpaqueValue, swift::TargetMetadata const , bool) + 352
4 libswiftCore.dylib 0x3cd208 bridgeAnythingNonVerbatimToObjectiveC(swift::OpaqueValue, swift::TargetMetadata const , bool) + 660
5 libswiftCore.dylib 0x3cd208 bridgeAnythingNonVerbatimToObjectiveC(swift::OpaqueValue, swift::TargetMetadata const , bool) + 660
6 libswiftCore.dylib 0xc8ad4 _SwiftDeferredNSDictionary.bridgeValues() + 720
7 libswiftCore.dylib 0xc931c SwiftDeferredNSDictionary.getObjects(:andKeys:count:) + 460
8 libswiftCore.dylib 0xd45c0 @objc SwiftDeferredNSDictionary.getObjects(:andKeys:count:) + 72
9 Foundation 0x16f70 -[NSDictionary(NSDictionary) encodeWithCoder:] + 228
10 Foundation 0x138e4 _encodeObject + 1188
11 Foundation 0xb6d38 +[NSKeyedArchiver archivedDataWithRootObject:] + 104
12 Mixpanel 0x3292c $s8Mixpanel0A11PersistenceC19saveSuperProperties05superE012instanceNameySDySSypG_SStFZTf4nnd_nTm + 276
13 Mixpanel 0x2a990 $s8Mixpanel0A8InstanceC23registerSuperPropertiesyySDySSAA0A4Type_pGFyycfU_yyXEfU0_Tm + 44
14 Mixpanel 0x2fd48 $s8Mixpanel0A8InstanceC23registerSuperPropertiesyySDySSAA0A4Type_pGFyycfU_yyXEfU0_TA + 16
15 Mixpanel 0x3ff74 $s8Mixpanel13ReadWriteLockC4read7closureyyyXEtFyyXEfU + 20
16 Mixpanel 0x2c61c $sIg_Ieg_TRTA + 20
17 Mixpanel 0x1fccc $sIeg_IyB_TR + 20
18 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20
19 libdispatch.dylib 0x13bc4 _dispatch_sync_invoke_and_complete + 56
20 Mixpanel 0x2a3a4 $s8Mixpanel0A8InstanceC23registerSuperPropertiesyySDySSAA0A4TypepGFyycfU + 588
21 Mixpanel 0x1f6e8 $sIeg_IeyB_TR + 28
22 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release + 32
23 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20
24 libdispatch.dylib 0xb694 _dispatch_lane_serial_drain + 672
25 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke + 384
26 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread + 652
27 libsystem_pthread.dylib 0xdf8 _pthread_wqthread + 288
28 libsystem_pthread.dylib 0xb98 start_wqthread + 8