1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 04:34:59 +00:00

Kernel: Don't try to symbolicate user addresses with ksyms

That's just not gonna work. :^)
This commit is contained in:
Andreas Kling 2021-02-03 11:08:23 +01:00
parent e1236dac3e
commit ac59903c89

View file

@ -1003,7 +1003,7 @@ String Thread::backtrace_impl()
ProcessPagingScope paging_scope(process);
for (auto& frame : stack_trace) {
if (is_user_range(VirtualAddress(frame), sizeof(FlatPtr) * 2)) {
recognized_symbols.append({ frame, symbolicate_kernel_address(frame) });
recognized_symbols.append({ frame });
} else {
recognized_symbols.append({ frame, symbolicate_kernel_address(frame) });
}