-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on Line [AMPDatabaseHelper inDatabaseWithStatement:block:]_block_invoke #275
Comments
Can any one please look into this issue. The crashes are increasing daily. |
Thanks for the report, will look into this. Is there any more context you could provide us?
|
This is happening for us in the tens of thousands. No specific devices/OS versions, here's a non exhaustive list:
Not feasible to upgrade to latest version of Amplitude, since it was causing a lot of crashes earlier this year. |
Is anybody looking into this issue? We are getting these crashes after initialising Amplitude. Below is the crash logs, Crashed: com.amplitude.db.queue |
@caffieneToCode @Swapnil-Gunla |
We have a related issue here. #171 |
We are also seeing this in our app, directly after initializing amplitude: @yuhao900914 our app has iOS 14 as deployment target, so it can't be related to iOS 12. |
@Bersaelor Can you provide the full crash report? It will help us investigate this issue. Thanks. |
below is the symbolicated crash log that @Bersaelor is referring to. hope this helps.
|
We are experiencing the same issue. @yuhao900914 Is there any suggestion on how to fix it? If needed, I can provide crash reports as well. However, from what I see, they are mostly the same as @ekurutepe shared. Crashes are happening on version 8.3.0. |
Hi, @okalentiev. |
@yuhao900914 Thanks a lot for the update! Will keep and eye on the releases. |
We have integrated Amplitude iOS SDK (5.0.0) in our Objective-C iOS app. We are getting sudden spike in crashes for production users. Please see following crash logs,
Crashed: com.amplitude.db.queue
0 libsystem_platform.dylib 0x1963431ac _os_unfair_lock_unowned_abort + 36
1 libsystem_platform.dylib 0x1963411ac _os_unfair_lock_unlock_slow + 148
2 libsqlite3.dylib 0x1982782f0 sqlite3_snprintf + 3480
3 libsqlite3.dylib 0x198277f10 sqlite3_snprintf + 2488
4 libsqlite3.dylib 0x198276570 sqlite3_vfs_find + 6288
5 libsqlite3.dylib 0x198272628 sqlite3_open_v2 + 2556
6 Amplitude 0x10135961c __51-[AMPDatabaseHelper inDatabaseWithStatement:block:]_block_invoke + 60
7 libdispatch.dylib 0x1962e033c _dispatch_client_callout + 20
8 libdispatch.dylib 0x1962ed1f4 _dispatch_lane_barrier_sync_invoke_and_complete + 60
9 Amplitude 0x101359578 -[AMPDatabaseHelper inDatabaseWithStatement:block:] + 208
10 Amplitude 0x10135b2a8 -[AMPDatabaseHelper getEventCountFromTable:] + 176
11 Amplitude 0x10135b1d4 -[AMPDatabaseHelper getTotalEventCount] + 28
12 Amplitude 0x10135faf8 __137-[Amplitude logEvent:withEventProperties:withApiProperties:withUserProperties:withGroups:withGroupProperties:withTimestamp:outOfSession:]_block_invoke + 1412
13 Amplitude 0x10135ee00 -[Amplitude runOnBackgroundQueue:] + 156
14 Amplitude 0x10135f4bc -[Amplitude logEvent:withEventProperties:withApiProperties:withUserProperties:withGroups:withGroupProperties:withTimestamp:outOfSession:] + 708
15 Amplitude 0x101362a1c -[Amplitude identify:outOfSession:] + 192
16 Amplitude 0x101362ea4 __31-[Amplitude setUserProperties:]_block_invoke + 392
17 Foundation 0x196a13cfc NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 24
18 Foundation 0x196915c3c -[NSBlockOperation main] + 104
19 Foundation 0x196a1603c NSOPERATION_IS_INVOKING_MAIN + 24
20 Foundation 0x196915914 -[NSOperation start] + 752
21 Foundation 0x196a16a68 NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION + 24
22 Foundation 0x196a16528 __NSOQSchedule_f + 184
23 libdispatch.dylib 0x1962ecdb4 _dispatch_block_async_invoke2 + 144
24 libdispatch.dylib 0x1962e033c _dispatch_client_callout + 20
25 libdispatch.dylib 0x1962e2af8 _dispatch_continuation_pop + 408
26 libdispatch.dylib 0x1962e2258 _dispatch_async_redirect_invoke + 588
27 libdispatch.dylib 0x1962ef5c0 _dispatch_root_queue_drain + 348
28 libdispatch.dylib 0x1962efd9c _dispatch_worker_thread2 + 116
29 libsystem_pthread.dylib 0x1963476d8 _pthread_wqthread + 216
30 libsystem_pthread.dylib 0x19634d9c8 start_wqthread + 8
Here is the screenshots of crash spike,
I request you to please assist us as soon as possible.
The text was updated successfully, but these errors were encountered: