[asterisk-bugs] [Asterisk 0013761]: [patch] Prevent a crash when unloading res_musiconhold.so and then stopping asterisk.

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 18 17:59:02 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13761 
====================================================================== 
Reported By:                eliel
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   13761
Category:                   Resources/res_musiconhold
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     confirmed
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 151505 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-22 06:17 CDT
Last Modified:              2008-11-18 17:59 CST
====================================================================== 
Summary:                    [patch] Prevent a crash when unloading
res_musiconhold.so and then stopping asterisk.
Description: 
We are not unregistering function atexit being registered by
res_musiconhold module.
====================================================================== 

---------------------------------------------------------------------- 
 (0095032) svnbot (reporter) - 2008-11-18 17:59
 http://bugs.digium.com/view.php?id=13761#c95032 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 157592

U   trunk/res/res_musiconhold.c

------------------------------------------------------------------------
r157592 | mmichelson | 2008-11-18 17:59:01 -0600 (Tue, 18 Nov 2008) | 10
lines

This change prevents a crash from occurring if res_musiconhold.so
is unloaded and then Asterisk is stopped. The problem was that
we are not unregistering the ast_moh_destroy function at exit.

(closes issue http://bugs.digium.com/view.php?id=13761)
Reported by: eliel
Patches:
      res_musiconhold.c.patch uploaded by eliel (license 64)


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=157592 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-18 17:59 svnbot         Checkin                                      
2008-11-18 17:59 svnbot         Note Added: 0095032                          
======================================================================




More information about the asterisk-bugs mailing list