Bug 379311 - volume control uses 100% CPU if audio device removed
Summary: volume control uses 100% CPU if audio device removed
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-media
Version: 10
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-13 04:02 UTC by Samuel Sieb
Modified: 2009-03-25 13:06 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-03-25 13:06:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Samuel Sieb 2007-11-13 04:02:02 UTC
Description of problem:


Version-Release number of selected component (if applicable):
gnome-media-2.20.1-3.fc8

How reproducible:
always

Steps to Reproduce:
1. plug in a usb audio device
2. open the volume control
3. select the usb device
4. unplug the usb device
  
Actual results:
volume control uses 100% cpu

Expected results:
volume control switches to a different device

Comment 1 Bug Zapper 2008-11-26 08:23:15 UTC
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '8'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 8's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 8 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Bug Zapper 2009-01-09 05:11:24 UTC
Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 3 Samuel Sieb 2009-01-09 05:49:45 UTC
Sorry, I forgot about testing this.  Yes, it needs to be reopened.  I can reproduce it in F10.  The problem is that the control file is gone, so the poll() returns invalid for the file descriptor.  The code never checks for that so it constantly loops on the poll until you pick a different device.

Comment 4 Bastien Nocera 2009-03-25 13:06:58 UTC
This is fixed with the gnome-volume-control rewrite in F11. The old code is a hopeless case I'm afraid.


Note You need to log in before you can comment on or make changes to this bug.