mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Kernel: Always dump_backtrace() on process crash.
This commit is contained in:
parent
0ba4ceb2cd
commit
4e88872c8e
Notes:
sideshowbarker
2024-07-19 14:05:44 +09:00
Author: https://github.com/awesomekling
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