Bug 197683

Summary: busy loop when output fd closed
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: soxAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: dfediuck
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-30 17:30:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sox-busy-loop.patch none

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.