[asterisk-bugs] [Asterisk 0018210]: Deadlock in chan_sip
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Feb 8 13:18:00 CST 2011
The following issue has been CLOSED
======================================================================
https://issues.asterisk.org/view.php?id=18210
======================================================================
Reported By: atis
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18210
Category: Channels/chan_sip/General
Reproducibility: have not tried
Severity: crash
Priority: normal
Status: closed
Asterisk Version: 1.6.2.14-rc1
JIRA: SWP-2478
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2010-10-25 16:47 CDT
Last Modified: 2011-02-08 13:18 CST
======================================================================
Summary: Deadlock in chan_sip
Description:
Using Asterisk 1.6.2.14-rc1, suddenly SIP packets stopped (both inbound and
outbound).
I killed asterisk with -6 and examined coredump.
What looks suspicios is Thread 39 and Thread 35 both having pointer to the
same peer structure - 0x7f5bb01c8898 (peer 90877 in full log).
Thread 39
sip_send_mwi_to_peer (peer=0x7f5bb01c8898, ...) at chan_sip.c:22638
mwi_event_cb (..., userdata=0x7f5bb01c8898) at chan_sip.c:12988
Thread 35:
ao2_lock (user_data=0x7f5bb01c8898) at astobj2.c:164
update_call_counter(...) at chan_sip.c:5783
Apparently sip_send_mwi_to_peer held lock to the same peer already.
Attached "thread apply all bt full"
======================================================================
----------------------------------------------------------------------
(0131687) lmadsen (administrator) - 2011-02-08 13:18
https://issues.asterisk.org/view.php?id=18210#c131687
----------------------------------------------------------------------
Suspended due to lack of requested information.
Issue History
Date Modified Username Field Change
======================================================================
2011-02-08 13:18 lmadsen Note Added: 0131687
2011-02-08 13:18 lmadsen Status feedback => closed
======================================================================
More information about the asterisk-bugs
mailing list