1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-34388 default stack size under MSAN needs increasing

Without this increase the mtr test case pre/post conditions will
fail as the stack usage has increased under MSAN with clang-20.1.

ASAN takes a 11M stack, however there was no obvious gain in MSAN
test success after 2M.

The resulting behaviour observed on smaller stack size was a
SEGV normally.

Hide the default stack size from the sysvar tests that expose
thread-stack as a variable with its default value.
This commit is contained in:
Daniel Black
2025-03-20 09:24:37 +11:00
parent 2811559337
commit 8d2665e56b
4 changed files with 13 additions and 3 deletions

View File

@@ -3,6 +3,7 @@
#
--source include/not_asan.inc
--source include/not_ubsan.inc
--source include/not_msan.inc
--replace_result 392192 299008
select @@global.thread_stack;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR