[asterisk-bugs] [Asterisk 0018204]: deadlock on 1.8.0-rc2 and crash on 1.8.0 with multipule sip channels
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Oct 25 12:17:37 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18204
======================================================================
Reported By: knkcn
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18204
Category: Core/Channels
Reproducibility: sometimes
Severity: crash
Priority: normal
Status: new
Asterisk Version: 1.8.0
JIRA:
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 02:30 CDT
Last Modified: 2010-10-25 12:17 CDT
======================================================================
Summary: deadlock on 1.8.0-rc2 and crash on 1.8.0 with
multipule sip channels
Description:
Asterisk 1.8.0-rc2 as a call center server run well with 1 or 2 concurrent
lines. We did about 50 concurrent lines lab test with sipp and it run well
too. But under a more than 20 lines field trial, the Asterisk deadlocked.
After deadlocked I found many rtp channels and udp5060 had a large number
on Recv-Q. At the same time "core show channels" showed nothing and many
cli commands hang random. I collected some information using "gdb
/usr/sbin/asterisk <pid>" but I have not enough time to debug what locked
it before restarted it.
After that I upgraded the server to 1.8.0 with "DONT_OPTIMIZE" and
"DEBUG_THREADS", then I did the test again. But this time it crashed when
10 phones were calling in.
BTW, after the "DEBUG_THREADS" is enabled, every time the "bridge"
application is executed the following error will be reported.
[Oct 25 15:03:04] ERROR[25661] lock.c: features.c line 5551 (bridge_exec):
mutex 'current_dest_chan' freed more times than we've loc
ked!
[Oct 25 15:03:04] ERROR[25661] lock.c: features.c line 5551 (bridge_exec):
Error releasing mutex: Operation not permitted
======================================================================
----------------------------------------------------------------------
(0128386) Weezey (reporter) - 2010-10-25 12:17
https://issues.asterisk.org/view.php?id=18204#c128386
----------------------------------------------------------------------
I experienced the same problem this morning. Unfortunately it's a
production box with less than tolerant users so debugging wasn't an option
and I had to roll it back to 1.4
Issue History
Date Modified Username Field Change
======================================================================
2010-10-25 12:17 Weezey Note Added: 0128386
======================================================================
More information about the asterisk-bugs
mailing list