shakebugs / shake-flutter

Bug reporting SDK for Flutter apps.
https://shakebugs.com
MIT License
15 stars 5 forks source link

-[SHKSqliteDatabase constructInsertQueryForColumns:record:] crash_info_entry_1 Runner(5743,0x16c007000) malloc: Heap corruption detected, free list is damaged at 0x280f5e200 *** Incorrect guard value: 0 #2

Open chenbokun97 opened 1 year ago

chenbokun97 commented 1 year ago

Could you help to take a look at this issue? When the user started the app, it crashed, and then restart the app again, it works.

crash_info_entry_0 abort() called
crash_info_entry_1 Runner(5743,0x16c007000) malloc: Heap corruption detected, free list is damaged at 0x280f5e200 *** Incorrect guard value: 0

Crashed: sql_writer_queue 0 libsystem_kernel.dylib 0x7558 __pthread_kill + 8 1 libsystem_pthread.dylib 0x7118 pthread_kill + 268 2 libsystem_c.dylib 0x1d178 abort + 180 3 libsystem_malloc.dylib 0x1e0e4 malloc_vreport + 908 4 libsystem_malloc.dylib 0x1e38c malloc_zone_error + 104 5 libsystem_malloc.dylib 0x18658 nanov2_guard_corruption_detected + 44 6 libsystem_malloc.dylib 0x16810 nanov2_free_definite_size + 402 7 CoreFoundation 0x8fcf8 CFStrAllocateMutableContents + 100 8 CoreFoundation 0x87168 CFStringChangeSizeMultiple + 628 9 CoreFoundation 0x8157c CFStringAppendBytes + 840 10 CoreFoundation 0x5100c CFStringAppendFormatCore + 9656 11 CoreFoundation 0x841d4 _CFStringCreateWithFormatAndArgumentsReturningMetadata + 184 12 CoreFoundation 0x80aac _CFStringCreateWithFormatAndArgumentsAux2 + 44 13 Foundation 0x1aed8 +[NSString stringWithFormat:] + 68 14 Shake 0x3116c -[SHKSqliteDatabase constructInsertQueryForColumns:record:] + 530 (SHKSqliteDatabase.m:530) 15 Shake 0x309f0 -[SHKSqliteDatabase insertDatabaseRecord:] + 463 (SHKSqliteDatabase.m:463) 16 Shake 0x30158 __40-[SHKSqliteDatabase pushBlackBoxRecord:]_block_invoke + 328 (SHKSqliteDatabase.m:328) 17 libdispatch.dylib 0x2320 _dispatch_call_block_and_release + 32 18 libdispatch.dylib 0x3eac _dispatch_client_callout + 20 19 libdispatch.dylib 0xb534 _dispatch_lane_serial_drain + 668 20 libdispatch.dylib 0xc0a4 _dispatch_lane_invoke + 384 21 libdispatch.dylib 0x16cdc _dispatch_workloop_worker_thread + 648 22 libsystem_pthread.dylib 0xddc _pthread_wqthread + 288 23 libsystem_pthread.dylib 0xb7c start_wqthread + 8

mstanic-shake commented 5 months ago

Hi, thanks for your report.

Can you give us more details? what version of Shake are you using?