[asterisk-bugs] [Asterisk 0016279]: [patch] asterisk reload causes mpg123 streams to be recreated

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 2 19:02:44 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16279 
====================================================================== 
Reported By:                parisioa
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16279
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.1.10 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-18 18:14 CST
Last Modified:              2009-12-02 19:02 CST
====================================================================== 
Summary:                    [patch] asterisk reload causes mpg123 streams to be
recreated
Description: 
Every time there is an asterisk reload all of the mpg123 streams get
re-started, and the old ones do not get removed.  This causes many many
streams to build up over time, and after enough reloads with enough streams
actually causes asterisk to completely fail.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016207 [patch] asterisk keeps starting new pro...
====================================================================== 

---------------------------------------------------------------------- 
 (0114628) parisioa (reporter) - 2009-12-02 19:02
 https://issues.asterisk.org/view.php?id=16279#c114628 
---------------------------------------------------------------------- 
i cant reproduce the crashes but i've crashed asterisk 3 times so far just
playing with it.

check out this nasty moh show classes output.  i did it twice to show it
printed out the exact same crazy stuff twice in a row.

csgtacsip1*CLI> moh show classes
Class: ngth: 0>
        Mode: o: <sip:1044 at rtel.csgopenline.com:5060>
        Directory:  Local/1593 at inside-leg-cd0e;1
Variable: __SIPADDHEADER
Value: Alert-Info: ;info=alert-autoanswer
Uniqueid: 1259801742.24


        Format: unknown
Class: : talk, hold, conference, LocalModeStatus
        Mode: <none>
        Directory:
,realm="asterisk",nonce="1439fd78",uri="sip:rtel.csgopenline.com:5060",response="574d4664d021e14060639ce2b2bdb42c",algorithm=MD5
        Format: unknown
Class: default
        Mode: files
        Directory: /var/lib/asterisk/moh
Class: e.com:5060
        Mode: one"
<sip:1517 at 192.168.16.226:5060;transport=udp>;expires=30;+sip.instance="<urn:uuid:00000000-0000-1000-8000-00085D20F49F>"
        Directory: 3a22d41f
        Format: unknown
Class: Hitz
        Mode: custom
        Directory: nodir
        Application: /usr/bin/mpg123 -q -s --mono -r 8000 -f 8192 -b 0
http://scfire-mtc-aa02.stream.aol.com:80/stream/1074
        Format: slin
[Dec  2 16:57:08] ERROR[12070]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x654c2d74 for 0x88ecfe0
[Dec  2 16:57:08] ERROR[12070]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x654c2d74 for 0x88ecfe0
[Dec  2 16:57:08] ERROR[12070]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x73746e65 for 0x88ed2f0
[Dec  2 16:57:08] ERROR[12070]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x73746e65 for 0x88ed2f0
[Dec  2 16:57:08] ERROR[12070]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x6e696c6e for 0x88eccd0
[Dec  2 16:57:08] ERROR[12070]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x6e696c6e for 0x88eccd0
csgtacsip1*CLI>
csgtacsip1*CLI>
csgtacsip1*CLI>
csgtacsip1*CLI>
csgtacsip1*CLI>
csgtacsip1*CLI> moh show classes
Class: ngth: 0>
        Mode: o: <sip:1044 at rtel.csgopenline.com:5060>
        Directory:  Local/1593 at inside-leg-cd0e;1
Variable: __SIPADDHEADER
Value: Alert-Info: ;info=alert-autoanswer
Uniqueid: 1259801742.24


        Format: unknown
Class: : talk, hold, conference, LocalModeStatus
        Mode: <none>
        Directory:
,realm="asterisk",nonce="1439fd78",uri="sip:rtel.csgopenline.com:5060",response="574d4664d021e14060639ce2b2bdb42c",algorithm=MD5
        Format: unknown
Class: default
        Mode: files
        Directory: /var/lib/asterisk/moh
Class: e.com:5060
        Mode: one"
<sip:1517 at 192.168.16.226:5060;transport=udp>;expires=30;+sip.instance="<urn:uuid:00000000-0000-1000-8000-00085D20F49F>"
        Directory: 3a22d41f
        Format: unknown
Class: Hitz
        Mode: custom
        Directory: nodir
        Application: /usr/bin/mpg123 -q -s --mono -r 8000 -f 8192 -b 0
http://scfire-mtc-aa02.stream.aol.com:80/stream/1074
        Format: slin
[Dec  2 16:57:45] ERROR[12070]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x654c2d74 for 0x88ecfe0
[Dec  2 16:57:45] ERROR[12070]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x654c2d74 for 0x88ecfe0
[Dec  2 16:57:45] ERROR[12070]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x73746e65 for 0x88ed2f0
[Dec  2 16:57:45] ERROR[12070]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x73746e65 for 0x88ed2f0
[Dec  2 16:57:45] ERROR[12070]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x6e696c6e for 0x88eccd0
[Dec  2 16:57:45] ERROR[12070]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x6e696c6e for 0x88eccd0
csgtacsip1*CLI> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-02 19:02 parisioa       Note Added: 0114628                          
======================================================================




More information about the asterisk-bugs mailing list