[asterisk-bugs] [Asterisk 0016302]: Asterisk crashes with Asyc AGI when hangup

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 23 19:31:07 CST 2009


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16302 
====================================================================== 
Reported By:                yahsyn
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16302
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.18 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-21 22:46 CST
Last Modified:              2009-11-23 19:31 CST
====================================================================== 
Summary:                    Asterisk crashes with Asyc AGI when hangup
Description: 
OS: CentOS 5.4 64Bit

Problem:
Sending a call to Async AGI when you hangup asterisk crashes. To see the
problem yourself:

exten => 1234,1,AGI(agi:async)

Dial 1234, then hangup & asterisk will crash. The bug only applies on
64bit, 32bit is fine.

Here is the core dump:

Program terminated with signal 11, Segmentation fault.
.
.
.
https://issues.asterisk.org/view.php?id=0  ast_speech_destroy
(speech=0x2aaaab8f5000) at res_speech.c:225
225	res_speech.c: No such file or directory.
	in res_speech.c
(gdb) bt
https://issues.asterisk.org/view.php?id=0  ast_speech_destroy
(speech=0x2aaaab8f5000) at res_speech.c:225
https://issues.asterisk.org/view.php?id=1  0x00002aaaab9008e3 in launch_script
(chan=0x4a72a00, script=0x4a41ef0
"", argv=0x4204e448, fds=0x0, efd=<value optimized out>, 
    opid=<value optimized out>) at res_agi.c:504
https://issues.asterisk.org/view.php?id=2  0x00002aaaab9013fd in agi_exec_full
(chan=0x4a72a00, data=<value
optimized out>, enhanced=0, dead=0) at res_agi.c:2999
https://issues.asterisk.org/view.php?id=3  0x000000000049db42 in pbx_exec ()
https://issues.asterisk.org/view.php?id=4  0x00000000004a82aa in
pbx_extension_helper ()
https://issues.asterisk.org/view.php?id=5  0x00000000004aaa87 in __ast_pbx_run
()
https://issues.asterisk.org/view.php?id=6  0x00000000004abd6b in pbx_thread ()
https://issues.asterisk.org/view.php?id=7  0x00000000004e210c in dummy_start ()
https://issues.asterisk.org/view.php?id=8  0x00000035484064a7 in start_thread ()
from /lib64/libpthread.so.0
https://issues.asterisk.org/view.php?id=9  0x0000003547cd3c2d in clone () from
/lib64/libc.so.6



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

---------------------------------------------------------------------- 
 (0114196) lmadsen (administrator) - 2009-11-23 19:31
 https://issues.asterisk.org/view.php?id=16302#c114196 
---------------------------------------------------------------------- 
As I'm seeing a lot of <value optimized out> in your backtraces, could you
verify that you're getting the backtraces from a core file from Asterisk
compiled with DONT_OPTIMIZE in the Compiler Flags section of menuselect?
Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-23 19:31 lmadsen        Note Added: 0114196                          
2009-11-23 19:31 lmadsen        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list