ZIm/crates/crashes
Julia Ryan c5ee3f3e2e
Avoid suspending panicking thread while crashing (#36645)
On the latest build @maxbrunsfeld got a panic that hung zed. It appeared
that the hang occured after the minidump had been successfully written,
so our theory on what happened is that the `suspend_all_other_threads`
call in the crash handler suspended the panicking thread (due to the
signal from simulate_exception being received on a different thread),
and then when the crash handler returned everything was suspended so the
panic hook never made it to the `process::abort`.

This change makes the crash handler avoid _both_ the current and the
panicking thread which should avoid that scenario.

Release Notes:

- N/A
2025-08-21 10:33:45 +00:00
..
src Avoid suspending panicking thread while crashing (#36645) 2025-08-21 10:33:45 +00:00
Cargo.toml Suspend macOS threads during crashes (#36520) 2025-08-19 14:31:13 -07:00
LICENSE-GPL Add minidump crash reporting (#35263) 2025-08-04 18:19:42 -07:00