Opened 4 years ago
Closed 22 months ago
#16936 closed bug (fixed)
KDL when calling _kernel_map_file with negative offset
Reported by: | X512 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta5 |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
This is hrev54982.
Found when working on RISC-V port.
PANIC: ASSERT FAILED (../src/system/kernel/device_manager/IORequest.cpp:758): offset >= 0 Welcome to Kernel Debugging Land... Thread 146 "launch_daemon" running on CPU 0 Stack: FP: 0x80b30360, PC: <kernel_riscv64> _ZL20kernel_debugger_loopPKcS0_Pvi + 243 FP: 0x80b303d0, PC: <kernel_riscv64> _ZL24kernel_debugger_internalPKcS0_Pvi + 131 FP: 0x80b30410, PC: <kernel_riscv64> panic + 93 FP: 0x80b304c0, PC: <kernel_riscv64> _ZN9IORequest4InitElmmPK14generic_io_vecmmbj.localalias.11 + 221 FP: 0x80b30530, PC: <kernel_riscv64> _Z27vfs_asynchronous_read_pagesP5vnodePvlPK14generic_io_vecmmjP15AsyncIOCallback + 81 FP: 0x80b305c0, PC: <kernel_riscv64> cache_prefetch_vnode.localalias.0 + 451 FP: 0x80b307b0, PC: <kernel_riscv64> _ZL12_vm_map_fileiPKcPPvjmjjbilb + 833 FP: 0x80b30870, PC: <kernel_riscv64> _user_map_file + 199 FP: 0x80b308b0, PC: <kernel_riscv64> syscall_dispatcher + 1401 FP: 0x80b308f0, PC: <kernel_riscv64> STrap + 257 FP: 0x80b309f0, PC: <kernel_riscv64> SVecU + 111 FP: 0xffffffed13a64a40, PC: <runtime_loader_seg0ro> 0x152a7 FP: 0xffffffed13a65f60, PC: <runtime_loader_seg0ro> 0xd2af FP: 0xffffffed13a65fc0, PC: <runtime_loader_seg0ro> 0xb701 FP: 0xffffffed13a66000, PC: <runtime_loader_seg0ro> 0x11f73 FP: 0x0, PC: <kernel_riscv64> _ZL15enter_userspacePN7BKernel6ThreadEP24UserThreadEntryArguments + 67
Change History (3)
comment:1 by , 4 years ago
Description: | modified (diff) |
---|
comment:2 by , 22 months ago
comment:3 by , 22 months ago
Milestone: | Unscheduled → R1/beta5 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
https://review.haiku-os.org/c/haiku/+/6093