Bug 467064

Summary: ogg123 leaves terminal in non-blocking mode
Product: [Fedora] Fedora Reporter: Sjoerd Mullender <sjoerd>
Component: vorbis-toolsAssignee: Zdenek Prikryl <zprikryl>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: hdegoede, zprikryl
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: 2008-10-23 16:40:57 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:

Description Sjoerd Mullender 2008-10-15 15:10:11 UTC
Description of problem:
After playing a .ogg file with ogg123, the terminal is left in non-blocking mode.

Versionvorbis-tools-1.2.0-1.fc9.x86_64
-Release number of selected component (if applicable):


How reproducible:
100%


Steps to Reproduce:
1.ogg123 some-file.ogg
2.
3.
  
Actual results:
The terminal is in non-blocking mode

Expected results:
The terminal should not be in non-blocking mode.


Additional info:
When run under strace (strace -o out ogg123 some-file.ogg) you can see it happening in the strace output.  There is a line
<pid> fcntl(2, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
but no corresponding line where the O_NONBLOCK flag is cleared.  In fact, there are no other fcntl calls on file descriptor 2 (nor on 0 or 1).
This happens right before ogg123 prints the audio device.

Comment 1 Fedora Update System 2008-10-21 07:57:34 UTC
vorbis-tools-1.2.0-2.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/vorbis-tools-1.2.0-2.fc9

Comment 2 Fedora Update System 2008-10-23 16:40:55 UTC
vorbis-tools-1.2.0-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.