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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 8 22:07:11 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15472 
====================================================================== 
Reported By:                jasonyang
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15472
Category:                   Addons/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             2009-07-08 22:07 CDT
Last Modified:              2009-07-08 22:07 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) 


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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-08 22:07 jasonyang      New Issue                                    
2009-07-08 22:07 jasonyang      Asterisk Version          => 1.6.2.0-beta3   
2009-07-08 22:07 jasonyang      Regression                => No              
2009-07-08 22:07 jasonyang      SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list