From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012
Description of problem:
When I try to create an audio CD with any version of gtoaster from MP3
files, gtoaster hangs while recording the first track.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.Add mp3 files to tracks
Actual Results: gtoaster hangs while recording the first track
Expected Results: Complete recording of all tracks
I tried several versions of gtoaster; all gave the same problem. After I
noticed that mpg123 in redhat 7.2 is actually a link to mpg321. I got
mpg123 0.59r binary from an older installation of redhat 7.0 and put it
instead of the link in redhat 7.2. It worked, the whole CD burned with no
Actually, the bug is on line 87 of mad.c in mpg321-0.1.5 where the return value
from read() is only compared == -1, not <= 0. This fix should also be
propagated to the developer, as it probably appears elsewhere in the code as
well. (I think this code only gets executed for files that can't be mmap()ed; I
found it while processing a file on an NFS filesystem.)
Just for some more information, you don't need gtoaster to hang the
mpg321 program. Any time you redirect output to mpg321 (using the
- option), it hangs at or near the end of the file. The simplest
test is to cat the mp3 to mpg321 and try to write out a file (-w
or -s options) and it hangs at the end.
As was noted before, mpg123 0.59q (version I used) does not have this
This is fixed in mpg321 0.2.9 and greater; hopefully the next version of Red Hat
will include 0.2.10.
Should be fixed in 0.2.9-3.