Skip to content
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

-[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 this issue Jul 31, 2023 · 1 comment

Comments

@chenbokun97
Copy link

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
Copy link
Member

Hi, thanks for your report.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants