Bug 197683 - busy loop when output fd closed
Summary: busy loop when output fd closed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sox
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jiri Moskovcak
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-05 14:57 UTC by Tim Waugh
Modified: 2015-02-01 22:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-07-30 17:30:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
sox-busy-loop.patch (277 bytes, patch)
2006-07-05 14:57 UTC, Tim Waugh
no flags Details | Diff

Description Tim Waugh 2006-07-05 14:57:30 UTC
Description of problem:
When the output pipe is closed (the fd is reporting EOF), sox gets into a busy
loop. 

Version-Release number of selected component (if applicable):
sox-12.17.9-1.2

How reproducible:
100%

I'm seeing this with a slimserver/Squeezebox set-up (www.slimdevices.com).
  
Actual results:
Lots of busy-looping sox processes.

Expected results:
No abnormal CPU load.

Additional info:
Tested fix attached.

Comment 1 Tim Waugh 2006-07-05 14:57:30 UTC
Created attachment 131933 [details]
sox-busy-loop.patch

Comment 2 Jiri Moskovcak 2007-07-24 13:24:44 UTC
Does this bug persist in latest release?

Comment 3 Tim Waugh 2007-07-30 17:30:00 UTC
sox-12.18.1-1 works fine.


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