[OpenSIPS-Devel] 1.7 crash on CentOS 5.6

Anton Zagorskiy a.zagorskiy at oyster-telecom.ru
Mon Jul 25 16:12:04 CEST 2011


Fixed in revision 8198.

 

From: devel-bounces at lists.opensips.org [mailto:devel-bounces at lists.opensips.org] On Behalf Of Anton Zagorskiy
Sent: Monday, July 25, 2011 5:29 PM
To: 'OpenSIPS devel mailling list'
Subject: [OpenSIPS-Devel] 1.7 crash on CentOS 5.6

 

Hi.

 

svn revision 8195 crashed after ACK request was received on CANCEL request while INVITE is in a process.

 

In GDB I see:

 

Program terminated with signal 11, Segmentation fault.

#0  move_bavp_dlg (msg=0xffffffff, rr_param=0x8a8680, store_spec=0x8a9ae0) at replace.c:653

653             code = msg->first_line.u.reply.statuscode;

 

(gdb) print msg

$1 = (struct sip_msg *) 0xffffffff

 

 

 

opensips log on ACK: http://pastebin.com/VRUsDprX

gdb bt & bt full: http://pastebin.com/LWZ5fijV

 

 

script snippet is quite simple:

               if (is_method("ACK"))

                {

                    if (t_check_trans())

                         t_relay();

                    else

                        xlog("L_ERR", "*** [ROUTE] : ACK-EXIT\n");

 

                    xlog("*** before exit()");

                    exit;

                    xlog("*** after exit()");

                };

 

 

===

WBR, Anton Zagorskiy

VoIP Developer, Oyster Telecom

e-mail:  <mailto:a.zagorskiy at oyster-telecom.ru> a.zagorskiy at oyster-telecom.ru

 <tel:+7> tel:+7 812 601-0610

fax:+7 812 601-0593

 <http://www.oyster-telecom.ru/> www.oyster-telecom.ru

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20110725/706bfea5/attachment-0001.htm>


More information about the Devel mailing list