1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:48:14 +00:00

Kernel: Always dump_backtrace() on process crash.

This commit is contained in:
Andreas Kling 2019-05-16 19:49:48 +02:00
parent 0ba4ceb2cd
commit 4e88872c8e
2 changed files with 2 additions and 1 deletions

View file

@ -727,6 +727,8 @@ void Process::crash()
ASSERT_INTERRUPTS_DISABLED();
ASSERT(!is_dead());
dump_backtrace();
m_termination_signal = SIGSEGV;
dump_regions();
ASSERT(is_ring3());