Kernel: Debug lock is locked while dumping stack trace

This commit is contained in:
Bananymous 2024-03-09 23:52:06 +02:00
parent 45d6caa1d0
commit 2323a55517
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ namespace Debug
uintptr_t rip;
};
SpinLockGuard _(s_debug_lock);
stackframe* frame = (stackframe*)__builtin_frame_address(0);
if (!frame)
{