[asterisk-bugs] [Asterisk 0018510]: Asterisk 1.4.38, 1.6.2.15 and 1.8.1 with debug flags crashes on load test

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 22 18:18:57 UTC 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18510 
====================================================================== 
Reported By:                postas
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18510
Category:                   Core/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.15 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-21 09:22 CST
Last Modified:              2010-12-22 12:18 CST
====================================================================== 
Summary:                    Asterisk 1.4.38, 1.6.2.15 and 1.8.1 with debug flags
crashes on load test
Description: 
I'm was trying to debug a deadlock on asterisk 1.4.38 and activated all the
following debug flags:

DONT_OPTIMIZE                                                             
     DEBUG_THREADS                                                         
         LOADABLE_MODULES                                                  
             DEBUG_FD_LEAKS                                                
                 DEBUG_CHANNEL_LOCKS                                       
                     MALLOC_DEBUG                                          
                         

Then started a 30 call per second load test using SIPp with audio (plays a
ALAW pcap and RFC2833 DTMF's).
Asterisk extensions.conf has the following config:

[default]
;exten => _.,1,InAsteriskApp()
exten => _19196,1,Playback(/var/lib/asterisk/welcome)
exten => h,1,Hangup

Logger.conf has the following config:

;debug => debug
console => notice,warning,error,verbose,debug
;console => notice,warning,error
messages => notice,warning,error
;full => notice,warning,error,debug,verbose

I'm Running asterisk with the command 'asterisk -vvvgdc'.

I've tried all this test with the most recent versions of asterisk 1.4,
1.6 and 1.8 branches and get the same error after
https://issues.asterisk.org/view.php?id=72#c300 calls.

Can anyone help me? Thanks


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

---------------------------------------------------------------------- 
 (0129895) postas (reporter) - 2010-12-22 12:18
 https://issues.asterisk.org/view.php?id=18510#c129895 
---------------------------------------------------------------------- 
I removed -nd and at the same time moved the sipp to another server and set
up a <pause milliseconds="10000"/> session with 30 cps. It blew up after
253 calls. It seems to be the DEBUG_* doing damages. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-22 12:18 postas         Note Added: 0129895                          
======================================================================




More information about the asterisk-bugs mailing list