ports/68031: mpg123 inifinite loop on reading end-of-file, consumes 100% cpu
Rich Murphey
rich at murphey.org
Thu Jun 17 04:40:33 UTC 2004
>Number: 68031
>Category: ports
>Synopsis: mpg123 inifinite loop on reading end-of-file, consumes 100% cpu
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 17 04:40:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Rich Murphey
>Release: 5.2.1
>Organization:
Rich
>Environment:
FreeBSD xa.houston.rr.com 5.2.1-RC FreeBSD 5.2.1-RC #0: Mon Jun 14 18:18:35 CDT 2004 root at xa.houston.rr.com:/usr/a/altq-freebsd-5.2-release-beta2/sys/i386/compile/TEST i386
>Description:
mpg123 is going into an infinite loop in
play_frame() when it sees an end of file
while trying to read a command. The patch
breaks that loop upon an end of file.
>How-To-Repeat:
Run asterisk-current from asterisk.org. It spawns mpg123 for music on hold. Mpg123 goes into an infinite loop on startup.
>Fix:
This patch breaks the infinite loop upon an end of file.
http://www.whiteoaklabs.com/code/patch-mpg123.c
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list