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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Feb 18 04:30:26 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-18 04:30 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
====================================================================== 

---------------------------------------------------------------------- 
 (0132121) alecdavis (manager) - 2011-02-18 04:30
 https://issues.asterisk.org/view.php?id=18837#c132121 
---------------------------------------------------------------------- 
https://issues.asterisk.org/view.php?id=18734 ShowLocks.txt also has same
locking sequence. Summary below:

=== -------------------------------------------------------------------
===
=== Thread ID: -1355433104 (pbx_thread           started at [ 5035] pbx.c
ast_pbx_start())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (chan_sip.c): MUTEX
27649 sip_set_rtp_peer p
<b>0x9680738</b> (1)
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=1 (pbx.c):
MUTEX 9467 pbx_builtin_getvar_helper
chan <b>0xb71f8d10</b> (1)
=== --- ---> Locked Here: channel.c line 6234 (ast_do_masquerade)
=== -------------------------------------------------------------------
===
=== Thread ID: -1355682960 (pbx_thread           started at [ 5035] pbx.c
ast_pbx_start())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (channel.c): MUTEX 6211
ast_do_masquerade channels
0x966b1c8 (1)
=== ---> Lock https://issues.asterisk.org/view.php?id=1 (channel.c): MUTEX 6214
ast_do_masquerade original
0xb71e8220 (1)
=== ---> Lock https://issues.asterisk.org/view.php?id=2 (channel.c): MUTEX 6234
ast_do_masquerade clonechan
<b>0xb71f8d10</b> (1)
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=3
(chan_sip.c): MUTEX 6164 sip_fixup p
<b>0x9680738</b> (1)
=== --- ---> Locked Here: chan_sip.c line 27649 (sip_set_rtp_peer) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-18 04:30 alecdavis      Note Added: 0132121                          
======================================================================




More information about the asterisk-bugs mailing list