==609513==ERROR: AddressSanitizer: unknown-crash on address 0x6240000aef5b at pc 0x560b23ad14e0 bp 0x7f6e2eb40820 sp 0x7f6e2eb40818
|
READ of size 1 at 0x6240000aef5b thread T5
|
#0 0x560b23ad14df in my_charlen_utf8mb3 /data/src/11.2/strings/ctype-utf8.c:927
|
#1 0x560b23a647c9 in my_ismbchar /data/src/11.2/include/m_ctype.h:1818
|
#2 0x560b23a661a6 in my_charpos_mb /data/src/11.2/strings/ctype-mb.c:326
|
#3 0x560b2200de6c in charset_info_st::charpos(char const*, char const*, unsigned long) const /data/src/11.2/include/m_ctype.h:821
|
#4 0x560b225de6d5 in Charset::charpos(char const*, char const*, unsigned long) const /data/src/11.2/sql/sql_string.h:176
|
#5 0x560b225de73e in String::charpos(long long, unsigned int) /data/src/11.2/sql/sql_string.h:1138
|
#6 0x560b22807dfb in Item_func_substr::val_str(String*) /data/src/11.2/sql/item_strfunc.cc:2028
|
#7 0x560b226db3ff in Cached_item_str::cmp() /data/src/11.2/sql/item_buff.cc:84
|
#8 0x560b21eab669 in test_if_group_changed(List<Cached_item>&) /data/src/11.2/sql/sql_select.cc:28215
|
#9 0x560b21e94b93 in end_send_group(JOIN*, st_join_table*, bool) /data/src/11.2/sql/sql_select.cc:24936
|
#10 0x560b21e8a97a in evaluate_join_record /data/src/11.2/sql/sql_select.cc:23672
|
#11 0x560b21e891f6 in sub_select(JOIN*, st_join_table*, bool) /data/src/11.2/sql/sql_select.cc:23439
|
#12 0x560b21e86b38 in do_select /data/src/11.2/sql/sql_select.cc:22956
|
#13 0x560b21e06358 in JOIN::exec_inner() /data/src/11.2/sql/sql_select.cc:4935
|
#14 0x560b21e036e7 in JOIN::exec() /data/src/11.2/sql/sql_select.cc:4712
|
#15 0x560b21e07df8 in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /data/src/11.2/sql/sql_select.cc:5243
|
#16 0x560b21dd7566 in handle_select(THD*, LEX*, select_result*, unsigned long long) /data/src/11.2/sql/sql_select.cc:628
|
#17 0x560b21cfe5fc in execute_sqlcom_select /data/src/11.2/sql/sql_parse.cc:6065
|
#18 0x560b21cef03b in mysql_execute_command(THD*, bool) /data/src/11.2/sql/sql_parse.cc:3955
|
#19 0x560b21d090d6 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/src/11.2/sql/sql_parse.cc:7811
|
#20 0x560b21ce1490 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/src/11.2/sql/sql_parse.cc:1893
|
#21 0x560b21cde1cd in do_command(THD*, bool) /data/src/11.2/sql/sql_parse.cc:1406
|
#22 0x560b221a9fab in do_handle_one_connection(CONNECT*, bool) /data/src/11.2/sql/sql_connect.cc:1445
|
#23 0x560b221a996c in handle_one_connection /data/src/11.2/sql/sql_connect.cc:1347
|
#24 0x560b22dd2651 in pfs_spawn_thread /data/src/11.2/storage/perfschema/pfs.cc:2201
|
#25 0x7f6e362a7fd3 in start_thread nptl/pthread_create.c:442
|
#26 0x7f6e363285bb in clone3 ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
|
0x6240000aef5b is located 3675 bytes inside of 7304-byte region [0x6240000ae100,0x6240000afd88)
|
allocated by thread T5 here:
|
#0 0x7f6e36eb89cf in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
|
#1 0x560b239bb189 in my_malloc /data/src/11.2/mysys/my_malloc.c:89
|
#2 0x560b239966c7 in root_alloc /data/src/11.2/mysys/my_alloc.c:71
|
#3 0x560b23997f1d in alloc_root /data/src/11.2/mysys/my_alloc.c:339
|
#4 0x560b220c274b 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/11.2/sql/table.cc:4323
|
#5 0x560b21b3a4c8 in open_table(THD*, TABLE_LIST*, Open_table_context*) /data/src/11.2/sql/sql_base.cc:2225
|
#6 0x560b21b4562f in open_and_process_table /data/src/11.2/sql/sql_base.cc:4155
|
#7 0x560b21b4817c in open_tables(THD*, DDL_options_st const&, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) /data/src/11.2/sql/sql_base.cc:4640
|
#8 0x560b21b4d1a7 in open_and_lock_tables(THD*, DDL_options_st const&, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) /data/src/11.2/sql/sql_base.cc:5614
|
#9 0x560b21b70e64 in open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) /data/src/11.2/sql/sql_base.h:525
|
#10 0x560b21cfdab8 in execute_sqlcom_select /data/src/11.2/sql/sql_parse.cc:5985
|
#11 0x560b21cef03b in mysql_execute_command(THD*, bool) /data/src/11.2/sql/sql_parse.cc:3955
|
#12 0x560b21d090d6 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/src/11.2/sql/sql_parse.cc:7811
|
#13 0x560b21ce1490 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/src/11.2/sql/sql_parse.cc:1893
|
#14 0x560b21cde1cd in do_command(THD*, bool) /data/src/11.2/sql/sql_parse.cc:1406
|
#15 0x560b221a9fab in do_handle_one_connection(CONNECT*, bool) /data/src/11.2/sql/sql_connect.cc:1445
|
#16 0x560b221a996c in handle_one_connection /data/src/11.2/sql/sql_connect.cc:1347
|
#17 0x560b22dd2651 in pfs_spawn_thread /data/src/11.2/storage/perfschema/pfs.cc:2201
|
#18 0x7f6e362a7fd3 in start_thread nptl/pthread_create.c:442
|
|
Thread T5 created by T0 here:
|
#0 0x7f6e36e49726 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cpp:207
|
#1 0x560b22dce38c in my_thread_create /data/src/11.2/storage/perfschema/my_thread.h:52
|
#2 0x560b22dd2a40 in pfs_spawn_thread_v1 /data/src/11.2/storage/perfschema/pfs.cc:2252
|
#3 0x560b2193083b in inline_mysql_thread_create /data/src/11.2/include/mysql/psi/mysql_thread.h:1139
|
#4 0x560b21948a11 in create_thread_to_handle_connection(CONNECT*) /data/src/11.2/sql/mysqld.cc:6169
|
#5 0x560b21949036 in create_new_thread(CONNECT*) /data/src/11.2/sql/mysqld.cc:6231
|
#6 0x560b21949321 in handle_accepted_socket(st_mysql_socket, st_mysql_socket) /data/src/11.2/sql/mysqld.cc:6293
|
#7 0x560b21949ca5 in handle_connections_sockets() /data/src/11.2/sql/mysqld.cc:6417
|
#8 0x560b2194828e in mysqld_main(int, char**) /data/src/11.2/sql/mysqld.cc:6064
|
#9 0x560b2192f948 in main /data/src/11.2/sql/main.cc:34
|
#10 0x7f6e36246189 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
|
|
SUMMARY: AddressSanitizer: unknown-crash /data/src/11.2/strings/ctype-utf8.c:927 in my_charlen_utf8mb3
|
Shadow bytes around the buggy address:
|
0x0c488000dd90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c488000dda0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c488000ddb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c488000ddc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c488000ddd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
=>0x0c488000dde0: 00 00 00 00 00 00 00 00 00 00 00[03]00 00 00 00
|
0x0c488000ddf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c488000de00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c488000de10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c488000de20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0c488000de30: 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
|
Freed heap region: fd
|
Stack left redzone: f1
|
Stack mid redzone: f2
|
Stack right redzone: f3
|
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
|
==609513==ABORTING
|