mariadb/storage
Thirunarayanan Balathandayuthapani 4be442ec35 MDEV-36962 innodb.log_file_overwrite fails with ASAN
Problem:
=======
- InnoDB unpoisons the freed page memory to make sure that
no other thread uses this freed page. In buf_pool_t::close(),
InnoDB unmap() the buffer pool memory during shutdown or it
encountered during startup. Later at some point, server
re-uses the same virtual address using mmap() and writes into
memory region. This leads to use_after_poison error.

This issue doesn't happen in latest clang and gcc version.
Older version of clang and gcc can still fail with this error.
ASAN should unpoison the memory while reusing the same virtual
address. This issue was already raised in
https://github.com/google/sanitizers/issues/1705

Fix:
===
In order to avoid this failure, let's unpoison the buffer
pool memory explictly during buf_pool_t::close() for
lesser than gcc-14 and clang-18 version.
2025-06-18 15:31:28 +10:00
..
archive Merge 10.6 into 10.11 2024-06-27 10:26:09 +03:00
blackhole MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
columnstore Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
connect Bug#1069094: mariadb: FTBFS on hurd-i386 2025-06-18 09:11:28 +10:00
csv Merge 10.6 into 10.11 2024-11-29 13:43:17 +02:00
example MDEV-36729: ha_example::show_func_example is incorrectly defined 2025-05-29 10:10:52 +10:00
federated Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
federatedx Merge branch '10.6' into '10.11' 2025-04-16 03:34:40 +02:00
heap Merge 10.5 into 10.6 2025-01-20 09:57:37 +02:00
innobase MDEV-36962 innodb.log_file_overwrite fails with ASAN 2025-06-18 15:31:28 +10:00
maria Merge branch '10.6' into 10.11 2025-06-04 14:09:23 +02:00
mroonga Merge branch '10.6' into 10.11 2025-06-04 14:09:23 +02:00
myisam Merge 10.6 into 10.11 2025-05-26 08:10:47 +03:00
myisammrg Merge 10.6 into 10.11 2025-01-08 12:51:26 +02:00
oqgraph Merge 10.6 into 10.11 2024-11-29 13:43:17 +02:00
perfschema Merge 10.6 into 10.11 2025-05-21 07:36:35 +03:00
rocksdb MDEV-37001 Enable building RocksDB on non-Linux aarch64 OSes 2025-06-13 15:39:30 +10:00
sequence MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sphinx Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
spider Merge 10.6 into 10.11 2025-05-21 07:36:35 +03:00
test_sql_discovery Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00