Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.

Run lua tests in release mode#37

Merged
ahomescu merged 1 commit intomasterfrom
ahomescu/b/fix_lua_stack_overflow
Dec 2, 2025
Merged

Run lua tests in release mode#37
ahomescu merged 1 commit intomasterfrom
ahomescu/b/fix_lua_stack_overflow

Conversation

@ahomescu
Copy link
Contributor

The lua test occasionally crashes with stack overflows. Build and run it in release mode so the compiler optimizes a lot of the stack variables away.

@@ -5,5 +5,5 @@ SCRIPT_DIR="$(cd "$(dirname "$0" )" && pwd)"

ulimit -s 16384 # debug build requires this much stack to pass tests
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we increase this limit instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running in release mode seems fine. We could also run in release with debug info mode if we want.

@ahomescu ahomescu merged commit cde8a01 into master Dec 2, 2025
2 checks passed
@ahomescu ahomescu deleted the ahomescu/b/fix_lua_stack_overflow branch December 2, 2025 06:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants