[Home]

Summary:ASTERISK-14439: "Segmentation fault " caused by reinvite
Reporter:jasonyang (jasonyang)Labels:
Date Opened:2009-07-08 22:07:11Date Closed:2009-07-09 09:45:54
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Addons/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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.


#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)

Comments:By: Russell Bryant (russell) 2009-07-09 09:45:54

After looking at the code, the issue has already been fixed in svn.  Thanks for the report!