浏览代码

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

That's just not gonna work. :^)
Andreas Kling 4 年之前
父节点
当前提交
ac59903c89
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Kernel/Thread.cpp

+ 1 - 1
Kernel/Thread.cpp

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