[Home]

Summary:ASTERISK-15264: [patch] mpg123 <defunct>
Reporter:robort (robort)Labels:
Date Opened:2009-12-02 19:24:34.000-0600Date Closed:2011-06-07 14:07:47
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_mp3
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20091202__issue16378.diff.txt
Description:I make use of MP3Player quite a lot in one application, and after a lot of use, if I do a `ps aux` I notice dozens of entries like "mpg123 <defunct>".  This happens on a daily basis, and I solve the issue by restarting asterisk and all of the "mpg 123 <defunct>" processes disappear.

It seems that mpg123 is hanging on close, not properly exiting.  I'm not sure if this is an Asterisk issue or an mpg123, I apologize if I submitted to the wrong tracker.

I also have recently upgraded to a recent mpg123, 1.9.1 and the problem persists.

If it helps, my linux version:

Linux version 2.6.9-89.0.11.ELsmp (mockbuild@x86-001.build.bos.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)) #1 SMP Mon Aug 31 11:01:10 EDT 2009
Comments:By: Tilghman Lesher (tilghman) 2009-12-02 19:46:54.000-0600

Are you using any other applications that spawn separate processes, such as AGI or System?

By: robort (robort) 2009-12-02 19:54:39.000-0600

An AGI spawn is called directly prior to the MP3Player() call.

By: Tilghman Lesher (tilghman) 2009-12-02 19:58:42.000-0600

The AGI spawn is what is preventing the mpg123 zombies from being harvested. However, this patch should cleanup those zombies.

By: Tilghman Lesher (tilghman) 2010-12-25 03:48:52.000-0600

No response from reporter.