Opened 12 months ago

Closed 9 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 12 months ago.
screenshot of the initial kernel panic
VirtualBox_HaikuOS_27_09_2018_09_02_15.png (37.5 KB ) - added by mauritslamers 12 months ago.
result of running bt

Download all attachments as: .zip

Change History (15)

by mauritslamers, 12 months ago

screenshot of the initial kernel panic

by mauritslamers, 12 months ago

result of running bt

comment:1 by waddlesplash, 12 months ago

Blocking: 14547 added

comment:2 by waddlesplash, 12 months ago

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 by mauritslamers, 12 months 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."

comment:4 by waddlesplash, 12 months ago

Cc: humdinger added

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

comment:5 by waddlesplash, 12 months 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 diver, 12 months ago

Blocking: 14567 added

comment:7 by diver, 12 months ago

Does the crash happen with 32bit Haiku?

in reply to:  4 comment:8 by humdinger, 12 months ago

Replying to waddlesplash:

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

Done. I copied text from the ReportingBugs wiki page.

in reply to:  7 comment:9 by mauritslamers, 12 months ago

Replying to diver:

Does the crash happen with 32bit Haiku?

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

comment:11 by waddlesplash, 12 months 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 diver, 11 months ago

Blocking: 13090 added

comment:13 by waddlesplash, 9 months ago

Resolution: fixed
Status: newclosed

Fixed in hrev52646.

Note: See TracTickets for help on using tickets.