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

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Apr 17 16:19:42 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12113 
====================================================================== 
Reported By:                agupta
Assigned To:                crich
====================================================================== 
Project:                    Asterisk
Issue ID:                   12113
Category:                   Channels/chan_misdn
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-01-2008 04:46 CST
Last Modified:              04-17-2008 16:19 CDT
====================================================================== 
Summary:                    asterisk crash at reload chan_misdn.so
Description: 
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/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 .
====================================================================== 

---------------------------------------------------------------------- 
 crich - 04-17-08 16:19  
---------------------------------------------------------------------- 
sorry to have let you wait for so long. This internal Error Thing happens,
when chan_misdn tries to reallocate a Bchannel Stack from mISDN, which was
previously allocated. 

This often happens, when asterisk crashes and restarts fastly (there might
be coredumps which are dated shortly before this Internal Error) then mISDN
might remember previously activated B-Channels. 

When Asterisk is now started again, it thinks every channel is free and it
just tries to get the next channel, this causes the Internal error. 

This scenario is the most common scenario to produce the Internal error,
so the point is to remove the crash of asterisk, or in case of a crash to
re-initialize the mISDN modules (reloading them). 

a short glimpse of your backtraces show very strange locatoins for a
crash. what kind of distro/ compiler are you using? 

I saw the first crash once on a Suse System. A switch to debian, without
touching the configs fixed the problem. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-17-08 16:19  crich          Note Added: 0085663                          
======================================================================




More information about the asterisk-bugs mailing list