Opened 7 months ago

Closed 4 months ago

#14532 closed bug (fixed)

KDL: NULL dereference in _kern_read_stat

Reported by: mauritslamers Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/Development
Keywords: Cc: humdinger
Blocked By: Blocking: #13090, #14547, #14567
Has a Patch: no 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)

VirtualBox_HaikuOS_27_09_2018_09_00_13.png (27.6 KB) - added by mauritslamers 7 months ago.
screenshot of the initial kernel panic
VirtualBox_HaikuOS_27_09_2018_09_02_15.png (37.5 KB) - added by mauritslamers 7 months ago.
result of running bt

Download all attachments as: .zip

Change History (15)

Changed 7 months ago by mauritslamers

screenshot of the initial kernel panic

Changed 7 months ago by mauritslamers

result of running bt

comment:1 Changed 7 months ago by waddlesplash

Blocking: 14547 added

comment:2 Changed 7 months ago by waddlesplash

Component: - GeneralSystem/Kernel
Summary: Kernel crashKDL: NULL dereference in _kern_read_stat

Typing "bt" is useless; all this information is in the first screenshot.

comment:3 Changed 7 months ago by mauritslamers

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."

comment:4 Changed 7 months ago by waddlesplash

Cc: humdinger added

CC humdinger; can we remove that? It's not needed anymore.

comment:5 Changed 7 months ago by waddlesplash

The next time you run into this, please run: dis -b 10 at the KDL prompt and upload a screenshot of it.

comment:6 Changed 7 months ago by diver

Blocking: 14567 added

comment:7 Changed 7 months ago by diver

Does the crash happen with 32bit Haiku?

comment:8 in reply to:  4 Changed 7 months ago by humdinger

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 in reply to:  7 Changed 7 months ago by mauritslamers

Replying to diver:

Does the crash happen with 32bit Haiku?

Possibly not, I am only running the 64bit version of Haiku.

comment:10 Changed 7 months ago by korli

comment:11 Changed 7 months ago by waddlesplash

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 Changed 6 months ago by diver

Blocking: 13090 added

comment:13 Changed 4 months ago by waddlesplash

Resolution: fixed
Status: newclosed

Fixed in hrev52646.

Note: See TracTickets for help on using tickets.