[asterisk-bugs] [Asterisk 0012113]: [patch] asterisk crash at reload chan_misdn.so

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 17 11:52:06 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=12113 
====================================================================== 
Reported By:                agupta
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   12113
Category:                   Channels/chan_misdn
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.18 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-03-01 04:46 CST
Last Modified:              2009-08-17 11:52 CDT
====================================================================== 
Summary:                    [patch] asterisk crash at reload chan_misdn.so
Description: 
Program terminated with signal 11, Segmentation fault.
https://issues.asterisk.org/view.php?id=0  0x08072612 in __ast_free_region
(ptr=0x89ed6d8, file=0x813f573
"indications.c", lineno=438, func=0x813f7b7 "free_zone")
    at astmm.c:152
152             for (reg = regions[hash]; reg; reg = reg->next) {

BT full is attached .
====================================================================== 

---------------------------------------------------------------------- 
 (0109139) svnbot (reporter) - 2009-08-17 11:52
 https://issues.asterisk.org/view.php?id=12113#c109139 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 212507

_U  branches/1.6.0/
U   branches/1.6.0/channels/misdn_config.c

------------------------------------------------------------------------
r212507 | jpeeler | 2009-08-17 11:52:05 -0500 (Mon, 17 Aug 2009) | 26
lines

Merged revisions 212506 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r212506 | jpeeler | 2009-08-17 11:50:45 -0500 (Mon, 17 Aug 2009) | 19
lines
  
  Merged revisions 212498 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r212498 | jpeeler | 2009-08-17 11:34:56 -0500 (Mon, 17 Aug 2009) | 12
lines
    
    Fix segfault when reloading chan_misdn.
    
    If more ports were specified than configured in misdn.conf a reload
would crash
    asterisk. The problem was the unconfigured port was using data from
the
    previously configured port. When the data for an unconfigured port was
freed a
    crash would result from the double free.
    
    (closes issue https://issues.asterisk.org/view.php?id=12113)
    Reported by: agupta
    Patches:
          bug12113.patch uploaded by jpeeler (license 325)
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-17 11:52 svnbot         Checkin                                      
2009-08-17 11:52 svnbot         Note Added: 0109139                          
======================================================================




More information about the asterisk-bugs mailing list