[asterisk-bugs] [Asterisk 0012250]: chan_isavail segfaulting asterisk after sip_hangup (introduced after #8556 changes)

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Mar 18 13:08:21 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12250 
====================================================================== 
Reported By:                caio1982
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12250
Category:                   Applications/app_chanisavail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 109577 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-18-2008 13:08 CDT
Last Modified:              03-18-2008 13:08 CDT
====================================================================== 
Summary:                    chan_isavail segfaulting asterisk after sip_hangup
(introduced after http://bugs.digium.com/view.php?id=8556 changes)
Description: 
While testing a pristine copy of Asterisk before going after
http://bugs.digium.com/view.php?id=12248 I've
got a segfault when ast_hangup(tempchan) is called from app_chanisavail,
which then calls sip_hangup and crash. It was introduced after the commits
for http://bugs.digium.com/view.php?id=8556 (revision 108439).

The problem seems to be lying under if (!p->alreadygone &&
!ast_strlen_zero(p->initreq.data->str)) though my friends and I are not
completely sure.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-18-08 13:08  caio1982       Asterisk Version          => SVN             
03-18-08 13:08  caio1982       SVN Branch (only for SVN checkou =>  trunk       
  
03-18-08 13:08  caio1982       SVN Revision (number only!) => 109577          
======================================================================




More information about the asterisk-bugs mailing list