==24408==ERROR: AddressSanitizer: use-after-poison on address 0x62b00002d5f8 at pc 0x55e11da7ed93 bp 0x7f64c0e160c0 sp 0x7f64c0e160b8
|
READ of size 8 at 0x62b00002d5f8 thread T5
|
#0 0x55e11da7ed92 in Mem_root_array<st_order*, true>::size() const /data/src/10.2/sql/mem_root_array.h:228
|
#1 0x55e11da7ebf9 in Mem_root_array<st_order*, true>::empty() const /data/src/10.2/sql/mem_root_array.h:227
|
#2 0x55e11da7e415 in Mem_root_array<st_order*, true>::clear() (/data/bld/10.2-asan/bin/mysqld+0xc71415)
|
#3 0x55e11da60f85 in lex_start(THD*) /data/src/10.2/sql/sql_lex.cc:700
|
#4 0x55e11daaf41c in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.2/sql/sql_parse.cc:7952
|
#5 0x55e11da8a3ed in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.2/sql/sql_parse.cc:1824
|
#6 0x55e11da87491 in do_command(THD*) /data/src/10.2/sql/sql_parse.cc:1378
|
#7 0x55e11ddcc21e in do_handle_one_connection(CONNECT*) /data/src/10.2/sql/sql_connect.cc:1335
|
#8 0x55e11ddcbc33 in handle_one_connection /data/src/10.2/sql/sql_connect.cc:1241
|
#9 0x55e11e7e6797 in pfs_spawn_thread /data/src/10.2/storage/perfschema/pfs.cc:1862
|
#10 0x7f64cd07e493 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7493)
|
#11 0x7f64cb67f93e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xe893e)
|
|
0x62b00002d5f8 is located 13304 bytes inside of 24716-byte region [0x62b00002a200,0x62b00003028c)
|
allocated by thread T5 here:
|
#0 0x7f64cd2e873f in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x5473f)
|
#1 0x55e11f10971b in sf_malloc /data/src/10.2/mysys/safemalloc.c:118
|
#2 0x55e11f0d8972 in my_malloc /data/src/10.2/mysys/my_malloc.c:101
|
#3 0x55e11f0b876a in init_alloc_root /data/src/10.2/mysys/my_alloc.c:78
|
#4 0x55e11dd4996a in init_sql_alloc(st_mem_root*, unsigned int, unsigned int, unsigned long) /data/src/10.2/sql/thr_malloc.cc:64
|
#5 0x55e11daf17fb in Prepared_statement::Prepared_statement(THD*) /data/src/10.2/sql/sql_prepare.cc:3756
|
#6 0x55e11daec8e0 in mysql_sql_stmt_prepare(THD*) /data/src/10.2/sql/sql_prepare.cc:2805
|
#7 0x55e11da939de in mysql_execute_command(THD*) /data/src/10.2/sql/sql_parse.cc:3495
|
#8 0x55e11daaf9b3 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.2/sql/sql_parse.cc:8012
|
#9 0x55e11da8a3ed in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.2/sql/sql_parse.cc:1824
|
#10 0x55e11da87491 in do_command(THD*) /data/src/10.2/sql/sql_parse.cc:1378
|
#11 0x55e11ddcc21e in do_handle_one_connection(CONNECT*) /data/src/10.2/sql/sql_connect.cc:1335
|
#12 0x55e11ddcbc33 in handle_one_connection /data/src/10.2/sql/sql_connect.cc:1241
|
#13 0x55e11e7e6797 in pfs_spawn_thread /data/src/10.2/storage/perfschema/pfs.cc:1862
|
#14 0x7f64cd07e493 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7493)
|
|
Thread T5 created by T0 here:
|
#0 0x7f64cd2b7bba in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x23bba)
|
#1 0x55e11e7e6d5f in spawn_thread_v1 /data/src/10.2/storage/perfschema/pfs.cc:1912
|
#2 0x55e11d88440e in inline_mysql_thread_create /data/src/10.2/include/mysql/psi/mysql_thread.h:1239
|
#3 0x55e11d8993a6 in create_thread_to_handle_connection(CONNECT*) /data/src/10.2/sql/mysqld.cc:6466
|
#4 0x55e11d899aab in create_new_thread /data/src/10.2/sql/mysqld.cc:6536
|
#5 0x55e11d89aac2 in handle_connections_sockets() /data/src/10.2/sql/mysqld.cc:6811
|
#6 0x55e11d8988fb in mysqld_main(int, char**) /data/src/10.2/sql/mysqld.cc:6085
|
#7 0x55e11d8827af in main /data/src/10.2/sql/main.cc:25
|
#8 0x7f64cb5b72b0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
|
|
SUMMARY: AddressSanitizer: use-after-poison /data/src/10.2/sql/mem_root_array.h:228 Mem_root_array<st_order*, true>::size() const
|
Shadow bytes around the buggy address:
|
0x0c567fffda60: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c567fffda70: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c567fffda80: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c567fffda90: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c567fffdaa0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
=>0x0c567fffdab0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7[f7]
|
0x0c567fffdac0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c567fffdad0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c567fffdae0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c567fffdaf0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c567fffdb00: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
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
|
Contiguous container OOB:fc
|
ASan internal: fe
|
==24408==ABORTING
|
----------SERVER LOG END-------------
|