[asterisk-bugs] [Asterisk 0014211]: Asterisk Crashes with signal 11 (segmentation fault) at random intervals (but at least 2 times a day)

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 12 16:59:43 CST 2009


The following issue is now in status NEW (again) 
====================================================================== 
http://bugs.digium.com/view.php?id=14211 
====================================================================== 
Reported By:                aborghi
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14211
Category:                   Channels/chan_sip/Registration
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-11 16:34 CST
Last Modified:              2009-01-12 16:59 CST
====================================================================== 
Summary:                    Asterisk Crashes with signal 11 (segmentation fault)
at random intervals (but at least 2 times a day)
Description: 
Asterisk Crashes with signal 11 (segmentation fault) at random intervals
(but at least 2 times a day)

Asterisk began crashing after a configuration change to the sip channel to
handle two additional Corda numbers (before we had only one number and the
server keep running months).
Beside the obvious error in sip configuration i was going to solve,
asterisk began crashing more or less regularly after adding the
registrations for the new corda numbers, totalling 3 SIP registrations to
the cordia servers.

while debugging, I noted that che cordia servers does not seem to reply in
a timely manner to the sip requests, delaying registrations for long time
before accepting it.

from various backtraces i done while preparing the files for the report,
form various different crashes, i see that the signal 11 occours every time
in handle_response_register

A thing i noted is that while i have registerattempts=10 when the
registrations to cordia are timing out in the messages in the console i see
ALWAYS the attempt count a 0. It seems that asterisk is not counting
attempts to register to the cordia servers so it is not reaching the limit
i imposed of 10 attempts.


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

---------------------------------------------------------------------- 
 (0097544) putnopvut (administrator) - 2009-01-12 16:59
 http://bugs.digium.com/view.php?id=14211#c97544 
---------------------------------------------------------------------- 
Actually, the valgrind output may not be necessary. I was looking at an
incorrect line of the code when I analyzed the problem before and may be
able to determine the problem on my own. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-12 16:59 putnopvut      Note Added: 0097544                          
2009-01-12 16:59 putnopvut      Status                   feedback => new     
======================================================================




More information about the asterisk-bugs mailing list