! 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 !
Unplugging headset makes xfce-mixer use all CPU time
Status:
RESOLVED: INVALID
Product:
Xfce4-mixer
Component:
General

Comments

Description Ed Guenthner 2009-12-09 08:33:39 CET
I am running xubuntu 9.10.

I have a USB headset connected to the docking station of my laptop.
I am using the xfce mixer plugin and the xfce4-mixer.

When I:
* eject the laptop from the docking stations or
* simply unplug the headset

the plugin doesnt realize that my USB headset is gone.
In addition (and worse) the mixer itself starts eating
up all CPU time (my load goes to almost 100%).

Killing & restarting the mixer doesnt help.

This is forcing me to reboot my laptop far too often.

In addition: removing/adding devices is a really basic feature ...
such things HAVE to work in my eyes.
Comment 1 Steve Dodier-Lazaro editbugs 2010-01-31 11:37:42 CET
Hi,

This bug is similar to a xfce4-volumed bug, happening in pretty much the same circumstances. Debugging has shown that this is caused by Gstreamer, usually when PulseAudio runs too. I have no idea how to find the exact cause of the bug as it doesn't happen with my hardware.
Comment 2 Ed Guenthner 2010-02-01 16:08:37 CET
Thanks for your comment(In reply to comment #1)
> This bug is similar to a xfce4-volumed bug, happening in pretty much the same
> circumstances. Debugging has shown that this is caused by Gstreamer, usually
> when PulseAudio runs too. I have no idea how to find the exact cause of the bug
> as it doesn't happen with my hardware.

Thanks for your reply. Up to now I had the feeling that 
a) I am the only person with this problem
b) nobody from XFCE devel gives a **** 

For me the problem is "rock solid" reproducable. 
Is there anything I could do to help?

Like compiling a debug version of whatever module to
collect some date for you?

If so - i would need some guidance on howto enable
compile and stuff on xubuntu 9.10.

(btw: are you answering because you would be responsible
for fixing this, or because you have a similiar problem?)
Comment 3 Steve Dodier-Lazaro editbugs 2010-02-01 17:57:06 CET
(In reply to comment #2)
> Thanks for your comment(In reply to comment #1)
> > This bug is similar to a xfce4-volumed bug, happening in pretty much the same
> > circumstances. Debugging has shown that this is caused by Gstreamer, usually
> > when PulseAudio runs too. I have no idea how to find the exact cause of the bug
> > as it doesn't happen with my hardware.
> 
> Thanks for your reply. Up to now I had the feeling that 
> a) I am the only person with this problem
> b) nobody from XFCE devel gives a **** 

b) is not true, definitely. This kind of bug happens with a very limited range of hardware. I've had only a few reports of it in xfce4-volumed, and without the hardware that fails, it is impossible neither for Jannis nor for I to find the issue, since it happens in Gstreamer and not in the applications we wrote.

> 
> For me the problem is "rock solid" reproducable. 
> Is there anything I could do to help?
> 
> Like compiling a debug version of whatever module to
> collect some date for you?
> 
> If so - i would need some guidance on howto enable
> compile and stuff on xubuntu 9.10.

In fact if the bug was happening for me too I'm not entirely sure how I would manage it. It would require to build gstreamer with debug symbols, and to use gdb to find the faulty function and to determine why it uses 100% of the CPU. If you've never used gdb before, it's unlikely you can manage to sort things out.

I'm really sorry for saying it but as long as it doesn't happen to someone who can find the bug on his/her own, it's unlikely it can be fixed.

> 
> (btw: are you answering because you would be responsible
> for fixing this, or because you have a similiar problem?)

I'm the maintainer of xfce4-volumed.
Comment 4 Ed Guenthner 2010-02-02 09:38:09 CET
(In reply to comment #3)

> b) is not true, definitely. This kind of bug happens with a very limited range

I understand. But for a user its hard to tell the difference.
I wrote up this ticket; and later on sent out a note to the
assignee ... no response for quite a while.

> In fact if the bug was happening for me too I'm not entirely sure how I would
> manage it. It would require to build gstreamer with debug symbols, and to use
> gdb to find the faulty function and to determine why it uses 100% of the CPU.
> If you've never used gdb before, it's unlikely you can manage to sort things
> out.

Used gdb in the past; but my last "bug fixing" assistance boiled
down to install the required KDE add ons and then compile
a to-be-tested module and provide feedback. 

I feat that I wont have the time to dig into such things that
deep. If it helps: I am using a Lenovo Thinkpad T61P; and the
headset is a plantronics dsp something.

Bug #6063

Reported by:
Ed Guenthner
Reported on: 2009-12-09
Last modified on: 2020-05-21

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Version:
Unspecified

Attachments

Additional information