mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:38:13 +00:00
Kernel: Disable interrupts throughout Thread::raw_backtrace()
Otherwise we may hit an assertion when validating stack addresses.
This commit is contained in:
parent
79e06e8308
commit
8b6d548b55
1 changed files with 1 additions and 0 deletions
|
@ -816,6 +816,7 @@ String Thread::backtrace_impl() const
|
|||
|
||||
Vector<uintptr_t> Thread::raw_backtrace(uintptr_t ebp) const
|
||||
{
|
||||
InterruptDisabler disabler;
|
||||
auto& process = const_cast<Process&>(this->process());
|
||||
ProcessPagingScope paging_scope(process);
|
||||
Vector<uintptr_t, Profiling::max_stack_frame_count> backtrace;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue