[asterisk-bugs] [Asterisk 0018455]: Problem on TRANSFER using SNOM transfer Button

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 17 09:40:18 UTC 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18455 
====================================================================== 
Reported By:                hydrolife
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18455
Category:                   Channels/chan_sip/Transfers
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                       SWP-2743 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-10 11:22 CST
Last Modified:              2010-12-17 03:40 CST
====================================================================== 
Summary:                    Problem on TRANSFER using SNOM transfer Button
Description: 
(Phone A) calls (Phone B). If phone B tries to Transfer (With SNOM Method -
REFER), asterisk freeze (SIP Module). Asterisk doesn't receive or send any
SIP Packet.
This does not happens if (Phone A) calls (Phone B) AND phone A tries to
Transfer (With SNOM Method - REFER)

Necessary to restart asterisk because any sip reload doesn't work.(SIP is
freezed)

Test with asterisk 1.8.0 and asterisk 1.8.1  this was working on asterisk
1.6.2.X

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018468 SIP crash on transfer
related to          0018204 deadlock on 1.8.0-rc2 and crash on 1.8....
====================================================================== 

---------------------------------------------------------------------- 
 (0129715) hydrolife (reporter) - 2010-12-17 03:40
 https://issues.asterisk.org/view.php?id=18455#c129715 
---------------------------------------------------------------------- 
Here there is the output of command "core show locks" using asterisk 1.8.1
:

ephone*CLI> core show locks

=======================================================================
=== Currently Held Locks ==============================================
=======================================================================
===
=== <pending> <lock#> (<file>): <lock type> <line num> <function> <lock
name> <lock addr> (times locked)
===
=== Thread ID: 140323091724048 (do_monitor           started at [24414]
chan_sip.c restart_monitor())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (chan_sip.c): MUTEX
23908 handle_request_do &netlock
0x7f9f855908c0 (1)
        /usr/sbin/asterisk(ast_bt_get_addresses+0x1d) [0x4e17a0]
        /usr/sbin/asterisk(__ast_pthread_mutex_lock+0xaf) [0x4da979]
        /usr/lib/asterisk/modules/chan_sip.so(+0x7c24c) [0x7f9f8534524c]
        /usr/lib/asterisk/modules/chan_sip.so(+0x7c041) [0x7f9f85345041]
        /usr/sbin/asterisk(ast_io_wait+0x1c4) [0x4d4dc4]
        /usr/lib/asterisk/modules/chan_sip.so(+0x7de25) [0x7f9f85346e25]
        /usr/sbin/asterisk() [0x55c457]
        /lib64/libpthread.so.0() [0x3983207761]
        /lib64/libc.so.6(clone+0x6d) [0x3982ae14fd]
=== ---> Lock https://issues.asterisk.org/view.php?id=1 (chan_sip.c): MUTEX 7464
find_call sip_pvt_ptr
0x7f9f28006700 (1)
        /usr/sbin/asterisk(ast_bt_get_addresses+0x1d) [0x4e17a0]
        /usr/sbin/asterisk(__ast_pthread_mutex_lock+0xaf) [0x4da979]
        /usr/sbin/asterisk(__ao2_lock+0x5a) [0x44097c]
        /usr/lib/asterisk/modules/chan_sip.so(+0x2895f) [0x7f9f852f195f]
        /usr/lib/asterisk/modules/chan_sip.so(+0x7c266) [0x7f9f85345266]
        /usr/lib/asterisk/modules/chan_sip.so(+0x7c041) [0x7f9f85345041]
        /usr/sbin/asterisk(ast_io_wait+0x1c4) [0x4d4dc4]
        /usr/lib/asterisk/modules/chan_sip.so(+0x7de25) [0x7f9f85346e25]
        /usr/sbin/asterisk() [0x55c457]
        /lib64/libpthread.so.0() [0x3983207761]
        /lib64/libc.so.6(clone+0x6d) [0x3982ae14fd]
=== ---> Lock https://issues.asterisk.org/view.php?id=2 (chan_sip.c): MUTEX
23922 handle_request_do p->owner
0x7f9f2800d9e0 (1)
        /usr/sbin/asterisk(ast_bt_get_addresses+0x1d) [0x4e17a0]
        /usr/sbin/asterisk(__ast_pthread_mutex_trylock+0xaf) [0x4dacfc]
        /usr/sbin/asterisk(__ao2_trylock+0x5a) [0x440a3e]
        /usr/lib/asterisk/modules/chan_sip.so(+0x7c37b) [0x7f9f8534537b]
        /usr/lib/asterisk/modules/chan_sip.so(+0x7c041) [0x7f9f85345041]
        /usr/sbin/asterisk(ast_io_wait+0x1c4) [0x4d4dc4]
        /usr/lib/asterisk/modules/chan_sip.so(+0x7de25) [0x7f9f85346e25]
        /usr/sbin/asterisk() [0x55c457]
        /lib64/libpthread.so.0() [0x3983207761]
        /lib64/libc.so.6(clone+0x6d) [0x3982ae14fd]
=== -------------------------------------------------------------------
===
=== Thread ID: 140322650359568 (handle_tcptls_connection started at [ 
274] tcptls.c ast_tcptls_server_root())
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=0 (manager.c):
MUTEX 3132 action_status c
0x7f9f2800d9e0 (1)
        /usr/sbin/asterisk(ast_bt_get_addresses+0x1d) [0x4e17a0]
        /usr/sbin/asterisk(__ast_pthread_mutex_lock+0xaf) [0x4da979]
        /usr/sbin/asterisk(__ao2_lock+0x5a) [0x44097c]
        /usr/sbin/asterisk() [0x4e8e35]
        /usr/sbin/asterisk() [0x4ee08e]
        /usr/sbin/asterisk() [0x4ee660]
        /usr/sbin/asterisk() [0x4ee9c9]
        /usr/sbin/asterisk() [0x54b9da]
        /usr/sbin/asterisk() [0x55c457]
        /lib64/libpthread.so.0() [0x3983207761]
        /lib64/libc.so.6(clone+0x6d) [0x3982ae14fd]
=== --- ---> Locked Here: chan_sip.c line 23922 (handle_request_do)
=== -------------------------------------------------------------------
===
=== Thread ID: 140322649343760 (autoservice_run      started at [  215]
autoservice.c ast_autoservice_start())
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=0 (channel.c):
MUTEX 3027 ast_waitfor_nandfds
c[x] 0x7f9f2800d9e0 (1)
        /usr/sbin/asterisk(ast_bt_get_addresses+0x1d) [0x4e17a0]
        /usr/sbin/asterisk(__ast_pthread_mutex_lock+0xaf) [0x4da979]
        /usr/sbin/asterisk(__ao2_lock+0x5a) [0x44097c]
        /usr/sbin/asterisk() [0x4e8e35]
        /usr/sbin/asterisk() [0x4ee08e]
        /usr/sbin/asterisk() [0x4ee660]
        /usr/sbin/asterisk() [0x4ee9c9]
        /usr/sbin/asterisk() [0x54b9da]
        /usr/sbin/asterisk() [0x55c457]
        /lib64/libpthread.so.0() [0x3983207761]
        /lib64/libc.so.6(clone+0x6d) [0x3982ae14fd]
=== --- ---> Locked Here: chan_sip.c line 23922 (handle_request_do)
=== -------------------------------------------------------------------
===
=== Thread ID: 140322648835856 (pbx_thread           started at [ 5035]
pbx.c ast_pbx_start())
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=0 (channel.c):
MUTEX 3027 ast_waitfor_nandfds
c[x] 0x7f9f2800d9e0 (1)
        /usr/sbin/asterisk(ast_bt_get_addresses+0x1d) [0x4e17a0]
        /usr/sbin/asterisk(__ast_pthread_mutex_lock+0xaf) [0x4da979]
        /usr/sbin/asterisk(__ao2_lock+0x5a) [0x44097c]
        /usr/sbin/asterisk() [0x4e8e35]
        /usr/sbin/asterisk() [0x4ee08e]
        /usr/sbin/asterisk() [0x4ee660]
        /usr/sbin/asterisk() [0x4ee9c9]
        /usr/sbin/asterisk() [0x54b9da]
        /usr/sbin/asterisk() [0x55c457]
        /lib64/libpthread.so.0() [0x3983207761]
        /lib64/libc.so.6(clone+0x6d) [0x3982ae14fd]
=== --- ---> Locked Here: chan_sip.c line 23922 (handle_request_do)
=== -------------------------------------------------------------------
===
=======================================================================

ephone*CLI> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-17 03:40 hydrolife      Note Added: 0129715                          
======================================================================




More information about the asterisk-bugs mailing list