Kernel: Debug lock is locked while dumping stack trace
This commit is contained in:
@@ -25,6 +25,8 @@ namespace Debug
|
||||
uintptr_t rip;
|
||||
};
|
||||
|
||||
SpinLockGuard _(s_debug_lock);
|
||||
|
||||
stackframe* frame = (stackframe*)__builtin_frame_address(0);
|
||||
if (!frame)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user