Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-130396: Fix thread sanitizer crashes on stack overflow tests #130966

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented Mar 7, 2025

Thread sanitizer will often crash if a test uses more than half the stack.

Thread sanitizer will often crash if a test uses more than half the
stack.
@colesbury
Copy link
Contributor Author

For example the following previously crashed with SIGBUS on exit, but works with the PR:

./python -m test -u cpu test_descr -m test_wrapper_segfault -v

I tested with reduce stack sizes as well (ulimit -s 4096 and ulimit -s 2048).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant