[asterisk-bugs] [Asterisk 0015472]: "Segmentation fault " caused by reinvite

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 9 09:45:54 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15472 
====================================================================== 
Reported By:                jasonyang
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   15472
Category:                   Addons/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.2.0-beta3 
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:             2009-07-08 22:07 CDT
Last Modified:              2009-07-09 09:45 CDT
====================================================================== 
Summary:                    "Segmentation fault " caused by reinvite
Description: 
i have used asterisk-1.6.2.0,
UserAgent:eyebeam and xlite

when using exten(eyebeam) to call another(xlite),asterisk was dead with
""Segmentation fault".

i track the core file,found it caused by p->options is null.


https://issues.asterisk.org/view.php?id=0  0x01220356 in reqprep
(req=0xb7afeb78, p=0x9fc8100, sipmethod=5,
seqno=102, newbranch=1) at chan_sip.c:8752
8752            if (sipmethod == SIP_CANCEL || (sipmethod == SIP_INVITE &&
!ast_strlen_zero(p->options->auth))) {
(gdb) p p->options
$1 = (struct sip_invite_param *) 0x0
(gdb) 


====================================================================== 

---------------------------------------------------------------------- 
 (0107510) russell (administrator) - 2009-07-09 09:45
 https://issues.asterisk.org/view.php?id=15472#c107510 
---------------------------------------------------------------------- 
After looking at the code, the issue has already been fixed in svn.  Thanks
for the report! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-09 09:45 russell        Note Added: 0107510                          
2009-07-09 09:45 russell        Status                   new => resolved     
2009-07-09 09:45 russell        Resolution               open => fixed       
2009-07-09 09:45 russell        Assigned To               => russell         
2009-07-09 09:45 russell        Status                   resolved => closed  
======================================================================




More information about the asterisk-bugs mailing list