VirtualBox

Opened 8 years ago

Closed 8 years ago

#15001 closed defect (fixed)

VMs becomes Aborted on start with audio enabled

Reported by: dtgeorge Owned by:
Component: audio Version: VirtualBox 5.0.12
Keywords: aborted segfault Cc:
Guest type: Windows Host type: Linux

Description

After update to 5.0.12 from 5.0.10 there are an issue: VMs has Audio enabled cannot be started and drops to Aborted state. Disabling Audio solves issue.

Each start attempt adds segfault to kern.log:

 EMT-3[2993]: segfault at 18 ip 00007f191d3f3ab8 sp 00007f1942415bd0 error 4 in VBoxDD.so[7f191d383000+27a000]

VBox.log for selected VM contains:

00:00:00.454239 Audio: Initializing ALSA driver
00:00:00.454637 Audio: Initializing VRDE driver
00:00:00.454660 AC97: Reset
00:00:00.456483 ALSA: Failed to open "default" as ADC: No such file or directory
00:00:00.456709 ALSA: Failed to open "default" as ADC: No such file or directory
00:00:00.456961 ALSA: Failed to open "default" as DAC: No such file or directory
00:00:00.457193 ALSA: Failed to open "default" as DAC: No such file or directory
00:00:00.457263 AC97: Falling back to NULL driver (no sound audible)
00:00:00.457271 AC97: Reset
00:00:00.457275 Audio: Using NULL driver; no sound will be audible
00:00:00.457293 VM: Raising runtime error 'HostAudioNotResponding' (fFlags=0x0)
00:00:00.457302 Console: VM runtime error: fatal=false, errorID=HostAudioNotResponding message="No audio devices could be opened. Selecting the NULL audio backend with the consequence that no sound is audible"

Guest type is Windows7 and Windows 2012, but AFAIK huest type is no matter in this case

Host: Ubuntu 14.04

Change History (5)

comment:1 by dtgeorge, 8 years ago

UPD1: this ticket is about headless virtualbox! UPD2: it starts fine when I set Host Audio Driver setting to "Null Audio Driver" value, but there are no sound (

Before I had value "Alsa Audio Driver" for that setting and it worked fine. But not with 5.0.12

alsa version:

aplay --version
aplay: version 1.0.27.2 by Jaroslav Kysela <perex@perex.cz>

comment:2 by dtgeorge, 8 years ago

UPD3:

when switching to PulseAudio there are a bit different behavior:

00:00:00.423603 Audio: Initializing PulseAudio driver
00:00:00.430468 PulseAudio: Audio input/output stopped!
00:00:00.430493 PulseAudio: Failed to connect to server: Connection refused
00:00:00.430924 PDM: Failed to construct 'hda'/0! VERR_GENERAL_FAILURE (-1) - General failure - DON'T USE THIS!!!.
00:00:00.464417 NAT: zone(nm:mbuf_cluster, used:0)
00:00:00.464493 NAT: zone(nm:mbuf_packet, used:0)
00:00:00.464502 NAT: zone(nm:mbuf, used:0)
00:00:00.464577 NAT: zone(nm:mbuf_jumbo_pagesize, used:0)
00:00:00.464834 NAT: zone(nm:mbuf_jumbo_9k, used:0)
00:00:00.464956 NAT: zone(nm:mbuf_jumbo_16k, used:0)
00:00:00.465030 NAT: zone(nm:mbuf_ext_refcnt, used:0)
00:00:00.466747 GIM: HyperV: Resetting MMIO2 regions and MSRs
00:00:00.683601 VMSetError: /home/vbox/vbox-5.0.12/src/VBox/VMM/VMMR3/VM.cpp(367) int VMR3Create(uint32_t, PCVMM2USERMETHODS, PFNVMATERROR, void*, PFNCFGMCONSTRUCTOR, void*, VM**, UVM**); rc=VERR_GENERAL_FAILURE
00:00:00.683608 VMSetError: General failure - DON'T USE THIS!!!.
00:00:00.684854 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={General failure - DON'T USE THIS!!!. (VERR_GENERAL_FAILURE)}, preserve=false aResultDetail=0
00:00:00.684996 Console: Machine state changed to 'PoweredOff'
00:00:00.744396 Power up failed (vrc=VERR_GENERAL_FAILURE, rc=NS_ERROR_FAILURE (0X80004005))
00:00:00.936542 VRDP: TCP server closed.
Last edited 8 years ago by dtgeorge (previous) (diff)

comment:3 by Frank Mehnert, 8 years ago

Same problem as #14942.

comment:4 by Tim T ASP, 8 years ago

May be related to #14981.

comment:5 by Frank Mehnert, 8 years ago

Resolution: fixed
Status: newclosed

Should be fixed in VBox 5.0.14.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use