Bug 55679
Summary: | gtoaster hangs when recording audio tracks with mpg321 | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Faisal Malallah <hitman1> |
Component: | mpg321 | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-04-06 07:48:55 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
Faisal Malallah
2001-11-04 19:27:04 UTC
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 problem. 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. |