! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-mixer seg faults with system using 2 sound cards
Status:
RESOLVED: WORKSFORME
Product:
Xfce4-mixer
Component:
General

Comments

Description james 2006-04-10 15:36:24 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1

I have 2 sound cards an embedded via chipset sound card and a PCI sound blaster card. Accessed as 0 and 1 respectively when running alsamixer -c X
Card: VIA 8235                                                                                                                         
Chip: VIA Technologies VIA1612A
Card: CA0106                                                                                                                            
Chip: <The chipset doesn't show up but it's a Soundblaster Audigy Live>
After compiling and installing xfce4-4.2.3.2 the xfce4-mixer app will not launch from the Settings Panel and neither from the command line.


Reproducible: Always

Steps to Reproduce:
1. open xterm
2. xfce4-mixer
3.

Actual Results:  
Segmentation Fault
When trying to launch the mixer from the panel it sometimes kills the panel and remove the theming.


This error message occurs when running strace /usr/local/bin/xfce4-mixer
xfce4-mixer: simple.c:174: snd_mixer_selem_get_name: Assertion `(elem)->type == SND_MIXER_ELEM_SIMPLE' failed.

Appears that when running alsamixer without explicitly defining the card you get No mixer elems found, I need to run alsamixer with the -c <card number> option to get it to choose a sound card.

I am thinking that the xfce4-mixer is launching expecting a default card and when it doesn't find one it's seg faulting.
Comment 1 dannym editbugs 2006-05-30 22:15:33 CEST
a backtrace please
Comment 2 dannym editbugs 2006-08-31 18:50:50 CEST
no info, no fix

Bug #1654

Reported by:
james
Reported on: 2006-04-10
Last modified on: 2009-07-14

People

CC List:
0 users

Version

Attachments

Additional information