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