Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.6, 10.11, 11.2(EOL), 11.4, 11.6(EOL)
-
None
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
- is part of
-
MDEV-34772 Overuse of big stackvariables results in stackoverflows
- Stalled