==14462==ERROR: AddressSanitizer: heap-use-after-free on address 0x62900019a220 at pc 0x55ff8deb3366 bp 0x7f94a201cbd0 sp 0x7f94a201cbc8
|
WRITE of size 8 at 0x62900019a220 thread T27
|
#0 0x55ff8deb3365 in relink_trn_used_instances /data/src/10.4/storage/maria/ma_trnman.h:94
|
#1 0x55ff8deb3365 in ha_maria::implicit_commit(THD*, bool) /data/src/10.4/storage/maria/ha_maria.cc:2909
|
#2 0x55ff8ce83190 in mysql_execute_command(THD*) /data/src/10.4/sql/sql_parse.cc:6163
|
#3 0x55ff8ce9bd98 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.4/sql/sql_parse.cc:7901
|
#4 0x55ff8cea1674 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.4/sql/sql_parse.cc:1842
|
#5 0x55ff8cea5577 in do_command(THD*) /data/src/10.4/sql/sql_parse.cc:1360
|
#6 0x55ff8d1139e7 in do_handle_one_connection(CONNECT*) /data/src/10.4/sql/sql_connect.cc:1412
|
#7 0x55ff8d113c0a in handle_one_connection /data/src/10.4/sql/sql_connect.cc:1316
|
#8 0x7f94c53f04a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x74a3)
|
#9 0x7f94c3937d0e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xe8d0e)
|
|
0x62900019a220 is located 32 bytes inside of 18208-byte region [0x62900019a200,0x62900019e920)
|
freed by thread T27 here:
|
#0 0x7f94c56c7a10 in free (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1a10)
|
#1 0x55ff8df75acd in maria_close /data/src/10.4/storage/maria/ma_close.c:257
|
|
previously allocated by thread T27 here:
|
#0 0x7f94c56c7d28 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1d28)
|
#1 0x55ff8e1cbbdc in my_malloc /data/src/10.4/mysys/my_malloc.c:101
|
|
Thread T27 created by T0 here:
|
#0 0x7f94c5636f59 in __interceptor_pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x30f59)
|
#1 0x55ff8cc7c0b6 in inline_mysql_thread_create /data/src/10.4/include/mysql/psi/mysql_thread.h:1268
|
#2 0x55ff8cc7c0b6 in create_thread_to_handle_connection(CONNECT*) /data/src/10.4/sql/mysqld.cc:6234
|
|
SUMMARY: AddressSanitizer: heap-use-after-free /data/src/10.4/storage/maria/ma_trnman.h:94 in relink_trn_used_instances
|
Shadow bytes around the buggy address:
|
0x0c528002b3f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
0x0c528002b400: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
0x0c528002b410: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
0x0c528002b420: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
0x0c528002b430: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
|
=>0x0c528002b440: fd fd fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd
|
0x0c528002b450: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
|
0x0c528002b460: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
|
0x0c528002b470: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
|
0x0c528002b480: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
|
0x0c528002b490: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
|
Shadow byte legend (one shadow byte represents 8 application bytes):
|
Addressable: 00
|
Partially addressable: 01 02 03 04 05 06 07
|
Heap left redzone: fa
|
Heap right redzone: fb
|
Freed heap region: fd
|
Stack left redzone: f1
|
Stack mid redzone: f2
|
Stack right redzone: f3
|
Stack partial redzone: f4
|
Stack after return: f5
|
Stack use after scope: f8
|
Global redzone: f9
|
Global init order: f6
|
Poisoned by user: f7
|
Container overflow: fc
|
Array cookie: ac
|
Intra object redzone: bb
|
ASan internal: fe
|
Left alloca redzone: ca
|
Right alloca redzone: cb
|
==14462==ABORTING
|
----------SERVER LOG END-------------
|