VirtualBox

Opened 8 years ago

Last modified 4 years ago

#15839 reopened defect

Attempting to output audio causes processes in guest to hang

Reported by: Sam Morris Owned by:
Component: audio Version: VirtualBox 5.1.4
Keywords: Cc:
Guest type: Linux Host type: Windows

Description

Since upgrading to 5.1.4 audio output in the guest has become unreliable. A process that attempts to play sound freezes. Sometimes, if I kill off all processes trying to play sounds, I can run aplay or speaker-test a couple of times, but a few moments later they still stop working again.

Guest is running 64-bit Linux 4.6.0, host is 64-bit Windows 10 Home. The sound card is ICH AC97.

Attachments (2)

aplay.txt (58.9 KB ) - added by Sam Morris 8 years ago.
strace aplay -D plughw:CARD=I82801AAICH,DEV=0 /usr/share/sounds/alsa/*.wav
wintermute-2016-08-21-13-03-58.log (107.6 KB ) - added by Sam Morris 8 years ago.
log file

Download all attachments as: .zip

Change History (17)

by Sam Morris, 8 years ago

Attachment: aplay.txt added

strace aplay -D plughw:CARD=I82801AAICH,DEV=0 /usr/share/sounds/alsa/*.wav

by Sam Morris, 8 years ago

log file

comment:1 by Sam Morris, 8 years ago

aplay hangs in the call to poll on 842. After a while I interrupt it, otherwise it remains there forever.

comment:2 by daredevil, 8 years ago

I have similar issue, and even no sound is comming now after this upgrade. I have experienced the same issue in windows 10 and windows 7 hosts.

comment:3 by Sam Morris, 8 years ago

I've been trying to debug this further and I think the problem is within pulseaudio, so I reported https://bugs.freedesktop.org/show_bug.cgi?id=97627 to see what the pulseaudio developers think.

comment:4 by Sam Morris, 7 years ago

Still seeing this with 5.1.8. And it's not pulseaudio, as far as we can tell; rather it's the virtual hardware acting up.

comment:5 by Sam Morris, 7 years ago

Still present in 5.1.10. I'm now permanently stuck on 5.1.2.

Last edited 7 years ago by Sam Morris (previous) (diff)

comment:6 by pentagonik, 6 years ago

Please retry with latest 5.2.

comment:7 by pentagonik, 6 years ago

Resolution: duplicate
Status: newclosed

comment:8 by Sam Morris, 5 years ago

Sorry what is this a duplciate of? I am still seeing it with VirtualBox 6.0.8...

comment:9 by Socratis, 5 years ago

  • Start from the Bugtracker main page.
  • Click on the "Advanced Search".
  • In the "Filters" section, remove all the filters, and add a new one with "Component=audio".
  • Optionally in the "Group results by", select "Version, descending".

Last count was 312 open bugs. One of them is your duplicate. Actually most of them are duplicates, people tend to open a new ticket instead of subscribing to one, their ticket is more important that the other users' tickets...

comment:10 by Harry M, 4 years ago

I'm having the same problem on vbox 6.1.10. What is the duplicate bug number?

Last edited 4 years ago by Harry M (previous) (diff)

in reply to:  9 comment:11 by Sam Morris, 4 years ago

Replying to socratis:

Last count was 312 open bugs. One of them is your duplicate. Actually most of them are duplicates, people tend to open a new ticket instead of subscribing to one, their ticket is more important that the other users' tickets...

What an unhelpful comment!

comment:12 by Sam Morris, 4 years ago

This is not fixed. I am still seeing it with 6.1.12.

comment:13 by Sam Morris, 4 years ago

Resolution: duplicate
Status: closedreopened

comment:14 by Sam Morris, 4 years ago

Here's an interesting behaviour that I hadn't noticed before (it may or may not be new as of some release since 5.1.4).

If I run mpv some_file.mp3, mpv hangs, as it has done since I filed this bug.

However, if I leave it running, and then run pasuspender -- aplay -D sysdefault /usr/share/sounds/alsa/Front_Left.wav, aplay is able to play the WAV file. Once pasuspender exits, mpv starts playing its file. From then on sound plays normally.

I've not tested this extensively, so I don't know if that fixes things permanently until the VM reboots or not.

comment:15 by petros, 4 years ago

I confirm that yrro's comment does help restore audio functionality with Virtualbox 6.1.12 and openSUSE tumbleweed as guest on MacOS host.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use