[asterisk-bugs] [Asterisk 0016608]: [patch] Deadlock on &(&channels)->lock

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 13 05:12:59 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16608 
====================================================================== 
Reported By:                sergee
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16608
Category:                   Channels/General
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Target Version:             1.6.2.9
Asterisk Version:           SVN 
JIRA:                       SWP-732 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 237060 
Request Review:              
====================================================================== 
Date Submitted:             2010-01-14 15:04 CST
Last Modified:              2010-05-13 05:12 CDT
====================================================================== 
Summary:                    [patch] Deadlock on &(&channels)->lock
Description: 
I've got 2 deadlocks in 3 days. It happens in a peak hours, with more then
a hundred calls in the system.

I've got 2 files 1 with "core show locks" - from the first deadlock (the
day before yesterday), second file - with output from gdb (intho thread,
thread apply all bt, thread apply all bt full) - from today's deadlock.
====================================================================== 

---------------------------------------------------------------------- 
 (0121849) sergee (reporter) - 2010-05-13 05:12
 https://issues.asterisk.org/view.php?id=16608#c121849 
---------------------------------------------------------------------- 
It happened again.

tilghman, i want to notice, that with your patch this "not deadlock"
happens not as often (once per 2 workdays ~ 110 000 calls) as it was back
in january (2-3 times per day ~ 20 000 calls).

Now, after 2 minutes of hanging, i dumped "core show locks" and then
killed asterisk with -6 signal, without calling "restart now" CLI command.

Output of "core show locks" and "thread apply all bt" from gdb - attached
here.
I'll keep the core file - if you'll need anything else. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-13 05:12 sergee         Note Added: 0121849                          
======================================================================




More information about the asterisk-bugs mailing list