Panic/SIGSEGV in unwind cleanup #66781
Labels
A-runtime
Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
C-bug
Category: This is a bug.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
We had a Rust (1.39.0 stable on x86_64-unknown-linux-gnu) service running on a server that started to exhaust its resources - in particular,
mmap
calls were returningENOMEM
. While in this state, the standard library's unwinding glue started encountering some issues:None
value:That corresponds to this unwrap here: https://github.com/rust-lang/rust/blob/1.39.0/src/libpanic_unwind/gcc.rs#L91.
__rust_maybe_catch_panic
:My guess is that the inability to mmap somehow put the unwinder in a bad place?
The text was updated successfully, but these errors were encountered: