#14532 closed bug (fixed)
KDL: NULL dereference in _kern_read_stat
Reported by: | mauritslamers | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | Cc: | humdinger | |
Blocked By: | Blocking: | #13090, #14547, #14567 | |
Platform: | All |
Description
Coming back this morning to my VirtualBox Haiku (which ran through the night) I was greeted with a kernel panic caused by a page fault. Attached are two screen shots, the first is the crash itself, the second is the result of running bt in the kernel debug console.
Attachments (2)
Change History (16)
by , 6 years ago
Attachment: | VirtualBox_HaikuOS_27_09_2018_09_00_13.png added |
---|
comment:1 by , 6 years ago
Blocking: | 14547 added |
---|
comment:2 by , 6 years ago
Component: | - General → System/Kernel |
---|---|
Summary: | Kernel crash → KDL: NULL dereference in _kern_read_stat |
Typing "bt" is useless; all this information is in the first screenshot.
comment:3 by , 6 years ago
I used "bt" as the page about reporting bugs suggests it (https://www.haiku-os.org/docs/welcome/en/bugreports.html (under Kernel debugging land) "Prints a back trace. If the system entered KDL on its own volition, always enter that one."
follow-up: 8 comment:4 by , 6 years ago
Cc: | added |
---|
CC humdinger; can we remove that? It's not needed anymore.
comment:5 by , 6 years ago
The next time you run into this, please run: dis -b 10
at the KDL prompt and upload a screenshot of it.
comment:6 by , 6 years ago
Blocking: | 14567 added |
---|
comment:8 by , 6 years ago
Replying to waddlesplash:
CC humdinger; can we remove that? It's not needed anymore.
Done. I copied text from the ReportingBugs wiki page.
comment:9 by , 6 years ago
Replying to diver:
Does the crash happen with 32bit Haiku?
Possibly not, I am only running the 64bit version of Haiku.
comment:10 by , 6 years ago
Seems to happen at https://git.haiku-os.org/haiku/tree/src/system/kernel/fs/vfs.cpp#n9535 (descriptor->ops is NULL).
comment:11 by , 6 years ago
That sounds an awful lot like the panic at http://xref.plausible.coop/source/xref/haiku/src/system/kernel/fs/vfs.cpp#7528 -- that fs_volume ops is NULL. That seems too similar to be a coincidence to me?
That panic is somewhat tricky to trigger; it happens under certain automount configurations. But once it starts happening, it seems to always happen until the automount file is deleted.
comment:12 by , 6 years ago
Blocking: | 13090 added |
---|
comment:14 by , 5 years ago
Milestone: | Unscheduled → R1/beta2 |
---|
Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone
screenshot of the initial kernel panic