[asterisk-bugs] [Asterisk 0018837]: [patch] Deadlock with attended transfer of SIP call

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 24 02:23:46 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18837 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18837
Category:                   Core/RTP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
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-02-17 19:25 CST
Last Modified:              2011-02-24 02:23 CST
====================================================================== 
Summary:                    [patch] Deadlock with attended transfer of SIP call
Description: 
3 SIP phones.

A calls B, and B answers on line 1.
B puts A on hold by selecting line2.
B calls C, and C answers.
B initiates transfer of line1 to line2, phone uses REFER.


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0018468 SIP crash on transfer
has duplicate       0018734 Combination dtmfmode=info, directmedia=...
====================================================================== 

---------------------------------------------------------------------- 
 (0132337) alecdavis (manager) - 2011-02-24 02:23
 https://issues.asterisk.org/view.php?id=18837#c132337 
---------------------------------------------------------------------- 
regression since r306216 in https://issues.asterisk.org/view.php?id=18491
 
summary of coreshowlocks-trunk-r308680.txt

=======================================================================
=== Currently Held Locks ==============================================
=======================================================================
===
=== <pending> <lock#> (<file>): <lock type> <line num> <function> <lock
name> <lock addr> (times locked)
===
=== Thread ID: -1243620464 (do_monitor           started at [24906]
chan_sip.c restart_monitor())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (chan_sip.c): MUTEX
24390 handle_request_do &netlock
0xb6b84740 (1)
=== ---> Lock https://issues.asterisk.org/view.php?id=1 (channel.c): MUTEX 6398
ast_do_masquerade channels
0x9b83b48 (1)
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=2 (channel.c):
MUTEX 6401 ast_do_masquerade
original <b>0xa342e80</b> (1)
=== --- ---> Locked Here: rtp_engine.c line 1287
(ast_rtp_instance_bridge)
=== -------------------------------------------------------------------
===
=== Thread ID: -1359201392 (pbx_thread           started at [ 5170] pbx.c
ast_pbx_start())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (chan_sip.c): MUTEX
28105 sip_set_rtp_peer chan 0xa2eb710
(1)
=== ---> Lock https://issues.asterisk.org/view.php?id=1 (chan_sip.c): MUTEX
28106 sip_set_rtp_peer p
<b>0x9eea7b8</b> (1)
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=2 (pbx.c):
MUTEX 9601 pbx_builtin_getvar_helper
chan <b>0xa342e80</b> (1)
=== --- ---> Locked Here: rtp_engine.c line 1287
(ast_rtp_instance_bridge)
=== -------------------------------------------------------------------
===
=== Thread ID: -1358955632 (pbx_thread           started at [ 5170] pbx.c
ast_pbx_start())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (rtp_engine.c): MUTEX
1287 ast_rtp_instance_bridge c0
<b>0xa342e80</b> (1)
=== ---> Lock https://issues.asterisk.org/view.php?id=1 (rtp_engine.c): MUTEX
1288 ast_rtp_instance_bridge c1
0xa364b38 (1)
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=2
(chan_sip.c): MUTEX 28001 sip_get_rtp_peer p
<b>0x9eea7b8<b> (1)
=== --- ---> Locked Here: chan_sip.c line 28106 (sip_set_rtp_peer)
=== -------------------------------------------------------------------
===
======================================================================= 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-24 02:23 alecdavis      Note Added: 0132337                          
======================================================================




More information about the asterisk-bugs mailing list