[asterisk-bugs] [Asterisk 0011712]: core show channels becomes unresponsive - precursor to deadlock
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Feb 15 11:39:15 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11712
======================================================================
Reported By: callguy
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 11712
Category: Core/Channels
Reproducibility: always
Severity: block
Priority: normal
Status: new
Asterisk Version: 1.4.17
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 01-08-2008 21:23 CST
Last Modified: 02-15-2008 11:39 CST
======================================================================
Summary: core show channels becomes unresponsive - precursor
to deadlock
Description:
After some period of time, core show channels will yield output, but not
give a final channel count at the end. After that, the console simply hangs
with no further output or commands possible. However, asterisk does
continue to process calls successfully for some period of time after that
before completely deadlocking (if you exit then bring up a new console you
will see output again).
I suspect this may be a continuation of bug 11080 in some form, but it's
not completely clear to me. I should also note that we are testing file's
patch for 11687, but this didn't appear to be related as far as I could
tell.
output of core show locks, and the info dump from ast_grab_core attached.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0011960 Call from '' to extension '7104' reject...
======================================================================
----------------------------------------------------------------------
norman - 02-15-08 11:39
----------------------------------------------------------------------
callguy- no that patch didn't help. I can't get it to hang under valgrind
regardless of what I do.
Another bit of information. I think my last crash was during an outgoing
call (to our SIP gateway.) When it hung, main/channels.c had locked the
"channels" lock. I think the only place this happens on a new outgoing call
is in ast_request. Perhaps channel_find_locked can be called, which also
locks this. Everything else just locks for a very, very brief time. Unless
another thread is overwriting memory, e.g. the problems in
http://bugs.digium.com/view.php?id=11960
http://bugs.digium.com/view.php?id=0 ast_request (type=0xb6e92ae0 "SIP",
format=4, data=0xb6e933f0,
cause=0xb6e934f4) at channel.c:2944
http://bugs.digium.com/view.php?id=1 0xb72ca475 in dial_exec_full
(chan=0xb71766c8, data=0xb6e95680,
peerflags=0xb6e93550, continue_exec=0x0) at app_dial.c:1193
http://bugs.digium.com/view.php?id=2 0xb72ccf9a in dial_exec (chan=0xb71766c8,
data=0xb6e95680) at
app_dial.c:1760
http://bugs.digium.com/view.php?id=3 0x080bded6 in pbx_exec (c=0xb71766c8,
app=0x82634f0, data=0xb6e95680)
at pbx.c:532
http://bugs.digium.com/view.php?id=4 0x080c1023 in pbx_extension_helper
(c=0xb71766c8, con=0x0,
context=0xb7176848 "softphone", exten=0xb7176898 "221", priority=1,
label=0x0, callerid=0xb7176ca0 "6107441333", action=E_SPAWN) at
pbx.c:1851
http://bugs.digium.com/view.php?id=5 0x080c212c in ast_spawn_extension
(c=0xb71766c8, context=0xb7176848
"softphone", exten=0xb7176898 "221", priority=1,
callerid=0xb7176ca0 "6107441333") at pbx.c:2306
http://bugs.digium.com/view.php?id=6 0x080c266f in __ast_pbx_run (c=0xb71766c8)
at pbx.c:2408
http://bugs.digium.com/view.php?id=7 0x080c33c5 in pbx_thread (data=0xb71766c8)
at pbx.c:2623
http://bugs.digium.com/view.php?id=8 0x080fdf36 in dummy_start
(data=0xb71776b8) at utils.c:852
http://bugs.digium.com/view.php?id=9 0xb7f9fb63 in start_thread () from
/lib/tls/libpthread.so.0
http://bugs.digium.com/view.php?id=10 0xb7ecb18a in clone () from
/lib/tls/libc.so.6
Issue History
Date Modified Username Field Change
======================================================================
02-15-08 11:39 norman Note Added: 0082320
======================================================================
More information about the asterisk-bugs
mailing list