Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.6, 10.11, 11.4, 11.2(EOL), 11.6(EOL)
-
None
-
Can result in hang or crash
Description
Remove PRAGMA_DISABLE_CHECK_STACK_FRAME inside InnoDB and also add
thread_local for big stack variable or make use of heap memory. Kindly note this
patch addresses only inside INNODB
How to test:
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS=-Wstack-usage=8192 -DMYSQL_MAINTAINER_MODE && make -j4
Above compilation shows what function exceeds the stage usage of 8192.
Attachments
Issue Links
- duplicates
-
MDEV-34388 mariadb-backup segfault on 10.4.8 and 11.4.2, under Alpine 3.20, 3.21 and 3.22
-
- Closed
-
- is part of
-
MDEV-34772 Overuse of big stackvariables results in stackoverflows
-
- Stalled
-
- relates to
-
MDEV-35705 mariadb-backup 10.11.10 segfault under Alpine 3.20
-
- Closed
-