Bug 133800

Summary: kmix eats 99% CPU when USB sound card disconnected
Product: [Applications] kmix Reporter: Juuso Alasuutari <juuso.alasuutari>
Component: generalAssignee: Christian Esken <esken>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Juuso Alasuutari 2006-09-09 10:43:44 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Compiled From Sources
Compiler:          gcc 4.0.3 
OS:                Linux

I have a USB sound card as hw:0 and an integrated sound card as hw:1. When I unplug the USB card kmix starts using 99% CPU, but remains otherwise responsive. I am using aRTS with ALSA.

In `valgrind kmix` when the USB card is disconnected, the screen is flooded with this single line:

  kmix: Mixer_ALSA::poll() , Error: poll() returns POLLNVAL

This must be what keeps kmix so preoccupied as to use all available CPU.
Comment 1 Christian Esken 2006-09-19 02:13:53 UTC

*** This bug has been marked as a duplicate of 127294 ***