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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 3 08:11:30 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.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-03 08:11 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!
====================================================================== 

---------------------------------------------------------------------- 
 (0094519) hubbaba (reporter) - 2008-11-03 08:11
 http://bugs.digium.com/view.php?id=13802#c94519 
---------------------------------------------------------------------- 
Just an FYI.  I ran my tests over the weekend using BE and pushed 1,536,777
calls through with only 17 failures.  So, for the time being, we'll be on
BE.  Once you get to a point where you have a fix and are ready to test, I
can setup another box with Asterisk 1.6 and try your fix there.

Thanks for your help!  I really appreciate it! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-03 08:11 hubbaba        Note Added: 0094519                          
======================================================================




More information about the asterisk-bugs mailing list