==26768==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61900002ad7f at pc 0x55d0b753767d bp 0x7f905c77f440 sp 0x7f905c77f438
|
READ of size 1 at 0x61900002ad7f thread T27
|
#0 0x55d0b753767c in mach_read_from_n_little_endian /data/src/10.3/storage/innobase/include/mach0data.ic:701
|
#1 0x55d0b753f56d in row_mysql_read_blob_ref(unsigned long*, unsigned char const*, unsigned long) /data/src/10.3/storage/innobase/row/row0mysql.cc:265
|
#2 0x55d0b7540525 in row_mysql_store_col_in_innobase_format(dfield_t*, unsigned char*, unsigned long, unsigned char const*, unsigned long, unsigned long) /data/src/10.3/storage/innobase/row/row0mysql.cc:550
|
#3 0x55d0b73252e7 in innobase_build_col_map_add /data/src/10.3/storage/innobase/handler/handler0alter.cc:3276
|
#4 0x55d0b7325ea2 in innobase_build_col_map /data/src/10.3/storage/innobase/handler/handler0alter.cc:3367
|
#5 0x55d0b7332495 in prepare_inplace_alter_table_dict /data/src/10.3/storage/innobase/handler/handler0alter.cc:5224
|
#6 0x55d0b734083a in ha_innobase::prepare_inplace_alter_table(TABLE*, Alter_inplace_info*) /data/src/10.3/storage/innobase/handler/handler0alter.cc:6959
|
#7 0x55d0b6b09e78 in handler::ha_prepare_inplace_alter_table(TABLE*, Alter_inplace_info*) /data/src/10.3/sql/handler.cc:4387
|
#8 0x55d0b6616d97 in mysql_inplace_alter_table /data/src/10.3/sql/sql_table.cc:7470
|
#9 0x55d0b662435f 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.3/sql/sql_table.cc:9644
|
#10 0x55d0b676aa25 in Sql_cmd_alter_table::execute(THD*) /data/src/10.3/sql/sql_alter.cc:463
|
#11 0x55d0b640e78b in mysql_execute_command(THD*) /data/src/10.3/sql/sql_parse.cc:6283
|
#12 0x55d0b6418d64 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.3/sql/sql_parse.cc:8003
|
#13 0x55d0b63f3534 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.3/sql/sql_parse.cc:1846
|
#14 0x55d0b63f05bc in do_command(THD*) /data/src/10.3/sql/sql_parse.cc:1391
|
#15 0x55d0b675be61 in do_handle_one_connection(CONNECT*) /data/src/10.3/sql/sql_connect.cc:1402
|
#16 0x55d0b675b86d in handle_one_connection /data/src/10.3/sql/sql_connect.cc:1308
|
#17 0x55d0b726f19d in pfs_spawn_thread /data/src/10.3/storage/perfschema/pfs.cc:1862
|
#18 0x7f90680a6493 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7493)
|
#19 0x7f906648c93e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xe893e)
|
|
0x61900002ad7f is located 1 bytes to the left of 1100-byte region [0x61900002ad80,0x61900002b1cc)
|
allocated by thread T27 here:
|
#0 0x7f906831073f in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x5473f)
|
#1 0x55d0b7c25a7e in sf_malloc /data/src/10.3/mysys/safemalloc.c:118
|
#2 0x55d0b7bf60d6 in my_malloc /data/src/10.3/mysys/my_malloc.c:101
|
#3 0x55d0b7bd5ac3 in alloc_root /data/src/10.3/mysys/my_alloc.c:249
|
#4 0x55d0b66a1bb4 in open_table_from_share(THD*, TABLE_SHARE*, st_mysql_const_lex_string const*, unsigned int, unsigned int, unsigned int, TABLE*, bool, List<String>*) /data/src/10.3/sql/table.cc:3198
|
#5 0x55d0b6911a7f in THD::open_temporary_table(TMP_TABLE_SHARE*, char const*, bool) /data/src/10.3/sql/temporary_tables.cc:1119
|
#6 0x55d0b690c4b1 in THD::create_and_open_tmp_table(handlerton*, st_mysql_const_unsigned_lex_string*, char const*, char const*, char const*, bool, bool) /data/src/10.3/sql/temporary_tables.cc:79
|
#7 0x55d0b6623ca9 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.3/sql/sql_table.cc:9586
|
#8 0x55d0b676aa25 in Sql_cmd_alter_table::execute(THD*) /data/src/10.3/sql/sql_alter.cc:463
|
#9 0x55d0b640e78b in mysql_execute_command(THD*) /data/src/10.3/sql/sql_parse.cc:6283
|
#10 0x55d0b6418d64 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.3/sql/sql_parse.cc:8003
|
#11 0x55d0b63f3534 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.3/sql/sql_parse.cc:1846
|
#12 0x55d0b63f05bc in do_command(THD*) /data/src/10.3/sql/sql_parse.cc:1391
|
#13 0x55d0b675be61 in do_handle_one_connection(CONNECT*) /data/src/10.3/sql/sql_connect.cc:1402
|
#14 0x55d0b675b86d in handle_one_connection /data/src/10.3/sql/sql_connect.cc:1308
|
#15 0x55d0b726f19d in pfs_spawn_thread /data/src/10.3/storage/perfschema/pfs.cc:1862
|
#16 0x7f90680a6493 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7493)
|
|
Thread T27 created by T0 here:
|
#0 0x7f90682dfbba in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x23bba)
|
#1 0x55d0b726f765 in spawn_thread_v1 /data/src/10.3/storage/perfschema/pfs.cc:1912
|
#2 0x55d0b615f28a in inline_mysql_thread_create /data/src/10.3/include/mysql/psi/mysql_thread.h:1268
|
#3 0x55d0b617534f in create_thread_to_handle_connection(CONNECT*) /data/src/10.3/sql/mysqld.cc:6556
|
#4 0x55d0b6175a54 in create_new_thread /data/src/10.3/sql/mysqld.cc:6626
|
#5 0x55d0b6176a65 in handle_connections_sockets() /data/src/10.3/sql/mysqld.cc:6901
|
#6 0x55d0b617480c in mysqld_main(int, char**) /data/src/10.3/sql/mysqld.cc:6178
|
#7 0x55d0b615d32f in main /data/src/10.3/sql/main.cc:25
|
#8 0x7f90663c42b0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
|
|
SUMMARY: AddressSanitizer: heap-buffer-overflow /data/src/10.3/storage/innobase/include/mach0data.ic:701 mach_read_from_n_little_endian
|
Shadow bytes around the buggy address:
|
0x0c327fffd550: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c327fffd560: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c327fffd570: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c327fffd580: 00 00 00 00 00 00 00 f7 f7 f7 f7 f7 f7 f7 f7 f7
|
0x0c327fffd590: f7 f7 f7 f7 f7 f7 f7 f7 f7 04 fa fa fa fa fa fa
|
=>0x0c327fffd5a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa[fa]
|
0x0c327fffd5b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c327fffd5c0: 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c327fffd5d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c327fffd5e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c327fffd5f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
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
|
==26768==ABORTING
|