VM hangs after VBoxManage controlvm acpipowerbutton/poweroff

This is for discussing general topics about how to use VirtualBox.

VM hangs after VBoxManage controlvm acpipowerbutton/poweroff

Postby jernst » 1. Dec 2014, 07:10

This used to work, perhaps a recent upgrade (4.3.20?) changed the behavior. Anybody else seeing this?

I'm scripting startup and teardown of some VMs using VBoxManage. After the VM has done its job, I execute:

Code: Select all   Expand viewCollapse view
VBoxManage controlvm xxx acpipowerbutton

and wait. The VNC console displays:

Code: Select all   Expand viewCollapse view
cgroup: option or name misatch, new: 0x0 "", old: 0x4 "systemd"
reboot: Power down

of which I understand, the first line is harmless. The second one seems to say that VM has stopped. Except that on the host, I can't proceed:

Code: Select all   Expand viewCollapse view
# VBoxManage unregistervm --delete xxx
VBoxManage: error: Cannot unregister the machine 'xxx' while it is locked
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component Machine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "Unregister(CleanupMode_DetachAllReturnHardDisksOnly, ComSafeArrayAsOutParam(aMedia))" at line 158 of file VBoxManageMisc.cpp

or:

Code: Select all   Expand viewCollapse view
VBoxManage controlvm xxx poweroff
VBoxManage: error: The virtual machine is being powered down
VBoxManage: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component Console, interface IConsole, callee nsISupports
VBoxManage: error: Context: "PowerDown(progress.asOutParam())" at line 222 of file VBoxManageControlVM.cpp

This is Arch Linux both on the host and in the VM:

Code: Select all   Expand viewCollapse view
# pacman -Qi virtualbox
Name           : virtualbox
Version        : 4.3.20-1
# uname -a
Linux itsi 3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:14:42 CET 2014 x86_64 GNU/Linux

A few more choice lines in case that is helpful:

Code: Select all   Expand viewCollapse view
#  VBoxManage showvminfo xxx
...
State:           stopping (since 2014-12-01T04:44:15.264000000)
...
OS type:                             Linux26_64
Additions run level:                 1
Additions version:                   4.3.20_OSE r96996
...
Guest Facilities:
Facility "VirtualBox Base Driver": active/running (last update: 2014/12/01 04:28:46 UTC)
Facility "VirtualBox System Service": terminated (last update: 2014/12/01 04:28:53 UTC)
Facility "Seamless Mode": not active (last update: 2014/12/01 04:28:46 UTC)
Facility "Graphics Mode": not active (last update: 2014/12/01 04:28:46 UTC)

I have two virtual NIC and two virtual drives attached to the VM.

The only way I found to get rid of the VM seems to be to reboot the host, at which point I can unregister and delete. Any ideas what else I could do?

Addition 2014-12-01: The log file for the VM ends with this:
Code: Select all   Expand viewCollapse view
00:06:22.934318 Entering S5 power state (power down)
00:06:22.934383 Changing the VM state from 'RUNNING' to 'POWERING_OFF'.
00:06:22.934406 ****************** Guest state at power off ******************
00:06:22.934414 Guest CPUM (VCPU 0) state:
<<lots of register values>>
00:06:22.934769 ***
00:06:22.934775 ************** End of Guest state at power off ***************
00:06:22.964894 PDMR3PowerOff: 30 079 687 ns run time
00:06:22.964933 Changing the VM state from 'POWERING_OFF' to 'OFF'.
00:06:22.965873 Console::powerDown(): A request to power off the VM has been issued (mMachineState=Stopping, InUninit=0)

Is that supposed to be "Stopped" after some time because it is still "Stopping"? What exactly is supposed to be happening still after this point?

Update 2015-01-08: The machine also hangs after I execute VBoxManage poweroff, not just acpipowerbutton. The VBoxManage poweroff never returns.
Last edited by jernst on 9. Jan 2015, 03:25, edited 1 time in total.
jernst
 
Posts: 26
Joined: 20. Sep 2013, 19:31
Primary OS: Other
VBox Version: OSE other
Guest OSses: Arch. UBOS.

Re: VM hangs after VBoxManage controlvm acpipowerbutton

Postby jernst » 7. Jan 2015, 20:00

I created a brand-new install of virtualbox on a brand-new install of Arch linux. Same problem occurs. Very frustrating. How can I debug this?
jernst
 
Posts: 26
Joined: 20. Sep 2013, 19:31
Primary OS: Other
VBox Version: OSE other
Guest OSses: Arch. UBOS.

Re: VM hangs after VBoxManage controlvm acpipowerbutton/powe

Postby frank » 9. Jan 2015, 10:01

Is the VM process still running? In that case, install the debug symbols of the VirtualBox package. As you are using the package from your Linux distribution, I hope Arch Linux provides the debug symbols as well. Then attach to the VM process with gdb. Make sure to start gdb as root. After attaching, execute the gdb command 'thread apply all bt' and attach the output here.
frank
Oracle Corporation
 
Posts: 3362
Joined: 7. Jun 2007, 09:11
Location: Dresden, Germany
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows

Re: VM hangs after VBoxManage controlvm acpipowerbutton/powe

Postby jernst » 9. Jan 2015, 23:53

Thanks, Frank. I can't see any virtualbox packages in Arch with debug symbols, so I've recompiled the Arch packages with
Code: Select all   Expand viewCollapse view
kmk BUILD_TYPE=debug

per https://www.virtualbox.org/wiki/Linux%2 ... structions in all places where the PKGBUILD file previously had kmk without arguments. (see https://projects.archlinux.org/svntogit ... virtualbox )

It produces a bunch of different executables, and I'm not sure exactly which is which, but I picked one and I now have a
Code: Select all   Expand viewCollapse view
/usr/lib/virtualbox/VBoxHeadless

that says it is not stripped and is the path being invoked.

This is what gdb says once the VM has become unresponsive at 'poweroff'. This was with an attached VNC client:
Code: Select all   Expand viewCollapse view
gdb /usr/lib/virtualbox/VBoxHeadless 3579
(gdb) thread apply all bt

Thread 31 (Thread 0x7ff1a7bc8700 (LWP 5813)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff21ede191b in ?? () from /usr/lib/libvncserver.so.0
#2  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 30 (Thread 0x7ff1d71ff700 (LWP 5812)):
#0  0x00007ff22a795193 in select () from /usr/lib/libc.so.6
#1  0x00007ff21ede1ea9 in ?? () from /usr/lib/libvncserver.so.0
#2  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 29 (Thread 0x7ff22af40700 (LWP 5811)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff21ede3b6d in rfbClientConnectionGone () from /usr/lib/libvncserver.so.0
#2  0x00007ff21ede308a in rfbShutdownServer () from /usr/lib/libvncserver.so.0
#3  0x00007ff21f03a1f9 in VNCServerImpl::VRDEDestroy (hServer=0x7ff20c024660) at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/ExtPacks/VNC/VBoxVNC.cpp:191
#4  0x00007ff21fcc9fff in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#5  0x00007ff21fc9045b in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#6  0x00007ff21fc90e22 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#7  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#9  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 28 (Thread 0x7ff1f007e700 (LWP 4399)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff225d010a4 in VBoxNsprPR_WaitCondVar () from /usr/lib/virtualbox/VBoxXPCOM.so
#2  0x00007ff225d01334 in VBoxNsprPR_Wait () from /usr/lib/virtualbox/VBoxXPCOM.so
#3  0x00007ff225a53b9f in ?? () from /usr/lib/virtualbox/components/VBoxXPCOMIPCC.so
#4  0x00007ff225cf0517 in ?? () from /usr/lib/virtualbox/VBoxXPCOM.so
#5  0x00007ff225cffddb in ?? () from /usr/lib/virtualbox/VBoxXPCOM.so
---Type <return> to continue, or q <return> to quit---
#6  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 27 (Thread 0x7ff22b084700 (LWP 3582)):
#0  0x00007ff22a79344d in poll () from /usr/lib/libc.so.6
#1  0x00007ff225d031be in ?? () from /usr/lib/virtualbox/VBoxXPCOM.so
#2  0x00007ff225d04b8f in VBoxNsprPR_Poll () from /usr/lib/virtualbox/VBoxXPCOM.so
#3  0x00007ff225a5652d in ?? () from /usr/lib/virtualbox/components/VBoxXPCOMIPCC.so
#4  0x00007ff225cffddb in ?? () from /usr/lib/virtualbox/VBoxXPCOM.so
#5  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 26 (Thread 0x7ff22b063700 (LWP 3583)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff225d010a4 in VBoxNsprPR_WaitCondVar () from /usr/lib/virtualbox/VBoxXPCOM.so
#2  0x00007ff225d01334 in VBoxNsprPR_Wait () from /usr/lib/virtualbox/VBoxXPCOM.so
#3  0x00007ff225a53b9f in ?? () from /usr/lib/virtualbox/components/VBoxXPCOMIPCC.so
#4  0x00007ff225cf0517 in ?? () from /usr/lib/virtualbox/VBoxXPCOM.so
#5  0x00007ff225cffddb in ?? () from /usr/lib/virtualbox/VBoxXPCOM.so
#6  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 25 (Thread 0x7ff22b042700 (LWP 3584)):
#0  0x00007ff22ac67c78 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff22a3e8edd in RTSemEventWait () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff21fd23e10 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
---Type <return> to continue, or q <return> to quit---
#4  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 24 (Thread 0x7ff22afc1700 (LWP 3586)):
#0  0x00007ff22ac67c78 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff22a3e8edd in RTSemEventWait () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff22a3b8e03 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#4  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 23 (Thread 0x7ff21f2bd700 (LWP 3588)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff22a3e9482 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff21fd67726 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007ff21fd67b95 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#4  0x00007ff21fd69f3b in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#5  0x00007ff21fd671d2 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#6  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 21 (Thread 0x7ff21d1fa700 (LWP 3590)):
#0  0x00007ff22a794a87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007ff22a3f0b4d in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff22a3ed986 in SUPR3CallVMMR0Ex () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007ff224efc43b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#4  0x00007ff224efd3d2 in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#5  0x00007ff224e8f861 in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#6  0x00007ff224efd643 in ?? () from /usr/lib/virtualbox/VBoxVMM.so
---Type <return> to continue, or q <return> to quit---
#7  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#9  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 20 (Thread 0x7ff21cf98700 (LWP 3594)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff22a3e9482 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff21fd67726 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007ff21fd67b95 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#4  0x00007ff21fd687bb in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#5  0x00007ff21fd671d2 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#6  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 19 (Thread 0x7ff21c11c700 (LWP 3635)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff22a3e9482 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff21fd67726 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007ff21fd67b95 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#4  0x00007ff21fd687bb in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#5  0x00007ff21fd671d2 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#6  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 18 (Thread 0x7ff21c09b700 (LWP 3636)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff22a3e9482 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff21fd67726 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
---Type <return> to continue, or q <return> to quit---
#3  0x00007ff21fd67b95 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#4  0x00007ff21fd687bb in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#5  0x00007ff21fd671d2 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#6  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 17 (Thread 0x7ff2035dd700 (LWP 3637)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff22a3e9482 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff21fd67726 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007ff21fd67b95 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#4  0x00007ff21fd687bb in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#5  0x00007ff21fd671d2 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#6  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 16 (Thread 0x7ff201cf5700 (LWP 3638)):
#0  0x00007ff22a6e891f in do_sigwaitinfo () from /usr/lib/libc.so.6
#1  0x00007ff22a6e89bd in sigwaitinfo () from /usr/lib/libc.so.6
#2  0x00007ff22a3e6a05 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#4  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 15 (Thread 0x7ff201c74700 (LWP 3639)):
#0  0x00007ff22ac6aa8d in nanosleep () from /usr/lib/libpthread.so.0
#1  0x00007ff22a3e6579 in RTThreadSleep () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff224fbed5a in ?? () from /usr/lib/virtualbox/VBoxVMM.so
---Type <return> to continue, or q <return> to quit---
#3  0x00007ff224eb2f6b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#4  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 14 (Thread 0x7ff20098d700 (LWP 3640)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff22a3e9482 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff21fd67726 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007ff21fd67b95 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#4  0x00007ff21fd687bb in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#5  0x00007ff21fd671d2 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#6  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 13 (Thread 0x7ff200703700 (LWP 3641)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff22a3e8fa0 in RTSemEventWait () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff224fbeb47 in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#3  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#4  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7ff200682700 (LWP 3718)):
#0  0x00007ff22a794a87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007ff22a3f0b4d in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff22a3eb689 in SUPSemEventWaitNoResume () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007ff2012e1cec in ?? () from /usr/lib/virtualbox/VBoxDD.so
#4  0x00007ff224eb2e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
---Type <return> to continue, or q <return> to quit---
#5  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7ff200601700 (LWP 3752)):
#0  0x00007ff22a794a87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007ff22a3f0b4d in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff22a3eb689 in SUPSemEventWaitNoResume () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007ff2012e1cec in ?? () from /usr/lib/virtualbox/VBoxDD.so
#4  0x00007ff224eb2e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#5  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7ff200580700 (LWP 3753)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff22a3e8fa0 in RTSemEventWait () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff2012f4a69 in ?? () from /usr/lib/virtualbox/VBoxDD.so
#3  0x00007ff224eb2e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#4  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7ff20055f700 (LWP 3754)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff22a3e8fa0 in RTSemEventWait () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff2012f49d9 in ?? () from /usr/lib/virtualbox/VBoxDD.so
#3  0x00007ff224eb2e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#4  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
---Type <return> to continue, or q <return> to quit---
#6  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7ff20053e700 (LWP 3755)):
#0  0x00007ff22a79344d in poll () from /usr/lib/libc.so.6
#1  0x00007ff2012f4d5b in ?? () from /usr/lib/virtualbox/VBoxDD.so
#2  0x00007ff224eb2e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#3  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#4  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7ff20049d700 (LWP 3756)):
#0  0x00007ff22a794a87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007ff22a3f0b4d in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff22a3ed90a in SUPR3CallVMMR0Ex () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007ff201288b38 in ?? () from /usr/lib/virtualbox/VBoxDD.so
#4  0x00007ff201289544 in ?? () from /usr/lib/virtualbox/VBoxDD.so
#5  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7ff20041c700 (LWP 3757)):
#0  0x00007ff22a794a87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007ff22a3f0b4d in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff22a3eb689 in SUPSemEventWaitNoResume () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007ff2012887e8 in ?? () from /usr/lib/virtualbox/VBoxDD.so
#4  0x00007ff224eb2e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#5  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 5 (Thread 0x7ff20039b700 (LWP 3758)):
#0  0x00007ff22ac67c78 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff22a3e8edd in RTSemEventWait () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007ff20128ad8f in ?? () from /usr/lib/virtualbox/VBoxDD.so
#3  0x00007ff20128b991 in ?? () from /usr/lib/virtualbox/VBoxDD.so
#4  0x00007ff224eb2e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#5  0x00007ff22a36a1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007ff22a3e5ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7ff227192700 (LWP 3759)):
#0  0x00007ff22a795193 in select () from /usr/lib/libc.so.6
#1  0x00007ff21ede2787 in ?? () from /usr/lib/libvncserver.so.0
#2  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7ff226991700 (LWP 4153)):
#0  0x00007ff22ac678cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff21ede3b6d in rfbClientConnectionGone () from /usr/lib/libvncserver.so.0
#2  0x00007ff21ede1f8f in ?? () from /usr/lib/libvncserver.so.0
#3  0x00007ff22ac62314 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007ff22a79c24d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7ff22b086700 (LWP 3579)):
#0  0x00007ff22a795193 in select () from /usr/lib/libc.so.6
#1  0x00007ff225f81d9d in ?? () from /usr/lib/virtualbox/VBoxHeadless.so
#2  0x00007ff225f822a4 in ?? () from /usr/lib/virtualbox/VBoxHeadless.so
#3  0x00007ff225f7aef1 in TrustedMain () from /usr/lib/virtualbox/VBoxHeadless.so
#4  0x00007ff22a6d4040 in __libc_start_main () from /usr/lib/libc.so.6
#5  0x0000000000401132 in _start ()
(gdb) 


Another time without VNC attached:

Code: Select all   Expand viewCollapse view
(gdb) thread apply all bt

Thread 25 (Thread 0x7f5e203d4700 (LWP 27374)):
#0  0x00007f5e1fae344d in poll () from /usr/lib/libc.so.6
#1  0x00007f5e1b0531be in ?? () from /usr/lib/virtualbox/VBoxXPCOM.so
#2  0x00007f5e1b054b8f in VBoxNsprPR_Poll () from /usr/lib/virtualbox/VBoxXPCOM.so
#3  0x00007f5e1ada652d in ?? () from /usr/lib/virtualbox/components/VBoxXPCOMIPCC.so
#4  0x00007f5e1b04fddb in ?? () from /usr/lib/virtualbox/VBoxXPCOM.so
#5  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 24 (Thread 0x7f5e203b3700 (LWP 27375)):
#0  0x00007f5e1ffb78cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1b0510a4 in VBoxNsprPR_WaitCondVar () from /usr/lib/virtualbox/VBoxXPCOM.so
#2  0x00007f5e1b051334 in VBoxNsprPR_Wait () from /usr/lib/virtualbox/VBoxXPCOM.so
#3  0x00007f5e1ada3b9f in ?? () from /usr/lib/virtualbox/components/VBoxXPCOMIPCC.so
#4  0x00007f5e1b040517 in ?? () from /usr/lib/virtualbox/VBoxXPCOM.so
#5  0x00007f5e1b04fddb in ?? () from /usr/lib/virtualbox/VBoxXPCOM.so
#6  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 23 (Thread 0x7f5e20392700 (LWP 27376)):
#0  0x00007f5e1ffb7c78 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f738edd in RTSemEventWait () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e19293e10 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#4  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 22 (Thread 0x7f5e20311700 (LWP 27377)):
#0  0x00007f5e1ffb7c78 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f738edd in RTSemEventWait () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e1f708e03 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#4  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 21 (Thread 0x7f5e18629700 (LWP 27379)):
#0  0x00007f5e1ffb78cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f739482 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e192d7726 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007f5e192d7b95 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#4  0x00007f5e192d9f3b in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#5  0x00007f5e192d71d2 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#6  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 20 (Thread 0x7f5e2020f700 (LWP 27380)):
#0  0x00007f5e1ffb7c78 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f738edd in RTSemEventWait () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e1923aed5 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#4  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 19 (Thread 0x7f5e18140700 (LWP 27381)):
#0  0x00007f5e1fae4a87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007f5e1f740b4d in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e1f73d986 in SUPR3CallVMMR0Ex () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007f5e1a24c43b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#4  0x00007f5e1a24d3d2 in ?? () from /usr/lib/virtualbox/VBoxVMM.so
---Type <return> to continue, or q <return> to quit--- 
#5  0x00007f5e1a1df861 in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#6  0x00007f5e1a24d643 in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#7  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#9  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 18 (Thread 0x7f5e0a2e4700 (LWP 27384)):
#0  0x00007f5e1ffb78cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f739482 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e192d7726 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007f5e192d7b95 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#4  0x00007f5e192d87bb in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#5  0x00007f5e192d71d2 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#6  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 17 (Thread 0x7f5e08e59700 (LWP 27385)):
#0  0x00007f5e1ffb78cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f739482 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e192d7726 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007f5e192d7b95 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#4  0x00007f5e192d87bb in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#5  0x00007f5e192d71d2 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#6  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 16 (Thread 0x7f5e08bcd700 (LWP 27386)):
#0  0x00007f5e1ffb78cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f739482 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e192d7726 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007f5e192d7b95 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#4  0x00007f5e192d87bb in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#5  0x00007f5e192d71d2 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#6  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 15 (Thread 0x7f5e08944700 (LWP 27387)):
#0  0x00007f5e1ffb78cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f739482 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e192d7726 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007f5e192d7b95 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#4  0x00007f5e192d87bb in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#5  0x00007f5e192d71d2 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#6  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 14 (Thread 0x7f5e080e2700 (LWP 27388)):
#0  0x00007f5e1fa3891f in do_sigwaitinfo () from /usr/lib/libc.so.6
#1  0x00007f5e1fa389bd in sigwaitinfo () from /usr/lib/libc.so.6
#2  0x00007f5e1f736a05 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#4  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 13 (Thread 0x7f5deef7e700 (LWP 27389)):
#0  0x00007f5e1ffbaa8d in nanosleep () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f736579 in RTThreadSleep () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e1a30ed5a in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#3  0x00007f5e1a202f6b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
---Type <return> to continue, or q <return> to quit---
#4  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7f5dedca5700 (LWP 27390)):
#0  0x00007f5e1ffb78cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f739482 in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e192d7726 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#3  0x00007f5e192d7b95 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#4  0x00007f5e192d87bb in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#5  0x00007f5e192d71d2 in ?? () from /usr/lib/virtualbox/components/VBoxC.so
#6  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#8  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7f5ded21b700 (LWP 27391)):
#0  0x00007f5e1ffb78cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f738fa0 in RTSemEventWait () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e1a30eb47 in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#3  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#4  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7f5ded19a700 (LWP 27392)):
#0  0x00007f5e1fae4a87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007f5e1f740b4d in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e1f73b689 in SUPSemEventWaitNoResume () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007f5dee5ebcec in ?? () from /usr/lib/virtualbox/VBoxDD.so
#4  0x00007f5e1a202e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#5  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7f5ded119700 (LWP 27393)):
#0  0x00007f5e1fae4a87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007f5e1f740b4d in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e1f73b689 in SUPSemEventWaitNoResume () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007f5dee5ebcec in ?? () from /usr/lib/virtualbox/VBoxDD.so
#4  0x00007f5e1a202e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#5  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7f5dec383700 (LWP 27394)):
#0  0x00007f5e1ffb78cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f738fa0 in RTSemEventWait () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5dee5fea69 in ?? () from /usr/lib/virtualbox/VBoxDD.so
#3  0x00007f5e1a202e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#4  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f5dec362700 (LWP 27395)):
#0  0x00007f5e1ffb78cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f738fa0 in RTSemEventWait () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5dee5fe9d9 in ?? () from /usr/lib/virtualbox/VBoxDD.so
#3  0x00007f5e1a202e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#4  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f5dec341700 (LWP 27396)):
---Type <return> to continue, or q <return> to quit---
#0  0x00007f5e1fae344d in poll () from /usr/lib/libc.so.6
#1  0x00007f5dee5fed5b in ?? () from /usr/lib/virtualbox/VBoxDD.so
#2  0x00007f5e1a202e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#3  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#4  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#5  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f5dec2a0700 (LWP 27397)):
#0  0x00007f5e1fae4a87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007f5e1f740b4d in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e1f73d90a in SUPR3CallVMMR0Ex () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007f5dee592b38 in ?? () from /usr/lib/virtualbox/VBoxDD.so
#4  0x00007f5dee593544 in ?? () from /usr/lib/virtualbox/VBoxDD.so
#5  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f5dec21f700 (LWP 27398)):
#0  0x00007f5e1fae4a87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007f5e1f740b4d in ?? () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5e1f73b689 in SUPSemEventWaitNoResume () from /usr/lib/virtualbox/VBoxRT.so
#3  0x00007f5dee5927e8 in ?? () from /usr/lib/virtualbox/VBoxDD.so
#4  0x00007f5e1a202e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#5  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f5dec19e700 (LWP 27399)):
#0  0x00007f5e1ffb7c78 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5e1f738edd in RTSemEventWait () from /usr/lib/virtualbox/VBoxRT.so
#2  0x00007f5dee594d8f in ?? () from /usr/lib/virtualbox/VBoxDD.so
#3  0x00007f5dee595991 in ?? () from /usr/lib/virtualbox/VBoxDD.so
#4  0x00007f5e1a202e9b in ?? () from /usr/lib/virtualbox/VBoxVMM.so
#5  0x00007f5e1f6ba1fc in ?? () from /usr/lib/virtualbox/VBoxRT.so
#6  0x00007f5e1f735ffb in ?? () from /usr/lib/virtualbox/VBoxRT.so
#7  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f5e1c4e2700 (LWP 27400)):
#0  0x00007f5e1fae5193 in select () from /usr/lib/libc.so.6
#1  0x00007f5e1814e787 in ?? () from /usr/lib/libvncserver.so.0
#2  0x00007f5e1ffb2314 in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007f5e1faec24d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f5e203d6700 (LWP 27371)):
#0  0x00007f5e1fae5193 in select () from /usr/lib/libc.so.6
#1  0x00007f5e1b2d1d9d in ?? () from /usr/lib/virtualbox/VBoxHeadless.so
#2  0x00007f5e1b2d22a4 in ?? () from /usr/lib/virtualbox/VBoxHeadless.so
#3  0x00007f5e1b2caef1 in TrustedMain () from /usr/lib/virtualbox/VBoxHeadless.so
#4  0x00007f5e1fa24040 in __libc_start_main () from /usr/lib/libc.so.6
#5  0x0000000000401132 in _start ()
(gdb)

Interestingly enough, in the second run, the machine quit *after* I had attached and quit the debugger. While in the first run, the machine is still hung. Perhaps there is some kind of race condition somewhere?
jernst
 
Posts: 26
Joined: 20. Sep 2013, 19:31
Primary OS: Other
VBox Version: OSE other
Guest OSses: Arch. UBOS.

Re: VM hangs after VBoxManage controlvm acpipowerbutton/powe

Postby klaus » 12. Jan 2015, 11:54

You don't need a debug build, just one which isn't stripped. I would go for a normal release build. The reasons why the backtraces are not showing symbols is that you also need to update /usr/lib/virtualbox/VBoxXPCOM.so, /usr/lib/virtualbox/components/VBoxXPCOMIPCC.so and /usr/lib/virtualbox/VBoxRT.so.

What you're seeing looks like "leftover" threads, in the first case by the VNC code (which means that the corresponding code doesn't correctly clean up on VRDE module termination). In the 2nd case I can't tell yet.
klaus
Oracle Corporation
 
Posts: 743
Joined: 10. May 2007, 14:57

Re: VM hangs after VBoxManage controlvm acpipowerbutton/powe

Postby jernst » 14. Jan 2015, 01:56

Sorry for the confusion. It was the Arch build script that did the stripping. I re-built, and here we are:
Code: Select all   Expand viewCollapse view
Thread 26 (Thread 0x7f82f70fe700 (LWP 2258)):
#0  0x00007f82f680d44d in poll () from /usr/lib/libc.so.6
#1  0x00007f82f1d7d1be in _pr_poll_with_poll (pds=0xf20488, npds=2, timeout=4294967295)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptio.c:3902
#2  0x00007f82f1d7eb8f in VBoxNsprPR_Poll (pds=<optimized out>, npds=<optimized out>, timeout=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptio.c:4304
#3  0x00007f82f1ad052d in ConnThread (arg=0xf20480)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/libs/xpcom18a4/ipc/ipcd/client/src/ipcConnectionUnix.cpp:336
#4  0x00007f82f1d79ddb in _pt_root (arg=0xf21140)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptthread.c:224
#5  _pt_iprt_root (Thread=<optimized out>, pvUser=0xf21140)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptthread.c:272
#6  0x00007f82f63e41fc in rtThreadMain (pThread=0xf212b0, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#7  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0xf212b0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#8  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 25 (Thread 0x7f82f70dd700 (LWP 2259)):
#0  0x00007f82f6ce18cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82f1d7b0a4 in VBoxNsprPR_WaitCondVar (cvar=0xf22a20, timeout=4294967295)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptsynch.c:392
#2  0x00007f82f1d7b334 in VBoxNsprPR_Wait (mon=0xf22a70, timeout=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptsynch.c:571
#3  0x00007f82f1acdb9f in Wait (interval=4294967295, this=0x7f82f70dce70)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/libs/xpcom18a4/xpcom/threads/nsAutoLock.h:285
#4  DConnectWorker::Run (this=0xf21f60)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp:2956
#5  0x00007f82f1d6a517 in nsThread::Main (arg=0xf221d0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/libs/xpcom18a4/xpcom/threads/nsThread.cpp:118
#6  0x00007f82f1d79ddb in _pt_root (arg=0xf22d10)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptthread.c:224
#7  _pt_iprt_root (Thread=<optimized out>, pvUser=0xf22d10)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptthread.c:272
#8  0x00007f82f63e41fc in rtThreadMain (pThread=0xf2c4a0, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#9  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0xf2c4a0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#10 0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 24 (Thread 0x7f82f70bc700 (LWP 2260)):
#0  0x00007f82f6ce1c78 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82f6462edd in rtSemEventWait (fAutoResume=true, cMillies=<optimized out>, hEventSem=0xf2f6a0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semevent-posix.cpp:478
#2  RTSemEventWait (hEventSem=0xf2f6a0, cMillies=30000)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semevent-posix.cpp:495
#3  0x00007f82ebd23e10 in VirtualBoxClient::SVCWatcherThread (ThreadSelf=<optimized out>, pvUser=0xf2ea50)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/VirtualBoxClientImpl.cpp:302
---Type <return> to continue, or q <return> to quit---
#4  0x00007f82f63e41fc in rtThreadMain (pThread=0xf2f710, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#5  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0xf2f710)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#6  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 23 (Thread 0x7f82f703b700 (LWP 2262)):
#0  0x00007f82f6ce1c78 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82f6462edd in rtSemEventWait (fAutoResume=true, cMillies=<optimized out>, hEventSem=0x7f82e400a610)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semevent-posix.cpp:478
#2  RTSemEventWait (hEventSem=0x7f82e400a610, cMillies=999)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semevent-posix.cpp:495
#3  0x00007f82f6432e03 in rtTimerLRThread (hThreadSelf=<optimized out>, pvUser=0x7f82e400a5c0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/generic/timerlr-generic.cpp:341
#4  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82e400af00, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#5  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82e400af00)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#6  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 22 (Thread 0x7f82eb2ef700 (LWP 2264)):
#0  0x00007f82f6ce18cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82f6463482 in rtSemEventMultiPosixWaitIndefinite (pThis=0x7f82d8000b10, pSrcPos=<optimized out>, fFlags=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semeventmulti-posix.cpp:432
#2  0x00007f82ebd67726 in HGCMThread::MsgGet (this=0x7f82d8000a30, ppMsg=0x7f82eb2eee78)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:542
#3  0x00007f82ebd67b95 in hgcmMsgGet (hThread=hThread@entry=2147483649, ppMsg=ppMsg@entry=0x7f82eb2eee78)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:797
#4  0x00007f82ebd69f3b in hgcmThread (ThreadHandle=2147483649, pvUser=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCM.cpp:1797
#5  0x00007f82ebd671d2 in hgcmWorkerThreadFunc (ThreadSelf=<optimized out>, pvUser=0x7f82d8000a30)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:194
#6  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82d8000c60, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#7  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82d8000c60)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#8  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 21 (Thread 0x7f82e9229700 (LWP 2266)):
#0  0x00007f82f680ea87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007f82f646ab4d in suplibOsIOCtl (pThis=<optimized out>, uFunction=<optimized out>, pvReq=<optimized out>, cbReq=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp:185
#2  0x00007f82f6467986 in SUPR3CallVMMR0Ex (pVMR0=18446683600720248832, idCpu=<optimized out>, uOperation=<optimized out>, u64Arg=<optimized out>, pReqHdr=0x0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/HostDrivers/Support/SUPLib.cpp:661
#3  0x00007f82f0f7643b in vmR3HaltGlobal1Halt (pUVCpu=0x7f82e922bf20, fMask=543, u64Now=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/VMEmt.cpp:714
#4  0x00007f82f0f773d2 in VMR3WaitHalted (pVM=0x7f82f0044000, pVCpu=0x7f82f005f000, fIgnoreInterrupts=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/VMEmt.cpp:1104
---Type <return> to continue, or q <return> to quit---
#5  0x00007f82f0f09861 in EMR3ExecuteVM (pVM=<optimized out>, pVCpu=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/EM.cpp:2562
#6  0x00007f82f0f77643 in vmR3EmulationThreadWithId (ThreadSelf=<optimized out>, pUVCpu=0x7f82e922bf20, idCpu=0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/VMEmt.cpp:235
#7  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82d80297b0, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#8  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82d80297b0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#9  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 20 (Thread 0x7f82e8fe7700 (LWP 2270)):
#0  0x00007f82f6ce18cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82f6463482 in rtSemEventMultiPosixWaitIndefinite (pThis=0x7f82d0000a80, pSrcPos=<optimized out>, fFlags=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semeventmulti-posix.cpp:432
#2  0x00007f82ebd67726 in HGCMThread::MsgGet (this=0x7f82d00009a0, ppMsg=0x7f82e8fe6e80)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:542
#3  0x00007f82ebd67b95 in hgcmMsgGet (hThread=hThread@entry=2147483651, ppMsg=ppMsg@entry=0x7f82e8fe6e80)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:797
#4  0x00007f82ebd687bb in hgcmServiceThread (ThreadHandle=2147483651, pvUser=0x7f82d00008c0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCM.cpp:515
#5  0x00007f82ebd671d2 in hgcmWorkerThreadFunc (ThreadSelf=<optimized out>, pvUser=0x7f82d00009a0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:194
#6  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82d0000bd0, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#7  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82d0000bd0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#8  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 19 (Thread 0x7f82e816b700 (LWP 2273)):
#0  0x00007f82f6ce18cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82f6463482 in rtSemEventMultiPosixWaitIndefinite (pThis=0x7f82d0001900, pSrcPos=<optimized out>, fFlags=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semeventmulti-posix.cpp:432
#2  0x00007f82ebd67726 in HGCMThread::MsgGet (this=0x7f82d0001820, ppMsg=0x7f82e816ae80)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:542
#3  0x00007f82ebd67b95 in hgcmMsgGet (hThread=hThread@entry=2147483658, ppMsg=ppMsg@entry=0x7f82e816ae80)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:797
#4  0x00007f82ebd687bb in hgcmServiceThread (ThreadHandle=2147483658, pvUser=0x7f82d0001740)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCM.cpp:515
#5  0x00007f82ebd671d2 in hgcmWorkerThreadFunc (ThreadSelf=<optimized out>, pvUser=0x7f82d0001820)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:194
#6  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82d0001a50, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#7  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82d0001a50)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#8  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 18 (Thread 0x7f82e80ea700 (LWP 2274)):
#0  0x00007f82f6ce18cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#1  0x00007f82f6463482 in rtSemEventMultiPosixWaitIndefinite (pThis=0x7f82d00025d0, pSrcPos=<optimized out>, fFlags=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semeventmulti-posix.cpp:432
#2  0x00007f82ebd67726 in HGCMThread::MsgGet (this=0x7f82d0002760, ppMsg=0x7f82e80e9e80)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:542
#3  0x00007f82ebd67b95 in hgcmMsgGet (hThread=hThread@entry=2147483665, ppMsg=ppMsg@entry=0x7f82e80e9e80)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:797
#4  0x00007f82ebd687bb in hgcmServiceThread (ThreadHandle=2147483665, pvUser=0x7f82d0002680)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCM.cpp:515
#5  0x00007f82ebd671d2 in hgcmWorkerThreadFunc (ThreadSelf=<optimized out>, pvUser=0x7f82d0002760)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:194
#6  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82d0002920, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#7  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82d0002920)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#8  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 17 (Thread 0x7f82cf5dd700 (LWP 2275)):
#0  0x00007f82f6ce18cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82f6463482 in rtSemEventMultiPosixWaitIndefinite (pThis=0x7f82d0003690, pSrcPos=<optimized out>, fFlags=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semeventmulti-posix.cpp:432
#2  0x00007f82ebd67726 in HGCMThread::MsgGet (this=0x7f82d00035b0, ppMsg=0x7f82cf5dce80)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:542
#3  0x00007f82ebd67b95 in hgcmMsgGet (hThread=hThread@entry=2147483684, ppMsg=ppMsg@entry=0x7f82cf5dce80)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:797
#4  0x00007f82ebd687bb in hgcmServiceThread (ThreadHandle=2147483684, pvUser=0x7f82d00034d0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCM.cpp:515
#5  0x00007f82ebd671d2 in hgcmWorkerThreadFunc (ThreadSelf=<optimized out>, pvUser=0x7f82d00035b0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:194
#6  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82d00037e0, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#7  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82d00037e0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#8  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 16 (Thread 0x7f82cdd55700 (LWP 2276)):
#0  0x00007f82f676291f in do_sigwaitinfo () from /usr/lib/libc.so.6
#1  0x00007f82f67629bd in sigwaitinfo () from /usr/lib/libc.so.6
#2  0x00007f82f6460a05 in rttimerThread (hThreadSelf=<optimized out>, pvArg=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/timer-posix.cpp:372
#3  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82dc260bb0, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#4  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82dc260bb0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#5  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 15 (Thread 0x7f82cdcd4700 (LWP 2277)):
#0  0x00007f82f6ce4a8d in nanosleep () from /usr/lib/libpthread.so.0
#1  0x00007f82f6460579 in RTThreadSleep (cMillies=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread2-posix.cpp:82
#2  0x00007f82f1038d5a in pdmR3NsTxThread (pVM=<optimized out>, pThread=0x7f82dc26f4a0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/PDMNetShaper.cpp:418
#3  0x00007f82f0f2cf6b in pdmR3ThreadMain (Thread=0x7f82dc26f600, pvUser=0x7f82dc26f4a0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/PDMThread.cpp:791
#4  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82dc26f600, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#5  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82dc26f600)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#6  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 14 (Thread 0x7f82cc9ed700 (LWP 2278)):
#0  0x00007f82f6ce18cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82f6463482 in rtSemEventMultiPosixWaitIndefinite (pThis=0x7f82d0004360, pSrcPos=<optimized out>, fFlags=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semeventmulti-posix.cpp:432
#2  0x00007f82ebd67726 in HGCMThread::MsgGet (this=0x7f82d00044f0, ppMsg=0x7f82cc9ece80)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:542
#3  0x00007f82ebd67b95 in hgcmMsgGet (hThread=hThread@entry=2147483689, ppMsg=ppMsg@entry=0x7f82cc9ece80)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:797
#4  0x00007f82ebd687bb in hgcmServiceThread (ThreadHandle=2147483689, pvUser=0x7f82d0004410)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCM.cpp:515
#5  0x00007f82ebd671d2 in hgcmWorkerThreadFunc (ThreadSelf=<optimized out>, pvUser=0x7f82d00044f0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/HGCMThread.cpp:194
#6  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82d00046b0, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#7  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82d00046b0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#8  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 13 (Thread 0x7f82cc763700 (LWP 2279)):
#0  0x00007f82f6ce18cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82f6462fa0 in rtSemEventWait (fAutoResume=true, cMillies=<optimized out>, hEventSem=0x7f82dc2e7bc0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semevent-posix.cpp:382
#2  RTSemEventWait (hEventSem=0x7f82dc2e7bc0, cMillies=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semevent-posix.cpp:495
#3  0x00007f82f1038b47 in pdmacFileAioMgrNormal (hThreadSelf=<optimized out>, pvUser=0x7f82dc2e7af0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/PDMAsyncCompletionFileNormal.cpp:1624
#4  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82dc2e8e60, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#5  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82dc2e8e60)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#6  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7f82cc6e2700 (LWP 2280)):
#0  0x00007f82f680ea87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007f82f646ab4d in suplibOsIOCtl (pThis=<optimized out>, uFunction=<optimized out>, pvReq=<optimized out>, cbReq=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp:185
#2  0x00007f82f6465689 in supSemOp2 (pSession=<optimized out>, u64Arg=<optimized out>, uOp=0, hSem=<optimized out>, uType=0)
---Type <return> to continue, or q <return> to quit---
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/HostDrivers/Support/SUPLibSem.cpp:68
#3  SUPSemEventWaitNoResume (pSession=<optimized out>, hEvent=<optimized out>, cMillies=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/HostDrivers/Support/SUPLibSem.cpp:138
#4  0x00007f82cd341cec in ahciAsyncIOLoop (pDevIns=<optimized out>, pThread=0x7f82dc30d7f0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Devices/Storage/DevAHCI.cpp:6627
#5  0x00007f82f0f2ce9b in pdmR3ThreadMain (Thread=0x7f82dc30d950, pvUser=0x7f82dc30d7f0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/PDMThread.cpp:787
#6  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82dc30d950, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#7  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82dc30d950)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#8  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7f82cc661700 (LWP 2281)):
#0  0x00007f82f680ea87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007f82f646ab4d in suplibOsIOCtl (pThis=<optimized out>, uFunction=<optimized out>, pvReq=<optimized out>, cbReq=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp:185
#2  0x00007f82f6465689 in supSemOp2 (pSession=<optimized out>, u64Arg=<optimized out>, uOp=0, hSem=<optimized out>, uType=0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/HostDrivers/Support/SUPLibSem.cpp:68
#3  SUPSemEventWaitNoResume (pSession=<optimized out>, hEvent=<optimized out>, cMillies=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/HostDrivers/Support/SUPLibSem.cpp:138
#4  0x00007f82cd341cec in ahciAsyncIOLoop (pDevIns=<optimized out>, pThread=0x7f82dc336950)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Devices/Storage/DevAHCI.cpp:6627
#5  0x00007f82f0f2ce9b in pdmR3ThreadMain (Thread=0x7f82dc336ab0, pvUser=0x7f82dc336950)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/PDMThread.cpp:787
#6  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82dc336ab0, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#7  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82dc336ab0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#8  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7f82e8029700 (LWP 2282)):
#0  0x00007f82f6ce18cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82f6462fa0 in rtSemEventWait (fAutoResume=true, cMillies=<optimized out>, hEventSem=0x7f82dc4308a0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semevent-posix.cpp:382
#2  RTSemEventWait (hEventSem=0x7f82dc4308a0, cMillies=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semevent-posix.cpp:495
#3  0x00007f82cd354a69 in drvNATRecv (pDrvIns=0x7f82dc339c80, pThread=0x7f82dc42eed0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Devices/Network/DrvNAT.cpp:240
#4  0x00007f82f0f2ce9b in pdmR3ThreadMain (Thread=0x7f82dc42f030, pvUser=0x7f82dc42eed0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/PDMThread.cpp:787
#5  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82dc42f030, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#6  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82dc42f030)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#7  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7f82cc5e0700 (LWP 2283)):
---Type <return> to continue, or q <return> to quit---
#0  0x00007f82f6ce18cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82f6462fa0 in rtSemEventWait (fAutoResume=true, cMillies=<optimized out>, hEventSem=0x7f82dc430910)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semevent-posix.cpp:382
#2  RTSemEventWait (hEventSem=0x7f82dc430910, cMillies=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semevent-posix.cpp:495
#3  0x00007f82cd3549d9 in drvNATUrgRecv (pDrvIns=0x7f82dc339c80, pThread=0x7f82dc42fc00)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Devices/Network/DrvNAT.cpp:268
#4  0x00007f82f0f2ce9b in pdmR3ThreadMain (Thread=0x7f82dc42fd60, pvUser=0x7f82dc42fc00)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/PDMThread.cpp:787
#5  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82dc42fd60, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#6  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82dc42fd60)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#7  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7f82cc5bf700 (LWP 2284)):
#0  0x00007f82f680d44d in poll () from /usr/lib/libc.so.6
#1  0x00007f82cd354d5b in drvNATAsyncIoThread (pDrvIns=0x7f82dc339c80, pThread=0x7f82dc430af0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Devices/Network/DrvNAT.cpp:790
#2  0x00007f82f0f2ce9b in pdmR3ThreadMain (Thread=0x7f82dc430c50, pvUser=0x7f82dc430af0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/PDMThread.cpp:787
#3  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82dc430c50, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#4  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82dc430c50)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#5  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f82cc51e700 (LWP 2285)):
#0  0x00007f82f680ea87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007f82f646ab4d in suplibOsIOCtl (pThis=<optimized out>, uFunction=<optimized out>, pvReq=<optimized out>, cbReq=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp:185
#2  0x00007f82f646790a in SUPR3CallVMMR0Ex (pVMR0=<optimized out>, idCpu=<optimized out>, uOperation=<optimized out>, u64Arg=<optimized out>, pReqHdr=0x7f82cc51dd60)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/HostDrivers/Support/SUPLib.cpp:683
#3  0x00007f82cd2e8b38 in PDMDrvHlpSUPCallVMMR0Ex (cbArg=24, pvArg=0x7f82cc51dd60, uOperation=52, pDrvIns=0x7f82cf2865c0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/include/VBox/vmm/pdmdrv.h:1718
#4  drvR3IntNetRecvRun (pThis=pThis@entry=0x7f82cf286680)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Devices/Network/DrvIntNet.cpp:855
#5  0x00007f82cd2e9544 in drvR3IntNetRecvThread (ThreadSelf=<optimized out>, pvUser=0x7f82cf286680)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Devices/Network/DrvIntNet.cpp:903
#6  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82dc434f90, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#7  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82dc434f90)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#8  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f82cc49d700 (LWP 2286)):
#0  0x00007f82f680ea87 in ioctl () from /usr/lib/libc.so.6
#1  0x00007f82f646ab4d in suplibOsIOCtl (pThis=<optimized out>, uFunction=<optimized out>, pvReq=<optimized out>, cbReq=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp:185
#2  0x00007f82f6465689 in supSemOp2 (pSession=<optimized out>, u64Arg=<optimized out>, uOp=0, hSem=<optimized out>, uType=0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/HostDrivers/Support/SUPLibSem.cpp:68
#3  SUPSemEventWaitNoResume (pSession=<optimized out>, hEvent=<optimized out>, cMillies=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/HostDrivers/Support/SUPLibSem.cpp:138
#4  0x00007f82cd2e87e8 in drvR3IntNetXmitThread (pDrvIns=0x7f82cf2865c0, pThread=0x7f82dc435af0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Devices/Network/DrvIntNet.cpp:625
#5  0x00007f82f0f2ce9b in pdmR3ThreadMain (Thread=0x7f82dc435c50, pvUser=0x7f82dc435af0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/PDMThread.cpp:787
#6  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82dc435c50, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#7  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82dc435c50)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#8  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f82cc41c700 (LWP 2287)):
#0  0x00007f82f6ce1c78 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82f6462edd in rtSemEventWait (fAutoResume=true, cMillies=<optimized out>, hEventSem=0x7f82dc438630)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semevent-posix.cpp:478
#2  RTSemEventWait (hEventSem=0x7f82dc438630, cMillies=20000)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/linux/../posix/semevent-posix.cpp:495
#3  0x00007f82cd2ead8f in drvACPIPoller (pDrvIns=0x7f82dc4377b0, pThread=0x7f82dc437920)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Devices/PC/DrvACPI.cpp:893
#4  0x00007f82cd2eb991 in drvACPIPoller (pDrvIns=<optimized out>, pThread=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Devices/PC/DrvACPI.cpp:514
#5  0x00007f82f0f2ce9b in pdmR3ThreadMain (Thread=0x7f82dc437a80, pvUser=0x7f82dc437920)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/VMM/VMMR3/PDMThread.cpp:787
#6  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82dc437a80, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#7  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82dc437a80)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#8  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f82f320c700 (LWP 2288)):
#0  0x00007f82f680f193 in select () from /usr/lib/libc.so.6
#1  0x00007f82eae14787 in ?? () from /usr/lib/libvncserver.so.0
#2  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f82f2a0b700 (LWP 2304)):
#0  0x00007f82f6ce18cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82eae15b6d in rfbClientConnectionGone () from /usr/lib/libvncserver.so.0
#2  0x00007f82eae13f8f in ?? () from /usr/lib/libvncserver.so.0
#3  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f82f6fba700 (LWP 2796)):
#0  0x00007f82f6ce18cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82eae15b6d in rfbClientConnectionGone () from /usr/lib/libvncserver.so.0
---Type <return> to continue, or q <return> to quit---
#2  0x00007f82eae1508a in rfbShutdownServer () from /usr/lib/libvncserver.so.0
#3  0x00007f82eb06c1f9 in VNCServerImpl::VRDEDestroy (hServer=0x7f82d8024660)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/ExtPacks/VNC/VBoxVNC.cpp:191

#4  0x00007f82ebcc9fff in ConsoleVRDPServer::Stop (this=0x7f82e40052a0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/ConsoleVRDPServer.cpp:2989

#5  0x00007f82ebc9045b in Console::powerDown (this=0x7f82e40012a0, aProgress=0x7f82e4005ff0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/ConsoleImpl.cpp:7412
#6  0x00007f82ebc90e22 in Console::powerDownThread (Thread=<optimized out>, pvUser=0x7f82e4005920)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/ConsoleImpl.cpp:10246
#7  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82e40062e0, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#8  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82e40062e0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#9  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f82f681624d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f82f7100700 (LWP 2255)):
#0  0x00007f82f680f193 in select () from /usr/lib/libc.so.6
#1  0x00007f82f1ffbd9d in com::waitForEventsOnXPCOM (pQueue=<optimized out>, cMsTimeout=cMsTimeout@entry=4294967295)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/glue/NativeEventQueue.cpp:348
#2  0x00007f82f1ffc2a4 in com::NativeEventQueue::processEventQueue (this=0xf19050, cMsTimeout=cMsTimeout@entry=4294967295)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/glue/NativeEventQueue.cpp:526
#3  0x00007f82f1ff4ef1 in TrustedMain (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp:1265
#4  0x00007f82f674e040 in __libc_start_main () from /usr/lib/libc.so.6
#5  0x0000000000401132 in _start ()
jernst
 
Posts: 26
Joined: 20. Sep 2013, 19:31
Primary OS: Other
VBox Version: OSE other
Guest OSses: Arch. UBOS.

Re: VM hangs after VBoxManage controlvm acpipowerbutton/powe

Postby klaus » 14. Jan 2015, 14:43

Thanks for providing the stack traces. Thread 2 clearly hangs in 3rd party code, trying to stop the VNC server. Not something we can fix unfortunately. One would need to have an unstripped /usr/lib/libvncserver.so.0 to tell more, but this is way past our supported code. The VNC extension pack is 3rd party code which we host as part of the official source tree, but it isn't supported by us. We don't really know much about how it works, leave alone what might happen inside libvncserver.

The following is the relevant excerpt from your backtrace (maybe threads 3 and 4 also play a role, as they're apparently created for private libvncserver purposes):

Code: Select all   Expand viewCollapse view
Thread 2 (Thread 0x7f82f6fba700 (LWP 2796)):
#0  0x00007f82f6ce18cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f82eae15b6d in rfbClientConnectionGone () from /usr/lib/libvncserver.so.0
---Type <return> to continue, or q <return> to quit---
#2  0x00007f82eae1508a in rfbShutdownServer () from /usr/lib/libvncserver.so.0
#3  0x00007f82eb06c1f9 in VNCServerImpl::VRDEDestroy (hServer=0x7f82d8024660)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/ExtPacks/VNC/VBoxVNC.cpp:191

#4  0x00007f82ebcc9fff in ConsoleVRDPServer::Stop (this=0x7f82e40052a0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/ConsoleVRDPServer.cpp:2989

#5  0x00007f82ebc9045b in Console::powerDown (this=0x7f82e40012a0, aProgress=0x7f82e4005ff0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/ConsoleImpl.cpp:7412
#6  0x00007f82ebc90e22 in Console::powerDownThread (Thread=<optimized out>, pvUser=0x7f82e4005920)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Main/src-client/ConsoleImpl.cpp:10246
#7  0x00007f82f63e41fc in rtThreadMain (pThread=0x7f82e40062e0, NativeThread=<optimized out>, pszThreadName=<optimized out>)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/common/misc/thread.cpp:712
#8  0x00007f82f645fffb in rtThreadNativeMain (pvArgs=0x7f82e40062e0)
    at /home/buildmaster/git/projects.archlinux.org/community/virtualbox/trunk/src/VirtualBox-4.3.20/src/VBox/Runtime/r3/posix/thread-posix.cpp:324
#9  0x00007f82f6cdc314 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f82f681624d in clone () from /usr/lib/libc.so.6


As long as the VNCServerImpl::VRDEDestroy method doesn't return the powering off of the VM will be stalled. It's not expected to take forever.
klaus
Oracle Corporation
 
Posts: 743
Joined: 10. May 2007, 14:57

Re: VM hangs after VBoxManage controlvm acpipowerbutton/powe

Postby jernst » 16. Jan 2015, 21:49

It appears to me now that the problem usually occurs on the very first virtual machine since reboot, but not on subsequent ones. (This may not be true, but it feels like it.) Generally the behavior is not entirely predictable.

I have disabled VNC for my scripted runs, and that seems to have helped.

Thanks for your help.
jernst
 
Posts: 26
Joined: 20. Sep 2013, 19:31
Primary OS: Other
VBox Version: OSE other
Guest OSses: Arch. UBOS.

Re: VM hangs after VBoxManage controlvm acpipowerbutton/powe

Postby Fan_tastischer » 4. Feb 2016, 13:41

DISCLAIMER: Although this might work in a test setup, I would
recommend to always install the newest versions, and to remedy
the situation in a different manner as this could be a serious
security issue.


Had the Same Problem with VirtualBox 4.3.20 OSE on openSUSE 13.2
Exactly the same Build works fine on openSUSE 13.1 since one year

This Package / Patch is the culprit:

openSUSE-2015-377 LibVNCServer was updated to version 0.9.10 to fix several security and non-security issues.



The Problem was solved by removing the 0.9.10-Versions of:

libvncclient0 libvncserver0 LibVNCServer-devel

And installing the 0.9.9-Versions from openSUSE 13.1 Repository.
Fan_tastischer
 
Posts: 1
Joined: 4. Feb 2016, 13:17

Re: VM hangs after VBoxManage controlvm acpipowerbutton/powe

Postby klaus » 4. Feb 2016, 18:32

Thanks for the feedback!

I have to point out that the VRDE module containing the VNC server feature is from Oracle's perspective 3rd party code which is not supported or maintained by Oracle. It is part of the VirtualBox source repository and tarballs to simplify building it by whoever wants to include it in their packaging. Oracle doesn't ship any packages or individual binaries containing the VNC server feature.
klaus
Oracle Corporation
 
Posts: 743
Joined: 10. May 2007, 14:57


Return to Using VirtualBox

Who is online

Users browsing this forum: No registered users and 17 guests