[asterisk-bugs] [Asterisk 0016302]: [patch] Asterisk crashes with Asyc AGI when hangup
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Jan 8 16:17:04 CST 2010
A NOTE has been added to this issue.
======================================================================
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: ready for review
Target Version: 1.6.0.22
Asterisk Version: SVN
JIRA: SWP-625
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: 2010-01-08 16:17 CST
======================================================================
Summary: [patch] 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
======================================================================
----------------------------------------------------------------------
(0116386) svnbot (reporter) - 2010-01-08 16:17
https://issues.asterisk.org/view.php?id=16302#c116386
----------------------------------------------------------------------
Repository: asterisk
Revision: 238754
U trunk/res/res_agi.c
------------------------------------------------------------------------
r238754 | tilghman | 2010-01-08 16:17:04 -0600 (Fri, 08 Jan 2010) | 7
lines
Initialize variables that we attempt to free later.
(closes issue https://issues.asterisk.org/view.php?id=16302)
Reported by: yahsyn
Patches:
20091124__issue16302.diff.txt uploaded by tilghman (license 14)
Tested by: yahsyn
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=238754
Issue History
Date Modified Username Field Change
======================================================================
2010-01-08 16:17 svnbot Checkin
2010-01-08 16:17 svnbot Note Added: 0116386
======================================================================
More information about the asterisk-bugs
mailing list