==3599==ERROR: AddressSanitizer: use-after-poison on address 0x629000523947 at pc 0x558f619057a7 bp 0x7f3dbec9b2f0 sp 0x7f3dbec9b2e8
|
READ of size 8 at 0x629000523947 thread T27
|
#0 0x558f619057a6 in base_list_iterator::next_fast() /data/src/10.3/sql/sql_list.h:442
|
#1 0x558f61a5d21a in List_iterator_fast<TABLE_LIST>::operator++(int) /data/src/10.3/sql/sql_list.h:562
|
#2 0x558f61b3373e in st_select_lex::save_leaf_tables(THD*) /data/src/10.3/sql/sql_lex.cc:4792
|
#3 0x558f61aeee40 in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool) /data/src/10.3/sql/sql_insert.cc:1260
|
#4 0x558f61b88c34 in mysql_execute_command(THD*) /data/src/10.3/sql/sql_parse.cc:4455
|
#5 0x558f61b9f172 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.3/sql/sql_parse.cc:7818
|
#6 0x558f61b79e5e in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.3/sql/sql_parse.cc:1856
|
#7 0x558f61b76d3d in do_command(THD*) /data/src/10.3/sql/sql_parse.cc:1401
|
#8 0x558f61eec9fa in do_handle_one_connection(CONNECT*) /data/src/10.3/sql/sql_connect.cc:1403
|
#9 0x558f61eec3c1 in handle_one_connection /data/src/10.3/sql/sql_connect.cc:1308
|
#10 0x7f3de27c54a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x74a3)
|
#11 0x7f3de0d0cd0e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xe8d0e)
|
|
0x629000523947 is located 1863 bytes inside of 16460-byte region [0x629000523200,0x62900052724c)
|
allocated by thread T27 here:
|
#0 0x7f3de2a9cd28 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1d28)
|
#1 0x558f634813a7 in sf_malloc /data/src/10.3/mysys/safemalloc.c:118
|
#2 0x558f63453230 in my_malloc /data/src/10.3/mysys/my_malloc.c:101
|
#3 0x558f63433961 in alloc_root /data/src/10.3/mysys/my_alloc.c:250
|
#4 0x558f6192f506 in Item::operator new(unsigned long, st_mem_root*) /data/src/10.3/sql/item.h:650
|
#5 0x558f61c1807d in st_select_lex::vers_setup_conds(THD*, TABLE_LIST*) /data/src/10.3/sql/sql_select.cc:886
|
#6 0x558f61c1a8db in JOIN::prepare(TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) /data/src/10.3/sql/sql_select.cc:1070
|
#7 0x558f61ddc1f2 in st_select_lex_unit::prepare_join(THD*, st_select_lex*, select_result*, unsigned long, bool) /data/src/10.3/sql/sql_union.cc:655
|
#8 0x558f61ddf14c in st_select_lex_unit::prepare(TABLE_LIST*, select_result*, unsigned long) /data/src/10.3/sql/sql_union.cc:981
|
#9 0x558f61ad2614 in mysql_derived_prepare(THD*, LEX*, TABLE_LIST*) /data/src/10.3/sql/sql_derived.cc:770
|
#10 0x558f61acf5e2 in mysql_handle_single_derived(LEX*, TABLE_LIST*, unsigned int) /data/src/10.3/sql/sql_derived.cc:199
|
#11 0x558f61e55ca8 in TABLE_LIST::handle_derived(LEX*, unsigned int) /data/src/10.3/sql/table.cc:8287
|
#12 0x558f61b0f10f in LEX::handle_list_of_derived(TABLE_LIST*, unsigned int) /data/src/10.3/sql/sql_lex.h:4019
|
#13 0x558f61af07ca in mysql_prepare_insert(THD*, TABLE_LIST*, TABLE*, List<Item>&, List<Item>*, List<Item>&, List<Item>&, enum_duplicates, Item**, bool) /data/src/10.3/sql/sql_insert.cc:1507
|
#14 0x558f61aeb9d7 in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool) /data/src/10.3/sql/sql_insert.cc:772
|
#15 0x558f61b88c34 in mysql_execute_command(THD*) /data/src/10.3/sql/sql_parse.cc:4455
|
#16 0x558f61b9f172 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.3/sql/sql_parse.cc:7818
|
#17 0x558f61b79e5e in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.3/sql/sql_parse.cc:1856
|
#18 0x558f61b76d3d in do_command(THD*) /data/src/10.3/sql/sql_parse.cc:1401
|
#19 0x558f61eec9fa in do_handle_one_connection(CONNECT*) /data/src/10.3/sql/sql_connect.cc:1403
|
#20 0x558f61eec3c1 in handle_one_connection /data/src/10.3/sql/sql_connect.cc:1308
|
#21 0x7f3de27c54a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x74a3)
|
|
Thread T27 created by T0 here:
|
#0 0x7f3de2a0bf59 in __interceptor_pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x30f59)
|
#1 0x558f634ab601 in spawn_thread_noop /data/src/10.3/mysys/psi_noop.c:187
|
#2 0x558f618e3bb0 in inline_mysql_thread_create /data/src/10.3/include/mysql/psi/mysql_thread.h:1268
|
#3 0x558f618f8ebc in create_thread_to_handle_connection(CONNECT*) /data/src/10.3/sql/mysqld.cc:6600
|
#4 0x558f618f959f in create_new_thread /data/src/10.3/sql/mysqld.cc:6670
|
#5 0x558f618fa5b7 in handle_connections_sockets() /data/src/10.3/sql/mysqld.cc:6945
|
#6 0x558f618f838c in mysqld_main(int, char**) /data/src/10.3/sql/mysqld.cc:6222
|
#7 0x558f618e22cf in main /data/src/10.3/sql/main.cc:25
|
#8 0x7f3de0c442e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
|
|
SUMMARY: AddressSanitizer: use-after-poison /data/src/10.3/sql/sql_list.h:442 in base_list_iterator::next_fast()
|
Shadow bytes around the buggy address:
|
0x0c528009c6d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c528009c6e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c528009c6f0: 00 00 00 00 00 00 f7 00 00 f7 00 00 f7 00 00 f7
|
0x0c528009c700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c528009c710: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f7
|
=>0x0c528009c720: 00 00 f7 00 00 f7 00 00[f7]04 f7 00 00 00 00 00
|
0x0c528009c730: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f7 00
|
0x0c528009c740: 00 00 00 00 00 00 00 f7 00 00 f7 f7 f7 f7 f7 f7
|
0x0c528009c750: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c528009c760: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c528009c770: 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
|
Container overflow: fc
|
Array cookie: ac
|
Intra object redzone: bb
|
ASan internal: fe
|
Left alloca redzone: ca
|
Right alloca redzone: cb
|
==3599==ABORTING
|