mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 02:38:13 +00:00
Kernel: Always dump_backtrace() on process crash.
This commit is contained in:
parent
0ba4ceb2cd
commit
4e88872c8e
2 changed files with 2 additions and 1 deletions
|
@ -727,6 +727,8 @@ void Process::crash()
|
|||
ASSERT_INTERRUPTS_DISABLED();
|
||||
ASSERT(!is_dead());
|
||||
|
||||
dump_backtrace();
|
||||
|
||||
m_termination_signal = SIGSEGV;
|
||||
dump_regions();
|
||||
ASSERT(is_ring3());
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue