Bug 1387991

Summary: spice pulse audio Segmentation fault
Product: [Community] Virtualization Tools Reporter: Jai Abishek <jjanarthanam>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED NOTABUG QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jjanarthanam, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: arm   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-11 11:00:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jai Abishek 2016-10-24 07:07:47 UTC
Description of problem:
while access windows guest without pulseaudio it is sucessfull but after adding the line in configuration file to enable pulse audio, i am getting error.
conf:
args: -device intel-hda,id=sound5,bus=pci.0,addr=0x18 -device hda-micro,id=sound5-codec0,bus=sound5.0,cad=0 -device hda-duplex,id=sound5-codec1,bus=sound5.0,cad=1

error:
GSpice-DEBUG: spice-pulse.c:103 spice_pulse_dispose
./vdiclient.sh: line 78: 14709 Segmentation fault
GSpice-DEBUG: spice-pulse.c:103 spice_pulse_dispose
Assertion 'pthread_mutex_lock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:90, function pa_mutex_lock(). Aborting.

Version-Release number of selected component (if applicable):
spice-gtk-0.26
pulseaudio-9.0
virt-viewer-1.0

How reproducible:
./configure --prefix=/usr/local --disable-maintainer-mode --disable-static --enable-introspection --without-python --without-sasl --disable-polkit --disable-vala --enable-smartcard=no --with-gtk=2.0 

regards,
Jai Abishek

Comment 1 Pavel Grunt 2016-10-24 12:08:53 UTC
Hi, spice-gtk v0.26 (and virt-viewer 1.0 as well) is too old, please check with the latest version of spice-gtk v0.33

Comment 2 Jai Abishek 2016-10-24 12:13:46 UTC
hi Pavel,
Thanks for the quick reply, 
I am using Proxmox server, It requires gtk 2.0 and in the spice-gtk v0.33 it doesnt allow to compile with gtk 2.0

Regards,
Jai Abishek.

Comment 3 Daniel Berrangé 2020-09-11 11:00:22 UTC
Closing since it appears from the description that the issue was related to SPICE, not virt-viewer.