[asterisk-bugs] [Asterisk 0014253]: [patch] app_voicemail leaves sockets in close wait.
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Feb 17 16:11:43 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14253
======================================================================
Reported By: Skavin
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 14253
Category: Applications/app_voicemail/IMAP
Reproducibility: always
Severity: minor
Priority: normal
Status: ready for testing
Asterisk Version: 1.4.21.1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-01-15 15:23 CST
Last Modified: 2009-02-17 16:11 CST
======================================================================
Summary: [patch] app_voicemail leaves sockets in close wait.
Description:
app_voicemail is not closing imap sockets and they are going into
CLOSE_WAIT.
I am using imap-2006j
open files seem to go up during busy times but never drop.
my asterisk-vm process does not notify it is only there to isolate
recording and playback of voice mail from the rest of asterisk.
my asterisk process forwards to asterisk-vm in the case of busy/noanswer
or checking voicemail.
in 50 hours I have generated
836 handles in CLOSE_WAIT all to imap
33 handles in ESTABLISHED 1 mysql 32 imap
12 udp handles
======================================================================
----------------------------------------------------------------------
(0100284) Skavin (reporter) - 2009-02-17 16:11
http://bugs.digium.com/view.php?id=14253#c100284
----------------------------------------------------------------------
crash on voice mail access hangup
so *55 ... you have no new voicemails <hangup>crash
(gdb) bt
http://bugs.digium.com/view.php?id=0 messagecount (context=0xb6e1aa33
"default", mailbox=0xb6e1aa28
"6499744238", folder=0x0) at app_voicemail.c:1204
http://bugs.digium.com/view.php?id=1 0xb709d683 in has_voicemail
(mailbox=0xb6e22b7d "6499744238 at default",
folder=0x0) at app_voicemail.c:1425
http://bugs.digium.com/view.php?id=2 0xb70b0052 in vm_execmain (chan=0x83379c0,
data=0xb6e24f28) at
app_voicemail.c:7759
http://bugs.digium.com/view.php?id=3 0x080ceaf7 in pbx_extension_helper
(c=0x83379c0, con=0x0,
context=0x8337b40 "default", exten=0x8337b90 "vmac6499744238", priority=3,
label=0x0,
callerid=0x83332a8 "6499744238", action=E_SPAWN) at pbx.c:537
http://bugs.digium.com/view.php?id=4 0x080d0641 in __ast_pbx_run (c=0x83379c0)
at pbx.c:2320
http://bugs.digium.com/view.php?id=5 0x080d16ce in pbx_thread (data=0x83379c0)
at pbx.c:2627
http://bugs.digium.com/view.php?id=6 0x08100e70 in dummy_start (data=0x8333408)
at utils.c:856
http://bugs.digium.com/view.php?id=7 0xb7f434c0 in start_thread () from
/lib/i686/cmov/libpthread.so.0
http://bugs.digium.com/view.php?id=8 0xb7e556de in clone () from
/lib/i686/cmov/libc.so.6
(gdb) print vms_p
$1 = (struct vm_state *) 0x4f424e49
(gdb) print (char*)vms_p
$2 = 0x4f424e49 <Address 0x4f424e49 out of bounds>
Issue History
Date Modified Username Field Change
======================================================================
2009-02-17 16:11 Skavin Note Added: 0100284
======================================================================
More information about the asterisk-bugs
mailing list