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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 2 13:07:47 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16279 
====================================================================== 
Reported By:                parisioa
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16279
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
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 13:07 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0114551) parisioa (reporter) - 2009-12-02 13:07
 https://issues.asterisk.org/view.php?id=16279#c114551 
---------------------------------------------------------------------- 
Here is the refs file 
csgtacsip1:/usr/src/asterisk-1.6.1.svn# cat /tmp/refs
0x86084b8 -1   res_musiconhold.c:1615:ast_moh_destroy (Destroy callback)
[@1]
0x86084b8 **call destructor** res_musiconhold.c:1615:ast_moh_destroy
(Destroy callback)
0xf791e488 =1   res_musiconhold.c:1766:load_module (Moh class container)
0xf791e270 =1   res_musiconhold.c:1770:load_module (Moh deleted class
container)
0xf791e698 =1   res_musiconhold.c:1563:load_moh_classes (Allocating new
moh class)
0xf791e698 +1   res_musiconhold.c:1157:_moh_register (Adding class to
container) [@1]
0xf791e698 -1   res_musiconhold.c:1160:_moh_register (Unreffing new moh
class because we just added it to the container) [@2]
0xf7916250 =1   res_musiconhold.c:1563:load_moh_classes (Allocating new
moh class)
0xf7916250 +1   res_musiconhold.c:1157:_moh_register (Adding class to
container) [@1]
0xf7916250 -1   res_musiconhold.c:1160:_moh_register (Unreffing new moh
class because we just added it to the container) [@2]
0xf791dc68 =1   res_musiconhold.c:1563:load_moh_classes (Allocating new
moh class)
0xf791e698 +1   res_musiconhold.c:1613:load_moh_classes (get_mohbyname)
[@1]
0xf791e698 -1   res_musiconhold.c:1126:_moh_register (unreffing mohclass
we just found by name) [@2]
0xf791dc68 -1   res_musiconhold.c:1128:_moh_register (unreffing potential
new moh class (it is a duplicate)) [@1]
0xf791dc68 **call destructor** res_musiconhold.c:1128:_moh_register
(unreffing potential new moh class (it is a duplicate))
0xf791dc68 =1   res_musiconhold.c:1563:load_moh_classes (Allocating new
moh class)
0xf7916250 +1   res_musiconhold.c:1613:load_moh_classes (get_mohbyname)
[@1]
0xf7916250 -1   res_musiconhold.c:1133:_moh_register (unreffing mohclass
we just found by name) [@2]
0xf791dc68 +1   res_musiconhold.c:1157:_moh_register (Adding class to
container) [@1]
0xf791dc68 -1   res_musiconhold.c:1160:_moh_register (Unreffing new moh
class because we just added it to the container) [@2]
0xf7916250 +1   res_musiconhold.c:1518:moh_classes_delete_marked () [@1]
0xf7916250 -1   res_musiconhold.c:1621:load_moh_classes (Purge marked
classes) [@2]
0xf791e698 +1   res_musiconhold.c:1518:moh_classes_delete_marked () [@1]
0xf791e698 -1   res_musiconhold.c:1621:load_moh_classes (Purge marked
classes) [@2]
0xf7916250 +1   res_musiconhold.c:554:deleted_monitor () [@1]
0xf7916250 -1   res_musiconhold.c:556:deleted_monitor () [@2]
0xf7916250 -1   res_musiconhold.c:558:deleted_monitor () [@1]
0xf7916250 **call destructor** res_musiconhold.c:558:deleted_monitor ()
0xf791dc68 -1   res_musiconhold.c:1629:ast_moh_destroy (Destroy callback)
[@1]
0xf791dc68 **call destructor** res_musiconhold.c:1629:ast_moh_destroy
(Destroy callback)
0x8deede8 =1   res_musiconhold.c:1766:load_module (Moh class container)
0x8deebd0 =1   res_musiconhold.c:1770:load_module (Moh deleted class
container)
0x8df0f40 =1   res_musiconhold.c:1563:load_moh_classes (Allocating new moh
class)
0x8df0f40 +1   res_musiconhold.c:1157:_moh_register (Adding class to
container) [@1]
0x8df0f40 -1   res_musiconhold.c:1160:_moh_register (Unreffing new moh
class because we just added it to the container) [@2]
0x8df1250 =1   res_musiconhold.c:1563:load_moh_classes (Allocating new moh
class)
0x8df1250 +1   res_musiconhold.c:1157:_moh_register (Adding class to
container) [@1]
0x8df1250 -1   res_musiconhold.c:1160:_moh_register (Unreffing new moh
class because we just added it to the container) [@2] 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-02 13:07 parisioa       Note Added: 0114551                          
======================================================================




More information about the asterisk-bugs mailing list