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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 30 15:09:18 CDT 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-10-30 15:09 CDT
====================================================================== 
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!
====================================================================== 

---------------------------------------------------------------------- 
 (0094431) hubbaba (reporter) - 2008-10-30 15:09
 http://bugs.digium.com/view.php?id=13802#c94431 
---------------------------------------------------------------------- 
It was an originate command.  It was not async.  

Here is the backtrace:

http://bugs.digium.com/view.php?id=0  0x080d113a in process_events (s=0x839c160)
at manager.c:2388
http://bugs.digium.com/view.php?id=1  0x080dabf1 in do_message (s=0x839c164) at
manager.c:2865
http://bugs.digium.com/view.php?id=2  0x080db0a7 in session_do (data=0xb7b1c100)
at manager.c:2928
http://bugs.digium.com/view.php?id=3  0x0812e1db in dummy_start
(data=0xb7b2a990) at utils.c:898
http://bugs.digium.com/view.php?id=4  0xb7e104fb in ?? ()
http://bugs.digium.com/view.php?id=5  0xb7efee5e in ?? () 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-30 15:09 hubbaba        Note Added: 0094431                          
======================================================================




More information about the asterisk-bugs mailing list