[MDEV-31977] When we compile MariaDB 10.6.11 with asan, we failed to run the testcase of rocksdb. Created: 2023-08-22  Updated: 2023-09-04

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - RocksDB
Affects Version/s: 10.6.11
Fix Version/s: 10.6

Type: Bug Priority: Major
Reporter: Linkang, Zhang Assignee: Sergei Petrunia
Resolution: Unresolved Votes: 0
Labels: None


 Description   

When we compile MariaDB 10.6.11 with asan, we failed to run the testcase of rocksdb.

The message is:

Failing test(s): binlog.binlog_truncate_multi_engine mariabackup.xb_rocksdb_datadir_debug mariabackup.xb_rocksdb_datadir mariabackup.incremental_rocksdb mariabackup.xb_rocksdb
 
***Warnings generated in error logs during shutdown after running tests: binlog.binlog_truncate_multi_engine
 
==24850==ERROR: LeakSanitizer: detected memory leaks
SUMMARY: AddressSanitizer: 48 byte(s) leaked in 2 allocation(s).
Attempting backtrace. You can use the following information to find out
==24850==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000035dd8ba bp 0x7ffef38bebc0 sp 0x7ffef38bead0 T0)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /flash2/xunli/mariadb_10.6.11/mysys/my_read.c:63 in my_read
==42667==ERROR: LeakSanitizer: detected memory leaks
SUMMARY: AddressSanitizer: 72 byte(s) leaked in 3 allocation(s).
Attempting backtrace. You can use the following information to find out
==42667==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000035dd8ba bp 0x7ffc8585d7c0 sp 0x7ffc8585d6d0 T0)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /flash2/xunli/mariadb_10.6.11/mysys/my_read.c:63 in my_read
 
***Warnings generated in error logs during shutdown after running tests: atomic.alter_table_rocksdb
 
==111254==ERROR: LeakSanitizer: detected memory leaks
SUMMARY: AddressSanitizer: 72 byte(s) leaked in 3 allocation(s).
Attempting backtrace. You can use the following information to find out
==111254==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000035dd8ba bp 0x7ffdad54b540 sp 0x7ffdad54b450 T0)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /flash2/xunli/mariadb_10.6.11/mysys/my_read.c:63 in my_read
==113866==ERROR: LeakSanitizer: detected memory leaks
SUMMARY: AddressSanitizer: 48 byte(s) leaked in 2 allocation(s).
Attempting backtrace. You can use the following information to find out
==113866==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000035dd8ba bp 0x7fff31a75cc0 sp 0x7fff31a75bd0 T0)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /flash2/xunli/mariadb_10.6.11/mysys/my_read.c:63 in my_read
^ Found warnings in /flash2/xunli/mariadb_10.6.11/mysql-test/var-ps_row/15/log/mysqld.1.err
ok


Generated at Thu Feb 08 10:27:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.