diff --git a/kernel/src/trace/StackTracer.cpp b/kernel/src/trace/StackTracer.cpp index 48a49b64..40cb5202 100644 --- a/kernel/src/trace/StackTracer.cpp +++ b/kernel/src/trace/StackTracer.cpp @@ -20,7 +20,7 @@ typedef struct stackframe void StackTracer::trace() { stackframe* frame = (stackframe*)m_base_pointer; - while (frame) + while (frame && (uint64_t)frame > 0xfffffffff8000000) { char symbol_name[512]; get_symbol_name(frame->instruction, symbol_name);