Stack overflow in thread local's drop rendered as a segmentation fault. #109785
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-runtime
Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
thread 'main' has overflowed its stack fatal runtime error: stack overflow Aborted (core dumped)
Rationale and extra context
This should encounter a guard page and produce the expected diagnostic, but it does not.
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: