Summary: | emulators/virtualbox-ose: virtualbox gui core dumps | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Yuri Dolgoruki <urtp5> |
Component: | Individual Port(s) | Assignee: | Virtualbox Team (Nobody) <vbox> |
Status: | Open --- | ||
Severity: | Affects Only Me | CC: | danilo, grahamperrin |
Priority: | --- | Keywords: | crash, needs-qa |
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(vbox) |
Hardware: | amd64 | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270189 |
Description
Yuri Dolgoruki
2023-03-10 18:08:11 UTC
For me with recent CURRENT, the GUI (Oracle VM VirtualBox Manager) opens without crashing. % uname -aKU FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #34 main-n261465-22bf2a479f68: Sun Mar 12 05:18:09 GMT 2023 grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400082 1400082 % Hello, I'm also experiencing a reproducible crash with virtualbox on FreeBSD-CURRENT. I even tried to update the port to 6.1.44 but it didn't help. I've found the problem when working on minikube, VBoxManage will crash when trying to create a VM. For me both VBoxSVC and VBoxManage (called by minikube) crash. This is the stackstrace for VBoxSVC, it's caused by a NULL pointer. It happens when I try to create a VM using the GUI. VirtualBox::registerMachine (this=0x843b67000, aMachine=...) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/src/VBox/Main/src-server/VirtualBoxImpl.cpp:2047 2047 rc = aMachine->COMGETTER(Name)(name.asOutParam()); (gdb) bt #0 VirtualBox::registerMachine (this=0x843b67000, aMachine=...) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/src/VBox/Main/src-server/VirtualBoxImpl.cpp:2047 #1 0x00000000006ac332 in VirtualBoxWrap::RegisterMachine (this=0x843b67000, aMachine=0x0) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44/out/freebsd.amd64/release/obj/VBoxAPIWrap/VirtualBoxWrap.cpp:1585 #2 0x000000083a77132a in ?? () from /usr/local/lib/virtualbox/components/VBoxXPCOMIPCC.so #3 0x000000083a76ec7e in ?? () from /usr/local/lib/virtualbox/components/VBoxXPCOMIPCC.so #4 0x00000008219957b8 in ?? () from /usr/local/lib/virtualbox/VBoxXPCOM.so #5 0x00000008219c6ed1 in ?? () from /usr/local/lib/virtualbox/VBoxXPCOM.so #6 0x0000000824795afc in ?? () from /usr/local/lib/virtualbox/VBoxRT.so #7 0x00000008248481fe in ?? () from /usr/local/lib/virtualbox/VBoxRT.so #8 0x000000082899bac8 in thread_start (curthread=0x83d9e3400) at /usr/src/lib/libthr/thread/thr_create.c:292 #9 0x0000000000000000 in ?? () Backtrace stopped: Cannot access memory at address 0x859e80000 (gdb) This is my system: FreeBSD capeta 14.0-CURRENT FreeBSD 14.0-CURRENT #1 main-n262312-2e6cdfe29355: Wed Apr 19 09:35:50 IST 2023 danilo@capeta:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 After reading this bug report [1] I tried to rebuild emulators/virtualbox-ose-nox11 with clang14 and it worked. Apparently clang15 from current is messing up with something... [1] - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270189 |