[MDEV-15819] WITH_ASAN all test in 5.5-galera fail Created: 2018-04-09  Updated: 2019-12-12  Resolved: 2019-12-12

Status: Closed
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 5.5-galera
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Sachin Setiya (Inactive) Assignee: Jan Lindström (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

galera.galera_binlog_checksum 'innodb_plugin' w1 [ fail ]
Test ended at 2018-04-09 11:31:00

CURRENT_TEST: galera.galera_binlog_checksum

Could not execute 'check-testcase' before testcase 'galera.galera_binlog_checksum' (res: 1):
mysqltest: Logging to '/home/sachin/11959/build/mysql-test/var/1/tmp/check-mysqld_1.log'.
mysqltest: Results saved in '/home/sachin/11959/build/mysql-test/var/1/tmp/check-mysqld_1.result'.
mysqltest: Connecting to server localhost:16000 (socket /home/sachin/11959/build/mysql-test/var/tmp/1/mysqld.1.sock) as 'root', connection 'default', attempt 0 ...
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/check-testcase.test' ...
mysqltest: ... Done processing test commands.
mysqltest: Test has succeeded!
=================================================================
==13654==ERROR: AddressSanitizer: global-buffer-overflow on address 0x5573d776ccb0 at pc 0x5573d6f957fc bp 0x7ffe65c77290 sp 0x7ffe65c77280
READ of size 4 at 0x5573d776ccb0 thread T0
#0 0x5573d6f957fb in free_used_memory() /home/sachin/11959/server/client/mysqltest.cc:1467
#1 0x5573d6f95951 in cleanup_and_exit /home/sachin/11959/server/client/mysqltest.cc:1491
#2 0x5573d6fb4353 in main /home/sachin/11959/server/client/mysqltest.cc:9724
#3 0x7f0d1392182f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#4 0x5573d6f8f008 in _start (/home/sachin/11959/build/client/mysqltest+0xcb008)

0x5573d776ccb0 is located 16 bytes to the left of global variable 'result_file_name' defined in '/home/sachin/11959/server/client/mysqltest.cc:287:13' (0x5573d776ccc0) of size 8
0x5573d776ccb0 is located 32 bytes to the right of global variable 'var_reg' defined in '/home/sachin/11959/server/client/mysqltest.cc:303:5' (0x5573d776cb00) of size 400
SUMMARY: AddressSanitizer: global-buffer-overflow /home/sachin/11959/server/client/mysqltest.cc:1467 free_used_memory()
Shadow bytes around the buggy address:
0x0aaefaee5940: f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 00 00 00 00
0x0aaefaee5950: 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 f9
0x0aaefaee5960: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0aaefaee5970: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0aaefaee5980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x0aaefaee5990: 00 00 f9 f9 f9 f9[f9]f9 00 f9 f9 f9 f9 f9 f9 f9
0x0aaefaee59a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0aaefaee59b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0aaefaee59c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0aaefaee59d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0aaefaee59e0: 00 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
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
==13654==ABORTING
mysqltest failed but provided no output


Generated at Thu Feb 08 08:24:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.