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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 1 21:13:03 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-01 21:13 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0114499) parisioa (reporter) - 2009-12-01 21:13
 https://issues.asterisk.org/view.php?id=16279#c114499 
---------------------------------------------------------------------- 
i removed res/*mus* then rechecked out hte code to make sure i was starting
from scratch. make clean, make,

   [LD] res_limit.o -> res_limit.so
   [CC] res_monitor.c -> res_monitor.o
   [LD] res_monitor.o -> res_monitor.so
   [CC] res_musiconhold.c -> res_musiconhold.o
res_musiconhold.c: In function â_get_mohbynameâ:
res_musiconhold.c:769: warning: passing argument 4 of â_ao2_find_debugâ
discards                                                                   
                                                            qualifiers from
pointer target type
res_musiconhold.c:769: warning: passing argument 5 of â_ao2_find_debugâ
makes po                                                                   
                                                           inter from
integer without a cast
res_musiconhold.c:769: warning: passing argument 6 of â_ao2_find_debugâ
makes in                                                                   
                                                           teger from
pointer without a cast
res_musiconhold.c:769: error: too few arguments to function
â_ao2_find_debugâ
make[1]: *** [res_musiconhold.o] Error 1
make: *** [res] Error 2
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect
CONFIGURE_S                                                                
                                                             
ILENT="--silent" makeopts
make[1]: Entering directory `/root/asterisk-1.6.1.svn/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/root/asterisk-1.6.1.svn/menuselect'
   [CC] res_musiconhold.c -> res_musiconhold.o
res_musiconhold.c: In function â_get_mohbynameâ:
res_musiconhold.c:769: warning: passing argument 4 of â_ao2_find_debugâ
discards                                                                   
                                                            qualifiers from
pointer target type
res_musiconhold.c:769: warning: passing argument 5 of â_ao2_find_debugâ
makes po                                                                   
                                                           inter from
integer without a cast
res_musiconhold.c:769: warning: passing argument 6 of â_ao2_find_debugâ
makes in                                                                   
                                                           teger from
pointer without a cast
res_musiconhold.c:769: error: too few arguments to function
â_ao2_find_debugâ
make[1]: *** [res_musiconhold.o] Error 1
make: *** [res] Error 2
csgtacsip1:~/asterisk-1.6.1.svn# 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-01 21:13 parisioa       Note Added: 0114499                          
======================================================================




More information about the asterisk-bugs mailing list