Guest crash when host `service alsasound restart`

Postings relating to old VirtualBox pre-releases
Post Reply
mvyver
Posts: 1
Joined: 25. Jun 2009, 08:56
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: winxp, opensuse 11.0

Guest crash when host `service alsasound restart`

Post by mvyver »

I see what appears to be the same behavior with VB 3.0.0 beta2 as reported in this old bug report for v 1.3.8 -> 2.2.4:
http://www.virtualbox.org/ticket/277

Specifically the guest OS (WinXP) crashes when, on the host (openSUSE 11.1) I run:

Code: Select all

# service alsasound restart
The VB.log is attached as is the strace for VB 3.0.0, see the bug report for a 2.2.4 strace of the same behavior.

I am skeptical of the claim by franks in that bug report "VirtualBox does not change any sound-related files on installation. "
I still have no sound after installing VB 2.2.4 and running:

Code: Select all

# /etc/init.d/vboxdrv setup
Under both VB 2.2.4 and 3.0.0beta2 the guest will always crash if I run

Code: Select all

# service alsasound restart
The forum won't allow the file to be uploaded so I will upload the file under the bug report mentioned before. I attach the strace log from:

Code: Select all

> VirtualBox &
> sudo strace -f -o /tmp/strace.log -p <pid>
(start guest OS (WinXP)
# sudo service alsasound restart
Appreciate any suggestions, and any love for the old bug report :)
Attachments
VBox.log
VBox.log
(32.87 KiB) Downloaded 20 times
vbox-install.log.gz
VB-install.log from /var/log/
(5.28 KiB) Downloaded 19 times
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: Guest crash when host `service alsasound restart`

Post by frank »

This is not a bug of VirtualBox. Please have a look at the script in /etc/init.d/alsasound. The terminate function will kill all processes holding open sound devices. Of course we could catch the SIGKILL but I would rather say that either you should not restart the sound system while a VM is running our openSUSE should check the script.
Post Reply