[asterisk-bugs] [Asterisk 0015143]: Deadlock on chan_sip
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue May 19 13:05:34 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15143
======================================================================
Reported By: cristiandimache
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15143
Category: Channels/chan_sip/General
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.6.1.0
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-05-18 00:38 CDT
Last Modified: 2009-05-19 13:05 CDT
======================================================================
Summary: Deadlock on chan_sip
Description:
After a random period of time (around five hours), Asterisk freezes and no
calls can be made and SIP registration is unavailable.
I have compiled with DEBUG_THREADS and attached the output of core show
locks.
At this time, killing Asterisk seems to be the only way to solve the
problem.
I use realtime peers, but I don't think this is an issue here.
======================================================================
----------------------------------------------------------------------
(0105027) irroot (reporter) - 2009-05-19 13:05
https://issues.asterisk.org/view.php?id=15143#c105027
----------------------------------------------------------------------
Ok this may be related to https://issues.asterisk.org/view.php?id=15151 i belive
so due to the following ... not
the most detailed argument for assosiation but i belive a strong one.
the version here is 1.6 and the orig bug i posted is 1.4 so square peg
into round hole time ....
###### The patch allows chan->masq to be pased before checking the FD
== Thread ID: -1300178032 (pbx_thread started at [ 4045] pbx.c
ast_pbx_start())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (channel.c): MUTEX 2509
__ast_read (channel lock)
0xb6ac4de8 (1)
##### See above the lock is while masqurading
=== ---> Lock https://issues.asterisk.org/view.php?id=1 (channel.c): MUTEX 4056
ast_do_masquerade (channel lock)
0xb6a28270 (1)
##### The lock is generated when the find private returns the struct
locked as per me patch ....
=== ---> Lock https://issues.asterisk.org/view.php?id=1 (chan_sip.c): MUTEX 6464
find_call sip_pvt_ptr 0x83e9ba8
(1)
/lib/i686/cmov/libc.so.6(clone+0x5e) [0xb707610e]
=== ---> Lock https://issues.asterisk.org/view.php?id=2 (chan_sip.c): MUTEX
19961 handle_request_do (channel
lock) 0x8609ea0 (1)
Issue History
Date Modified Username Field Change
======================================================================
2009-05-19 13:05 irroot Note Added: 0105027
======================================================================
More information about the asterisk-bugs
mailing list