Skip to content

Commit e534046

Browse files
alexbudfbfacebook-github-bot
authored andcommitted
mtr: Disable main.sp in ASAN
Summary: Similar to execution_constants, this test too exercises deep recursion with the expectation that `check_stack_overrun` will catch it. Due to the increase of the thread stack to 10MB in ASAN, we hit the Bison stack limit before the thread's. Disable in ASAN mode. Differential Revision: D51234513 fbshipit-source-id: 0533bb96e12ff27f09a6c621ad320c8b9fde852e
1 parent e51b99e commit e534046

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mysql-test/t/sp.test

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
# ER_STACK_OVERRUN_NEED_MORE does not currenly work well with TSan
1+
# ER_STACK_OVERRUN_NEED_MORE does not currenly work well with TSan or ASan.
2+
# In ASan we bump the thread stack size significantly (to 10MB) and thus the
3+
# Bison parser stack is exceeded far sooner than the thread's stack.
24
--source include/not_tsan.inc
5+
--source include/not_asan.inc
36

47
--source include/no_valgrind_without_big.inc
58
# Thread stack overrun in debug mode on sparc

0 commit comments

Comments
 (0)