[asterisk-bugs] [Asterisk 0019078]: pri lockup. no futher calls able to be taken

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 8 00:15:34 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19078 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19078
Category:                   Channels/chan_dahdi
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.8.2.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-04-06 22:00 CDT
Last Modified:              2011-04-08 00:15 CDT
====================================================================== 
Summary:                    pri lockup. no futher calls able to be taken
Description: 
attached backtrace and core show locks
====================================================================== 

---------------------------------------------------------------------- 
 (0133525) alecdavis (manager) - 2011-04-08 00:15
 https://issues.asterisk.org/view.php?id=19078#c133525 
---------------------------------------------------------------------- 
backtrace-apr08.txt and core-show-locks-apr08.txt

Another lockup today, seems like the 1st lockup.
1 thread with a 1 lock 'LOCK8' waiting on something.

LOCK1, wait for LOCK7
  LOCK7, wait for LOCK3
    LOCK3, wait for LOCK8
      LOCK8, but not sure what is it's problem.


=======================================================================
=== Currently Held Locks ==============================================
=======================================================================
===
=== <pending> <lock#> (<file>): <lock type> <line num> <function> <lock
name> <lock addr> (times locked)
===
=== Thread ID: 0xb6dffb90 (do_devstate_changes  started at [  724]
devicestate.c ast_device_state_engine_init())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (astobj2.c): MUTEX 657
internal_ao2_callback c 0x99586f0
(1)						LOCK1
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=1 (channel.c):
MUTEX 1641 ast_channel_cmp_cb
chan 0xaf87cc10 (1)				LOCK7
=== --- ---> Locked Here: channel.c line 2796 (ast_raw_answer)
=== -------------------------------------------------------------------
===
=== Thread ID: 0xb2cfcb90 (do_monitor           started at [24470]
chan_sip.c restart_monitor())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (chan_sip.c): MUTEX
23964 handle_request_do &netlock
0xb6b0f6c0 (1)				LOCK2
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=1 (astobj2.c):
MUTEX 493 internal_ao2_link c
0x99586f0 (1)					LOCK1
=== --- ---> Locked Here: astobj2.c line 657 (internal_ao2_callback)
=== -------------------------------------------------------------------
===
=== Thread ID: 0xaffb7b90 (pri_dchannel         started at [ 7117]
sig_pri.c sig_pri_start_pri())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (sig_pri.c): MUTEX 4351
pri_dchannel &pri->lock
0xb638a824 (1)					LOCK3
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=1
(chan_dahdi.c): MUTEX 2072 my_lock_private
&p->lock 0xb04f72f0 (1)				LOCK8
=== --- ---> Locked Here: chan_dahdi.c line 2072 (my_lock_private)
=== -------------------------------------------------------------------
===
=== Thread ID: 0xaff3fb90 (do_monitor           started at [11577]
chan_dahdi.c restart_monitor())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (chan_dahdi.c): MUTEX
11304 do_monitor &iflock 0xb6386b40
(1)					LOCK4
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=1
(chan_dahdi.c): MUTEX 11322 do_monitor
&i->lock 0xb04f72f0 (1)				LOCK8
=== --- ---> Locked Here: chan_dahdi.c line 2072 (my_lock_private)
=== -------------------------------------------------------------------
===
=== Thread ID: 0xaff7bb90 (pri_dchannel         started at [ 7117]
sig_pri.c sig_pri_start_pri())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (chan_dahdi.c): MUTEX
2072 my_lock_private &p->lock
0xafe2ac78 (1)					LOCK5
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=1 (astobj2.c):
MUTEX 493 internal_ao2_link c
0x99586f0 (1)					LOCK1
=== --- ---> Locked Here: astobj2.c line 657 (internal_ao2_callback)
=== -------------------------------------------------------------------
===
=== Thread ID: 0xafa1eb90 (pbx_thread           started at [ 5038] pbx.c
ast_pbx_start())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (cdr.c): RDLOCK 1142
post_cdr &(&be_list)->lock 0x8203868
(1)					LOCK6
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=1 (astobj2.c):
MUTEX 657 internal_ao2_callback
c 0x99586f0 (1)					LOCK1
=== --- ---> Locked Here: astobj2.c line 657 (internal_ao2_callback)
=== -------------------------------------------------------------------
===
=== Thread ID: 0xaecb3b90 (pbx_thread           started at [ 5038] pbx.c
ast_pbx_start())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (channel.c): MUTEX 2796
ast_raw_answer chan 0xaf87cc10
(1)						LOCK7
=== ---> Tried and failed to get Lock https://issues.asterisk.org/view.php?id=1
(sig_pri.c): MUTEX 288 pri_grab
&pri->lock 0xb638a824 (0)			LOCK3
=== -------------------------------------------------------------------
===
=== Thread ID: 0xaf74ab90 (pbx_thread           started at [ 5038] pbx.c
ast_pbx_start())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (chan_dahdi.c): MUTEX
2072 my_lock_private &p->lock
0xb04f72f0 (1)					LOCK8
=== -------------------------------------------------------------------
===
======================================================================= 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-08 00:15 alecdavis      Note Added: 0133525                          
======================================================================




More information about the asterisk-bugs mailing list