Opened 13 years ago
Closed 13 years ago
#412 closed defect (fixed)
Kernel test mapping1 fails
Reported by: | Martin Sucha | Owned by: | Jakub Jermář |
---|---|---|---|
Priority: | major | Milestone: | 0.5.0 |
Component: | helenos/kernel/amd64 | Version: | mainline |
Keywords: | Cc: | ||
Blocker for: | Depends on: | ||
See also: |
Description
Running test mapping1
from kconsole causes kernel panic on amd64.
The issue is not reproducible on ia32.
HelenOS: mainline,1396
Platform: amd64
QEMU: QEMU PC emulator version 0.12.5 (qemu-kvm-0.12.5)
Attachments (1)
Change History (3)
by , 13 years ago
Attachment: | mapping1-fail.png added |
---|
comment:1 by , 13 years ago
iswithin()
calculates the end address by summing the base address and the size. The argument is 64-bit, so there will be no overflow on 32-bit systems. But on 64-bit systems, there may be an overflow. This is what happens in the 64-bit version of ra_free(), for example on amd64, when the respective span uses up the end of the address space.
Note:
See TracTickets
for help on using tickets.
Screenshot of the problem