Red Hat Bugzilla – Bug 467064
ogg123 leaves terminal in non-blocking mode
Last modified: 2008-10-23 12:40:57 EDT
Description of problem:
After playing a .ogg file with ogg123, the terminal is left in non-blocking mode.
-Release number of selected component (if applicable):
Steps to Reproduce:
The terminal is in non-blocking mode
The terminal should not be in non-blocking mode.
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.
vorbis-tools-1.2.0-2.fc9 has been submitted as an update for Fedora 9.
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.