[asterisk-bugs] [Asterisk 0018210]: Deadlock in chan_sip
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Nov 2 07:49:08 CDT 2010
A NOTE has been added to this issue.
======================================================================
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: acknowledged
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:
======================================================================
Date Submitted: 2010-10-25 16:47 CDT
Last Modified: 2010-11-02 07:49 CDT
======================================================================
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"
======================================================================
----------------------------------------------------------------------
(0128542) atis (reporter) - 2010-11-02 07:49
https://issues.asterisk.org/view.php?id=18210#c128542
----------------------------------------------------------------------
Previously I had 1.6.1.6 on production servers which didn't had such
deadlock in chan_sip but had some crashes
Issue History
Date Modified Username Field Change
======================================================================
2010-11-02 07:49 atis Note Added: 0128542
======================================================================
More information about the asterisk-bugs
mailing list