ASAN_OPTIONS="disable_coredump=0:abort_on_error=1" perl ./mtr main.1st
|
|
Could not execute 'check-testcase' before testcase 'main.1st' (res: 1):
|
mysqltest: Logging to '/10.5/mysql-test/var/tmp/check-mysqld_1.log'.
|
mysqltest: Results saved in '/10.5/mysql-test/var/tmp/check-mysqld_1.result'.
|
=================================================================
|
==11978==ERROR: AddressSanitizer: global-buffer-overflow on address 0x000001849cb0 at pc 0x000000467805 bp 0x7fff931d7230 sp 0x7fff931d69d8
|
WRITE of size 64 at 0x000001849cb0 thread T0
|
#0 0x467804 (/10.5/client/mariadb-test+0x467804)
|
#1 0x55ade5 (/10.5/client/mariadb-test+0x55ade5)
|
#2 0x560f55 (/10.5/client/mariadb-test+0x560f55)
|
#3 0x55ca10 (/10.5/client/mariadb-test+0x55ca10)
|
#4 0x7fa11c457812 (/lib64/libc.so.6+0x23812)
|
#5 0x43b41d (/10.5/client/mariadb-test+0x43b41d)
|
|
0x000001849cb0 is located 48 bytes to the left of global variable 'epbuf' defined in '/home/buildbot/10.5/client/mysqltest.cc:8771:15' (0x1849ce0) of size 100
|
0x000001849cb0 is located 0 bytes to the right of global variable 'ps_re' defined in '/home/buildbot/10.5/client/mysqltest.cc:264:16' (0x1849c80) of size 48
|
SUMMARY: AddressSanitizer: global-buffer-overflow (/10.5/client/mariadb-test+0x467804)
|
Shadow bytes around the buggy address:
|
0x000080301340: 01 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9
|
0x000080301350: 01 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9
|
0x000080301360: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 f9 f9
|
0x000080301370: f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00
|
0x000080301380: 00 00 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9
|
=>0x000080301390: 00 00 00 00 00 00[f9]f9 f9 f9 f9 f9 00 00 00 00
|
0x0000803013a0: 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 f9 f9
|
0x0000803013b0: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9
|
0x0000803013c0: 01 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9
|
0x0000803013d0: 01 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9
|
0x0000803013e0: 01 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9
|
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
|
==11978==ABORTING
|
mysqltest got signal 6
|
read_command_buf (0x631000014888): ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
|
|
Attempting backtrace...
|
stack_bottom = 0x0 thread_stack 0x3c000
|
/10.5/client/mysqltest[0x45ec7c]
|
/10.5/client/mysqltest(my_print_stacktrace+0x139)[0x6c3069]
|
/10.5/client/mysqltest[0x56fd7c]
|
/10.5/client/mysqltest[0x56fa72]
|
sigaction.c:0(__restore_rt)[0x7fa11db4ed80]
|
:0(__GI_raise)[0x7fa11c46b93f]
|
:0(__GI_abort)[0x7fa11c455c95]
|
/10.5/client/mysqltest[0x502252]
|
/10.5/client/mysqltest[0x50041c]
|
/10.5/client/mysqltest[0x4e354e]
|
/10.5/client/mysqltest[0x467827]
|
/10.5/client/mysqltest(_Z12init_re_compP7regex_tPKc+0x106)[0x55ade6]
|
/10.5/client/mysqltest[0x560f56]
|
/10.5/client/mysqltest(main+0xcb1)[0x55ca11]
|
??:0(__libc_start_main)[0x7fa11c457813]
|
/10.5/client/mysqltest(_start+0x2e)[0x43b41e]
|
Writing a core file...
|
mysqltest failed but provided no output
|