==27577==ERROR: AddressSanitizer: use-after-poison on address 0x62b00008cab0 at pc 0x55bb2177a7c9 bp 0x7ff8ce944460 sp 0x7ff8ce944458
|
READ of size 1 at 0x62b00008cab0 thread T5
|
#0 0x55bb2177a7c8 in my_strcasecmp_utf8 /data/src/10.4-bug/strings/ctype-utf8.c:5109
|
#1 0x55bb20646915 in Item_field::rename_fields_processor(void*) /data/src/10.4-bug/sql/item.cc:787
|
#2 0x55bb1fc63f68 in Item::walk(bool (Item::*)(void*), bool, void*) /data/src/10.4-bug/sql/item.h:1804
|
#3 0x55bb1fd88958 in Item_args::walk_args(bool (Item::*)(void*), bool, void*) /data/src/10.4-bug/sql/item.h:2494
|
#4 0x55bb1fd897c2 in Item_func_or_sum::walk(bool (Item::*)(void*), bool, void*) /data/src/10.4-bug/sql/item.h:5060
|
#5 0x55bb200e6241 in mysql_prepare_alter_table(THD*, TABLE*, HA_CREATE_INFO*, Alter_info*, Alter_table_ctx*) /data/src/10.4-bug/sql/sql_table.cc:8077
|
#6 0x55bb200f073f in mysql_alter_table(THD*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*, unsigned int, st_order*, bool) /data/src/10.4-bug/sql/sql_table.cc:9737
|
#7 0x55bb2024212f in Sql_cmd_alter_table::execute(THD*) /data/src/10.4-bug/sql/sql_alter.cc:508
|
#8 0x55bb1fed6754 in mysql_execute_command(THD*) /data/src/10.4-bug/sql/sql_parse.cc:6098
|
#9 0x55bb1fee0bd9 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.4-bug/sql/sql_parse.cc:7908
|
#10 0x55bb1febb10d in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.4-bug/sql/sql_parse.cc:1843
|
#11 0x55bb1feb801b in do_command(THD*) /data/src/10.4-bug/sql/sql_parse.cc:1360
|
#12 0x55bb2022d314 in do_handle_one_connection(CONNECT*) /data/src/10.4-bug/sql/sql_connect.cc:1404
|
#13 0x55bb2022ccc8 in handle_one_connection /data/src/10.4-bug/sql/sql_connect.cc:1306
|
#14 0x55bb215aebf9 in pfs_spawn_thread /data/src/10.4-bug/storage/perfschema/pfs.cc:1862
|
#15 0x7ff8d91524a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x74a3)
|
#16 0x7ff8d769ad0e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xe8d0e)
|
|
0x62b00008cab0 is located 2224 bytes inside of 24716-byte region [0x62b00008c200,0x62b00009228c)
|
allocated by thread T6 here:
|
#0 0x7ff8d9429d28 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1d28)
|
#1 0x55bb216d7e7d in sf_malloc /data/src/10.4-bug/mysys/safemalloc.c:118
|
#2 0x55bb216aa190 in my_malloc /data/src/10.4-bug/mysys/my_malloc.c:101
|
#3 0x55bb2168a335 in reset_root_defaults /data/src/10.4-bug/mysys/my_alloc.c:151
|
#4 0x55bb1fdbfe61 in THD::init_for_queries() /data/src/10.4-bug/sql/sql_class.cc:1387
|
#5 0x55bb2022c685 in prepare_new_connection_state(THD*) /data/src/10.4-bug/sql/sql_connect.cc:1237
|
#6 0x55bb2022cd0e in thd_prepare_connection(THD*) /data/src/10.4-bug/sql/sql_connect.cc:1321
|
#7 0x55bb2022d2be in do_handle_one_connection(CONNECT*) /data/src/10.4-bug/sql/sql_connect.cc:1391
|
#8 0x55bb2022ccc8 in handle_one_connection /data/src/10.4-bug/sql/sql_connect.cc:1306
|
#9 0x55bb215aebf9 in pfs_spawn_thread /data/src/10.4-bug/storage/perfschema/pfs.cc:1862
|
#10 0x7ff8d91524a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x74a3)
|
|
Thread T5 created by T0 here:
|
#0 0x7ff8d9398f59 in __interceptor_pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x30f59)
|
#1 0x55bb215aefe6 in spawn_thread_v1 /data/src/10.4-bug/storage/perfschema/pfs.cc:1912
|
#2 0x55bb1fc1f6f8 in inline_mysql_thread_create /data/src/10.4-bug/include/mysql/psi/mysql_thread.h:1268
|
#3 0x55bb1fc3382a in create_thread_to_handle_connection(CONNECT*) /data/src/10.4-bug/sql/mysqld.cc:6238
|
#4 0x55bb1fc33f0d in create_new_thread(CONNECT*) /data/src/10.4-bug/sql/mysqld.cc:6308
|
#5 0x55bb1fc34298 in handle_accepted_socket(st_mysql_socket, st_mysql_socket) /data/src/10.4-bug/sql/mysqld.cc:6406
|
#6 0x55bb1fc34eea in handle_connections_sockets() /data/src/10.4-bug/sql/mysqld.cc:6564
|
#7 0x55bb1fc330ab in mysqld_main(int, char**) /data/src/10.4-bug/sql/mysqld.cc:5896
|
#8 0x55bb1fc1d5df in main /data/src/10.4-bug/sql/main.cc:25
|
#9 0x7ff8d75d22e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
|
|
Thread T6 created by T0 here:
|
#0 0x7ff8d9398f59 in __interceptor_pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x30f59)
|
#1 0x55bb215aefe6 in spawn_thread_v1 /data/src/10.4-bug/storage/perfschema/pfs.cc:1912
|
#2 0x55bb1fc1f6f8 in inline_mysql_thread_create /data/src/10.4-bug/include/mysql/psi/mysql_thread.h:1268
|
#3 0x55bb1fc3382a in create_thread_to_handle_connection(CONNECT*) /data/src/10.4-bug/sql/mysqld.cc:6238
|
#4 0x55bb1fc33f0d in create_new_thread(CONNECT*) /data/src/10.4-bug/sql/mysqld.cc:6308
|
#5 0x55bb1fc34298 in handle_accepted_socket(st_mysql_socket, st_mysql_socket) /data/src/10.4-bug/sql/mysqld.cc:6406
|
#6 0x55bb1fc34eea in handle_connections_sockets() /data/src/10.4-bug/sql/mysqld.cc:6564
|
#7 0x55bb1fc330ab in mysqld_main(int, char**) /data/src/10.4-bug/sql/mysqld.cc:5896
|
#8 0x55bb1fc1d5df in main /data/src/10.4-bug/sql/main.cc:25
|
#9 0x7ff8d75d22e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
|
|
SUMMARY: AddressSanitizer: use-after-poison /data/src/10.4-bug/strings/ctype-utf8.c:5109 in my_strcasecmp_utf8
|
Shadow bytes around the buggy address:
|
0x0c5680009900: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c5680009910: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c5680009920: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c5680009930: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c5680009940: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
=>0x0c5680009950: f7 f7 f7 f7 f7 f7[f7]f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c5680009960: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c5680009970: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c5680009980: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c5680009990: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c56800099a0: 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
|
==27577==ABORTING
|