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

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Mar 13 15:31:57 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 15:31 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
====================================================================== 

---------------------------------------------------------------------- 
 jvandal - 03-13-08 15:31  
---------------------------------------------------------------------- 
I'm testing the new patch and now have tons of locks on SIP channels.

=== Thread ID: 2936552352 (pbx_thread           started at [ 2655] pbx.c
ast_pbx_start())
=== ---> Waiting for Lock http://bugs.digium.com/view.php?id=0 (chan_sip.c):
MUTEX 15728 restart_monitor
&monlock 0x3bb600 (1)
=== --- ---> Locked Here: chan_sip.c line 15683 (do_monitor)
=== -------------------------------------------------------------------

(this repeat about 300-400 times, only thread id changes) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-13-08 15:31  jvandal        Note Added: 0083921                          
======================================================================




More information about the asterisk-bugs mailing list