amplitude / amplitude/Amplitude-iOS

Crash on Line [AMPDatabaseHelper inDatabaseWithStatement:block:]_block_invoke

オープン
#275 コメント 12 件 リアクション 1 件 担当者 1 名 @jooohhn が担当を希望しています GitHub で見る
bug
主要言語
Objective-C
スター
328
フォーク
194
PR マージ指標
30日以内にマージされた PR はありません

説明

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,
Screenshot 2020-08-07 at 7 59 57 PM

I request you to please assist us as soon as possible.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。