diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index c6e8ea4949..d1db77623c 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -727,6 +727,8 @@ void Process::crash() ASSERT_INTERRUPTS_DISABLED(); ASSERT(!is_dead()); + dump_backtrace(); + m_termination_signal = SIGSEGV; dump_regions(); ASSERT(is_ring3()); diff --git a/Kernel/i386.cpp b/Kernel/i386.cpp index 7e4953f591..5cc745018c 100644 --- a/Kernel/i386.cpp +++ b/Kernel/i386.cpp @@ -281,7 +281,6 @@ void exception_14_handler(RegisterDumpWithExceptionCode& regs) regs.exception_code & 2 ? "write" : "read", faultAddress); dump(regs); - dump_backtrace(); current->process().crash(); } else if (response == PageFaultResponse::Continue) { #ifdef PAGE_FAULT_DEBUG