[asterisk-bugs] [Asterisk 0012098]: Segmentation fault in chan_sip.c

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Mar 13 16:35:43 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12098 
====================================================================== 
Reported By:                wegbert
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   12098
Category:                   Channels/chan_sip/General
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 104334 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-28-2008 09:50 CST
Last Modified:              03-13-2008 16:35 CDT
====================================================================== 
Summary:                    Segmentation fault in chan_sip.c
Description: 
Using svn version from yesterday (svn download reported revision 104534,
'show version on cli reports 'SVN-branch-1.4-r104334'), asterisk crashed
with an segmentation fault:

Program terminated with signal 11, Segmentation fault.
0 0xb7509bfe in __ast_pthread_mutex_lock (filename=0xb755bdf4
"chan_sip.c", lineno=1900, func=0xb755c318 "retrans_pkt", 
    mutex_name=0xb755c324 "&pkt->owner->lock", t=0x0) at
/usr/src/asterisk-1.4/include/asterisk/lock.h:302
302 int canlog = strcmp(filename, "logger.c") & t->track;

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012089 Random crashes in different places
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 03-13-08 16:35  
---------------------------------------------------------------------- 
The problem with v2 was that there was some recursive locking done which
meant that the attempt to yield the lock in __sip_ack didn't actually help,
and led to an infinite loop still. I have attempted to eliminate the
recursive locking. Please give this new patch a try. Thanks for bearing
with us on this one. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-13-08 16:35  putnopvut      Note Added: 0083927                          
======================================================================




More information about the asterisk-bugs mailing list