Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#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)

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

Download all attachments as: .zip

Change History (16)

by mauritslamers, 6 years ago

screenshot of the initial kernel panic

by mauritslamers, 6 years ago

result of running bt

comment:1 by waddlesplash, 6 years ago

Blocking: 14547 added

comment:2 by waddlesplash, 6 years 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, 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."

comment:4 by waddlesplash, 6 years ago

Cc: humdinger added

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

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

Blocking: 14567 added

comment:7 by diver, 6 years ago

Does the crash happen with 32bit Haiku?

in reply to:  4 comment:8 by humdinger, 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.

in reply to:  7 comment:9 by mauritslamers, 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:11 by waddlesplash, 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 diver, 6 years ago

Blocking: 13090 added

comment:13 by waddlesplash, 6 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev52646.

comment:14 by nielx, 5 years ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.