[asterisk-bugs] [Asterisk 0013802]: manager core dumps after 45, 000 AMI originates

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 10 09:17:57 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://insects.digium.com/view.php?id=13802 
====================================================================== 
Reported By:                hubbaba
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13802
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-29 14:29 CDT
Last Modified:              2008-11-10 09:17 CST
====================================================================== 
Summary:                    manager core dumps after 45,000 AMI originates
Description: 
I have a Java GatewayDriver that links ami to agi for outbound calls.  Each
call lasts 10 seconds (stream 2 (5 second) files via fast-agi).  After
45,000 calls (2 hours of processing 90 simultaneous calls on 4 PRI spans),
Asterisk proceeds to core dump.  

I opened the core in gdb.  The segmentation fault is occurring in
manager.c on line 2385.  s->last_ev is NULL for some reason and the
NEW_EVENT calls AST_LIST_NEXT which then fails because it tries to
dereference s->last_ev.  

I have a 62MB core file if anyone is interested in looking through it.  

Thank you for your help!  I really appreciate it!
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013837 Crash while processing events in manager.c
====================================================================== 

---------------------------------------------------------------------- 
 (0094706) hubbaba (reporter) - 2008-11-10 09:17
 http://insects.digium.com/view.php?id=13802#c94706 
---------------------------------------------------------------------- 
Hi Brandon,

Well, it crashed.  It performed just under a million calls with about
5,000 failures when it went down.  This happened on Saturday in the
afternoon.  I turned off optimization and am running again.  Right now,
I've completed 1,000,000 calls with about 17,000 failed calls.  When, and
if, this crashes, I'll give you a full stack trace.  

I'll walk you through everything tomorrow.  

Ben 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-10 09:17 hubbaba        Note Added: 0094706                          
======================================================================




More information about the asterisk-bugs mailing list