a VM such as windows or ubuntu that has a graphical desktop will not terminate the process using the power button inside the VM. If the VM does not have a graphical desktop suck as ubuntu server then it will shutdown from a terminal inside the VM fine. it seems the issue is with VNC. attached is a portion of a trace. Thread 1 (LWP 100934 of process 2646): #0 0x000000080083913c in ?? () from /lib/libthr.so.3 #1 0x000000080082f246 in ?? () from /lib/libthr.so.3 #2 0x000000080083759e in ?? () from /lib/libthr.so.3 #3 0x0000000807546d6b in rfbClientConnectionGone () from /usr/local/lib/libvncserver.so.0 #4 0x0000000807545b70 in rfbShutdownServer () from /usr/local/lib/libvncserver.so.0 #5 0x0000000807335f77 in ?? () from /usr/local/lib/virtualbox/ExtensionPacks/VNC/freebsd.amd64/VBoxVNC.so #6 0x00000008060e0ebd in ConsoleVRDPServer::Stop (this=0x801e09400) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/VBox/Main/src-client/ConsoleVRDPServer.cpp:3015 #7 0x00000008060864b2 in Console::i_powerDown (this=0x801d14c00, aProgress=0x810032f20) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/VBox/Main/src-client/ConsoleImpl.cpp:7632 #8 0x00000008060a95f7 in Console::i_powerDownThreadTask (pTask=0x810033100) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/VBox/Main/src-client/ConsoleImpl.cpp:10054 #9 0x000000080606d7bc in ThreadTask::taskHandlerThreadProc (pvUser=0x810033100) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/VBox/Main/src-all/ThreadTask.cpp:123 ---Type <return> to continue, or q <return> to quit--- #10 0x00000008020fe1cc in rtThreadMain (pThread=0x801c2b000, NativeThread=<optimized out>, pszThreadName=0x0) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/VBox/Runtime/common/misc/thread.cpp:717 #11 0x000000080217ae2e in rtThreadNativeMain (pvArgs=0x801c2b000) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/VBox/Runtime/r3/posix/thread-posix.cpp:327 #12 0x000000080082d855 in ?? () from /lib/libthr.so.3 #13 0x0000000000000000 in ?? ()
if you disconnect from VNC before OS sends the ACPI command "power off" then it will power off fine. if you do not disconect in time the process will hang.
I see same issue on my 5 servers. Hosts: 10.3-p7 amd64, virtualbox 4.3.38 and 5.0.26. Guest any: FreeBSD 10.3 amd64, CentOS/RHEL/Oracle Linux 6.x amd64, Win7/2008 32/64bit. Issue was appeared after update net/libvncserver from 0.9.9 to 0.9.10: https://svnweb.freebsd.org/ports?view=revision&revision=417416.
Assign to maintainer
after downgrading libvncserver.so.0 as vvd suggested the problem will go away. so it seems that the problem is with net/libvncserver
tony, port net/libvncserver was updated to version 0.9.11 - can you test it?
(In reply to vvd from comment #5) seems to have the same issue. you still need to disconnect from VNC before OS sends the ACPI command "power off" then it will power off fine. if you do not disconnect in time the process will hang.
I have the same issue with VirtualBox 5.1.18 r114002 and lbvncserver 0.9.11 on FreeBsd 11.0 p09
We have 5.2.4. Overcome by events?
(In reply to w.schwarzenfeld from comment #8) > We have 5.2.4. Overcome by events? No. Bug still exist with all versions of VirtaulBox and net/libvncserver 0.9.9+.
I am seeing this issue also. I thought it was a FreeBSD bug (I raised: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228089) but it's obviously a VirtualBox related.
(In reply to devnull from comment #10) Fixed after update libvncserver https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234929
Close here , see comment11. *** This bug has been marked as a duplicate of bug 234929 ***
It isn't Duplicate, it's Overcome By Events.