[asterisk-bugs] [Asterisk 0011537]: [patch] fix for "possible deadlock" warning
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Dec 13 23:03:41 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11537
======================================================================
Reported By: dimas
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 11537
Category: Core-General
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.4.15
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 12-13-2007 07:44 CST
Last Modified: 12-13-2007 23:03 CST
======================================================================
Summary: [patch] fix for "possible deadlock" warning
Description:
I already reported this for 11080 but was advised to submit separately...
There is a minor bug in the __ast_pthread_mutex_lock when DETECT_DEADLOCKS
is used. The code pretend to display warning only every fifth second and it
does that but it can display A LOT of warnings because every second, lock
waiting loop does many iterations attempting to grab the lock. (With
usleep(200) I believe there will be 5000 iterations each second so 5000
warnings issued each fifth second).
======================================================================
----------------------------------------------------------------------
IgorG - 12-13-07 23:03
----------------------------------------------------------------------
This resolved in r92875, but not automatically closed.
Issue History
Date Modified Username Field Change
======================================================================
12-13-07 23:03 IgorG Note Added: 0075377
======================================================================
More information about the asterisk-bugs
mailing list