Version: '10.4.32-MariaDB-debug-log' 62d80652be7c19f4ad2bf68d6ffbb4e1eb1d77ea
|
=================================================================
|
==675477==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f8542571ae1 at pc 0x558dc350c7f6 bp 0x7f8542571870 sp 0x7f8542571860
|
WRITE of size 1 at 0x7f8542571ae1 thread T27
|
#0 0x558dc350c7f5 in int2str /10.4/src/strings/int2str.c:122
|
#1 0x558dc21b46ff in Item_func_conv::val_str(String*) /10.4/src/sql/item_strfunc.cc:3555
|
#2 0x558dc21a98d8 in Item_func_soundex::val_str(String*) /10.4/src/sql/item_strfunc.cc:2589
|
#3 0x558dc151e86c in Item::str_result(String*) /10.4/src/sql/item.h:1559
|
#4 0x558dc2051c1f in Item_cache_str::cache_value() /10.4/src/sql/item.cc:10377
|
#5 0x558dc1d9dea1 in Item_cache::has_value() /10.4/src/sql/item.h:6963
|
#6 0x558dc2051f5d in Item_cache_str::val_str(String*) /10.4/src/sql/item.cc:10416
|
#7 0x558dc2075f98 in Arg_comparator::compare_string() /10.4/src/sql/item_cmpfunc.cc:779
|
#8 0x558dc20ba9a5 in Arg_comparator::compare() /10.4/src/sql/item_cmpfunc.h:104
|
#9 0x558dc2082782 in Item_func_eq::val_int() /10.4/src/sql/item_cmpfunc.cc:1790
|
#10 0x558dc2078d89 in Arg_comparator::compare_int_signed() /10.4/src/sql/item_cmpfunc.cc:953
|
#11 0x558dc20ba9a5 in Arg_comparator::compare() /10.4/src/sql/item_cmpfunc.h:104
|
#12 0x558dc2082782 in Item_func_eq::val_int() /10.4/src/sql/item_cmpfunc.cc:1790
|
#13 0x558dc1931fab in evaluate_join_record /10.4/src/sql/sql_select.cc:21017
|
#14 0x558dc19312e5 in sub_select(JOIN*, st_join_table*, bool) /10.4/src/sql/sql_select.cc:20922
|
#15 0x558dc192f08b in do_select /10.4/src/sql/sql_select.cc:20443
|
#16 0x558dc18bcbd3 in JOIN::exec_inner() /10.4/src/sql/sql_select.cc:4625
|
#17 0x558dc18ba203 in JOIN::exec() /10.4/src/sql/sql_select.cc:4407
|
#18 0x558dc18be3df in mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /10.4/src/sql/sql_select.cc:4846
|
#19 0x558dc188ec55 in handle_select(THD*, LEX*, select_result*, unsigned long) /10.4/src/sql/sql_select.cc:442
|
#20 0x558dc17f5c5b in execute_sqlcom_select /10.4/src/sql/sql_parse.cc:6475
|
#21 0x558dc17e33d2 in mysql_execute_command(THD*) /10.4/src/sql/sql_parse.cc:3978
|
#22 0x558dc17ff1d6 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /10.4/src/sql/sql_parse.cc:8014
|
#23 0x558dc17d5562 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /10.4/src/sql/sql_parse.cc:1857
|
#24 0x558dc17d208d in do_command(THD*) /10.4/src/sql/sql_parse.cc:1378
|
#25 0x558dc1be667d in do_handle_one_connection(CONNECT*) /10.4/src/sql/sql_connect.cc:1419
|
#26 0x558dc1be5f21 in handle_one_connection /10.4/src/sql/sql_connect.cc:1323
|
#27 0x558dc2883baf in pfs_spawn_thread /10.4/src/storage/perfschema/pfs.cc:1869
|
#28 0x7f855913e608 in start_thread /build/glibc-BHL3KM/glibc-2.31/nptl/pthread_create.c:477
|
#29 0x7f8558d0f132 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x11f132)
|
|
Address 0x7f8542571ae1 is located in stack of thread T27 at offset 177 in frame
|
#0 0x558dc21b3b65 in Item_func_conv::val_str(String*) /10.4/src/sql/item_strfunc.cc:3514
|
|
This frame has 4 object(s):
|
[48, 52) 'err' (line 3521)
|
[64, 68) 'dummy_errors' (line 3554)
|
[80, 88) 'endptr' (line 3517)
|
[112, 177) 'ans' (line 3517) <== Memory access at offset 177 overflows this variable
|
HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork
|
(longjmp and C++ exceptions *are* supported)
|
Thread T27 created by T0 here:
|
#0 0x7f8559669815 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cc:208
|
#1 0x558dc2883fa0 in spawn_thread_v1 /10.4/src/storage/perfschema/pfs.cc:1919
|
#2 0x558dc14caf71 in inline_mysql_thread_create /10.4/src/include/mysql/psi/mysql_thread.h:1275
|
#3 0x558dc14e3161 in create_thread_to_handle_connection(CONNECT*) /10.4/src/sql/mysqld.cc:6296
|
#4 0x558dc14e38fc in create_new_thread(CONNECT*) /10.4/src/sql/mysqld.cc:6366
|
#5 0x558dc14e3de2 in handle_accepted_socket(st_mysql_socket, st_mysql_socket) /10.4/src/sql/mysqld.cc:6464
|
#6 0x558dc14e4c9e in handle_connections_sockets() /10.4/src/sql/mysqld.cc:6622
|
#7 0x558dc14e2866 in mysqld_main(int, char**) /10.4/src/sql/mysqld.cc:5954
|
#8 0x558dc14c8f3c in main /10.4/src/sql/main.cc:25
|
#9 0x7f8558c14082 in __libc_start_main ../csu/libc-start.c:308
|
|
SUMMARY: AddressSanitizer: stack-buffer-overflow /10.4/src/strings/int2str.c:122 in int2str
|
Shadow bytes around the buggy address:
|
0x0ff1284a6300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0ff1284a6310: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 f1 f1 00 00
|
0x0ff1284a6320: f2 f2 00 00 00 00 00 00 00 00 01 f3 f3 f3 f3 f3
|
0x0ff1284a6330: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0ff1284a6340: 00 00 00 00 00 00 f1 f1 f1 f1 f1 f1 04 f2 00 00
|
=>0x0ff1284a6350: 00 f2 f2 f2 00 00 00 00 00 00 00 00[01]f3 f3 f3
|
0x0ff1284a6360: f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0ff1284a6370: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f3 f3 f3
|
0x0ff1284a6380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0ff1284a6390: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
0x0ff1284a63a0: 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
|
Shadow gap: cc
|
==675477==ABORTING
|
----------SERVER LOG END-------------
|
|