! 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 !
panel/mixer crashes when stopping alsasound
Status:
RESOLVED: INVALID
Product:
Xfce4-mixer
Component:
Panel Plugin

Comments

Description Roland B 2005-05-03 13:12:55 CEST
On a Gentoo system, when restarting or stopping /etc/init.d/alsasound it 
kills standalone mixer or the panel.
Seams that it poll()'s from /dev/mixer, and unloading alsa then kills that.

Reproducible: Always
Steps to Reproduce:
1. xfce4-mixer &
2. su
3. /etc/init.d/alsasound stop

Actual Results:  
App killed (get
Comment 1 Eric Paynter 2005-06-25 01:38:17 CEST
There's a thread about this in the gentoo forums. You're not the only one.
Killing alsa also seems to kill sound until you exit xfce. :(

http://forums.gentoo.org/viewtopic-p-2523915.html#2523915
Comment 2 Eric Paynter 2005-06-25 03:03:31 CEST
(In reply to comment #1)
> There's a thread about this in the gentoo forums. You're not the only one.
> Killing alsa also seems to kill sound until you exit xfce. :(
> 
> http://forums.gentoo.org/viewtopic-p-2523915.html#2523915

Correction: killing alsa does not require a desktop restart to get sound back. I
wasn't in the "audio" group... adding me to that group fixed it. Restarting the
desktop was setting permissions to "me,audio" on /dev/dsp. Stop/start also sets
premissions to "root,audio".

However, stopping alsa still kills the panel, even with no mixer on the panel.

Comment 3 xface 2005-08-29 16:49:31 CEST
Bug not fixed in 4.2.2

even if I start xfce4 as user I see:

13067 lrwxrwxrwx  1 root root 9 Aug 29 18:38 /dev/dsp -> sound/dsp

stopping alsasound on Gentoo removes that device and crashes the panel
Comment 4 dannym editbugs 2005-09-10 14:00:36 CEST
xface: is the backtrace the same ?
Comment 5 dannym editbugs 2006-05-30 22:31:11 CEST
timeout

Bug #935

Reported by:
Roland B
Reported on: 2005-05-03
Last modified on: 2009-07-14

People

CC List:
1 user

Version

Attachments

Additional information