[Bug 255208] FATAL crash/reboot upon trying to mount a VirtualBox shared folder in FreeBSD guest (13.0 RELEASE)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 21 23:19:28 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255208

--- Comment #7 from Guido Falsi <madpilot at FreeBSD.org> ---
Created attachment 224342
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224342&action=edit
vboxvfs patch

Please disregard my comment #6

I think I found the problem, I'm attaching an untested patch. I'm going to test
it tomorrow myself.

I'm reasonably sure problem is caused by base commit 6fa079fc3f5e (svn r355790)
[1]

There a VFS_VOP_VECTOR_REGISTER() call is performed on the vnodeops struct. I'm
not sure what it does, but it missing could explain why a null function pointer
ends up being called.

If anyone wants to test, and report back they are welcome, but please note that
I have not even tried compiling it for now.


[1]
https://cgit.freebsd.org/src/commit/?id=6fa079fc3f5e7e120f166420c6f0c60f701ba9ae

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-emulation mailing list