[asterisk-bugs] [Asterisk 0015508]: [patch] Segfault - Perhaps in sig_analog.c

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 17 12:02:46 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15508 
====================================================================== 
Reported By:                elguero
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   15508
Category:                   Channels/chan_dahdi
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 206603 
Request Review:              
====================================================================== 
Date Submitted:             2009-07-15 12:52 CDT
Last Modified:              2009-07-17 12:02 CDT
====================================================================== 
Summary:                    [patch] Segfault - Perhaps in sig_analog.c
Description: 
Asterisk is segfaulting when an incoming call from a PRI span is being sent
(dial) on to analog group.

I will attach a backtrace.  This has happened three times and I was able
to catch it the last time.
====================================================================== 

---------------------------------------------------------------------- 
 (0107901) svnbot (reporter) - 2009-07-17 12:02
 https://issues.asterisk.org/view.php?id=15508#c107901 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 206998

U   trunk/channels/chan_dahdi.c
U   trunk/channels/sig_analog.c

------------------------------------------------------------------------
r206998 | jpeeler | 2009-07-17 12:02:45 -0500 (Fri, 17 Jul 2009) | 14
lines

Fix segfault in sig_analog when using callwaiting, respect callwaiting
options

Sig_analog handles allocating the sub channel for callwaiting, so no
longer try
to do it in chan_dahdi. Modified analog_alloc_sub to only mark the sub as
allocated upon success of the alloc_sub callback, which was responsible
for the
segfault. Also, the callwaiting and callwaitingcallerid options were being
unconditionally set to true. Now, the options are properly set from
chan_dahdi.conf.

(closes issue https://issues.asterisk.org/view.php?id=15508)
Reported by: elguero
Tested by: elguero


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-17 12:02 svnbot         Checkin                                      
2009-07-17 12:02 svnbot         Note Added: 0107901                          
======================================================================




More information about the asterisk-bugs mailing list