[asterisk-bugs] [Asterisk 0011582]: Deadlock? when briging calls on PRI device after sometime

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Dec 20 14:07:37 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11582 
====================================================================== 
Reported By:                bugi
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11582
Category:                   Channels/chan_zap
Reproducibility:            random
Severity:                   block
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.15  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             12-17-2007 12:04 CST
Last Modified:              12-20-2007 14:07 CST
====================================================================== 
Summary:                    Deadlock? when briging calls on PRI device after
sometime
Description: 
Hi, i tried to bridge calls on asterisk on Sangoma PRI 104 (wanpipe 3.2.1).
After sometime (1,2 or 6 hours) asterisk blocks with message: 
[Dec 17 18:34:15] ERROR[20837]:
/usr/src/asterisk-1.4.15/include/asterisk/lock.h:338
__ast_pthread_mutex_lock: pbx.c line 5862 (pbx_builtin_setvar_helper):
Deadlock? waited 5 sec for mutex '&chan->lock'?
[Dec 17 18:34:15] ERROR[20837]:
/usr/src/asterisk-1.4.15/include/asterisk/lock.h:342
__ast_pthread_mutex_lock: channel.c line 2194 (__ast_read): '&chan->lock'
was locked here.
[Dec 17 18:34:15] ERROR[20846]:
/usr/src/asterisk-1.4.15/include/asterisk/lock.h:338
__ast_pthread_mutex_lock: chan_zap.c line 4628 (zt_read): Deadlock? waited
5 sec for mutex '&p->lock'?
[Dec 17 18:34:15] ERROR[20846]:
/usr/src/asterisk-1.4.15/include/asterisk/lock.h:342
__ast_pthread_mutex_lock: chan_zap.c line 8683 (pri_dchannel): '&p->lock'
was locked here.
[Dec 17 18:34:15] ERROR[21637]:
/usr/src/asterisk-1.4.15/include/asterisk/lock.h:338
__ast_pthread_mutex_lock: pbx.c line 1138 (pbx_retrieve_variable):
Deadlock? waited 5 sec for mutex '&c->lock'?
[Dec 17 18:34:15] ERROR[21637]:
/usr/src/asterisk-1.4.15/include/asterisk/lock.h:342
__ast_pthread_mutex_lock: channel.c line 2194 (__ast_read): '&c->lock' was
locked here.
[Dec 17 18:34:15] ERROR[20837]:
/usr/src/asterisk-1.4.15/include/asterisk/lock.h:338
__ast_pthread_mutex_lock: pbx.c line 5862 (pbx_builtin_setvar_helper):
Deadlock? waited 5 sec for mutex '&chan->lock'?
[Dec 17 18:34:15] ERROR[20837]:
/usr/src/asterisk-1.4.15/include/asterisk/lock.h:342
__ast_pthread_mutex_lock: channel.c line 2194 (__ast_read): '&chan->lock'
was locked here.

I tried to compile asterisk on different distros and machines and this
problem still occur. 

My extensions.conf: 
[from-pstn]
exten => _X.,1,Dial(Zap/g1/${EXTEN})
exten => _X.,n,Hangup

====================================================================== 

---------------------------------------------------------------------- 
 russell - 12-20-07 14:07  
---------------------------------------------------------------------- 
This bug fix was brought to you by Digium, Inc.  I hope you'll consider
that the next time you go to purchase a PRI card.  :) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-20-07 14:07  russell        Note Added: 0075762                          
======================================================================




More information about the asterisk-bugs mailing list