Instabug/Instabug-iOS

iOS crash on IBGAppVersionFirstSeenManager.m line 65

haozhutw opened this issue · 3 comments

SDK Version

https://github.com/Instabug/Instabug-React-Native#snapshot-ios/10.9.2-INSD-5983

React Native, iOS and Android Versions

React Native: 0.61.5
iOS: 11 and above
Android: 5.0 and above

Device Model

iPhoneX iOS 14.8.0

Crash log

IBGAppVersionFirstSeenManager.m line 65
-[IBGAppVersionFirstSeenManager getCurrentAppVersionFirstSeenDate]


Crashed: NSManagedObjectContext 0x283a256c0
SIGSEGV 0x0000000a2f54eff0


Crashed: NSManagedObjectContext 0x283a256c0
0  libobjc.A.dylib                0x2154 objc_msgSend + 20
1  Instabug                       0x1aef4 -[IBGAppVersionFirstSeenManager getCurrentAppVersionFirstSeenDate] + 65 (IBGAppVersionFirstSeenManager.m:65)
2  Instabug                       0x266930 __63-[IBGSDKConditionsLoader usersAttributesWithCompletionHandler:]_block_invoke_2 + 112 (IBGSDKConditionsLoader.m:112)
3  Instabug                       0xb6068 __75-[IBGUserAttributesRepo userAttributesOfSource:userUUID:completionHandler:]_block_invoke + 284 (IBGUserAttributesRepo.m:284)
4  Instabug                       0x10e1e0 __69-[IBGDALService readASyncAfterCoreDataIntialization:completionBlock:]_block_invoke_3 + 204 (IBGDALService.m:204)
5  CoreData                       0x135f90 developerSubmittedBlockToNSManagedObjectContextPerform + 156
6  libdispatch.dylib              0x61298 _dispatch_client_callout + 16
7  libdispatch.dylib              0x3d344 _dispatch_lane_serial_drain$VARIANT$armv81 + 568
8  libdispatch.dylib              0x3de2c _dispatch_lane_invoke$VARIANT$armv81 + 400
9  libdispatch.dylib              0x4766c _dispatch_workloop_worker_thread + 692
10 libsystem_pthread.dylib        0xb5bc _pthread_wqthread + 272
11 libsystem_pthread.dylib        0xe86c start_wqthread + 8

@haozhutw the team is aware of this crash and a fix is being prepared, we'll update you when it's ready.

stale commented

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

This crash should be fixed on the latest version 👍