[asterisk-bugs] [Asterisk 0012918]: Deadlock

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jul 22 11:25:20 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12918 
====================================================================== 
Reported By:                callguy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12918
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.20.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:             06-23-2008 14:37 CDT
Last Modified:              07-22-2008 11:25 CDT
====================================================================== 
Summary:                    Deadlock
Description: 
We're seeing 1.4.20.1 deadlock periodically, but not permanently at first.
Most of the time the output of sip show peers or core show locks will not
return anything, then after a lengthy delay they will scroll across the
buffer.

call processing also stops completely during this time, then will resume.
after a few cycles the box stops responding in any meaningful way. output
of two core show locks captures attached. 
====================================================================== 

---------------------------------------------------------------------- 
 agjohnson_tv - 07-22-08 11:25  
---------------------------------------------------------------------- 
I have experienced a very similair problem. I am using 1.4.21.1.  At the
time this was taken, the system was using 50% cpu when there were no actual
active calls.  'show channels' displayed 3 calls, though no calls were
actually active.

=======================================================================
=== Currently Held Locks ==============================================
=======================================================================
===
=== <file> <line num> <function> <lock name> <lock addr> (times locked)
===
=== Thread ID: 3033103248 (pbx_thread           started at [ 2660] pbx.c
ast_pbx_start())
=== ---> Lock http://bugs.digium.com/view.php?id=0 (channel.c): MUTEX 2580
ast_write (channel lock)
0x9d65a08 (1))->lock 0x9a17f10 (1)
=== -------------------------------------------------------------------
===
=== Thread ID: 3064003472 (ast_httpd_helper_thread started at [  548]
http.c http_root())
=== ---> Lock http://bugs.digium.com/view.php?id=0 (http.c): RDLOCK 342
handle_uri &uris_lock 0x8187000 (1)
=== ---> Lock http://bugs.digium.com/view.php?id=1 (manager.c): RDLOCK 2200
process_message &actionlock
0x81871e0(1)
=== -------------------------------------------------------------------
===
=== Thread ID: 3072277392 (ast_httpd_helper_thread started at [  548]
http.c http_root())
=== ---> Lock http://bugs.digium.com/view.php?id=0 (http.c): RDLOCK 342
handle_uri &uris_lock 0x8187000 (1)
=== ---> Lock http://bugs.digium.com/view.php?id=1 (manager.c): RDLOCK 2200
process_message &actionlock
0x81871e0(1)
=== -------------------------------------------------------------------
===
=======================================================================

I don't know if it is related, but I hope it helps. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-22-08 11:25  agjohnson_tv   Note Added: 0090565                          
======================================================================




More information about the asterisk-bugs mailing list