-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Description
I'm migrating to v0.15.0, found that a VirtualAddr
panic is triggered when the page table called clean_up
.
It caused by the new
function introduced in #370.
trace!("Free page table: {:#x}", page_table.reg.addr.start_address());
mapper.clean_up(frame_deallocator);
[T] Clean up page table for sh#2
[T] Free segment: [0x111100000000 -> 0x111100001000) (2 pages)
[T] Free segment: [0x111100002000 -> 0x111100009000) (8 pages)
[T] Free segment: [0x11110000a000 -> 0x11110000b000) (2 pages)
[T] Free segment: [0x11110000c000 -> 0x11110000c000) (1 pages)
[T] Free page table: 0x163000
[E] pkg/kernel/src/utils/macros.rs @ 136
ERROR: panicked at .../x86_64-0.15.0/src/addr.rs @ 75:23
virtual address must be sign extended in bits 48 to 64
But since my kernel doesn't have backtrace, I am trying to find out why this is happening through step-by-step debugging.
Metadata
Metadata
Assignees
Labels
No labels