[asterisk-bugs] [Asterisk 0013089]: core show locks does not show all locks
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed Jul 16 18:45:14 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13089
======================================================================
Reported By: murf
Assigned To: murf
======================================================================
Project: Asterisk
Issue ID: 13089
Category: Core/General
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 07-16-2008 08:01 CDT
Last Modified: 07-16-2008 18:45 CDT
======================================================================
Summary: core show locks does not show all locks
Description:
In my research for 12772, when using the log_show_lock
routine to help me see who had a channel lock when a
request was made for it, I came up with nothing. It
was not recorded in the lock_info lists.
I have since done some research and determined
that it does not seem to be getting removed by
subsequent activity.
======================================================================
----------------------------------------------------------------------
svnbot - 07-16-08 18:45
----------------------------------------------------------------------
Repository: asterisk
Revision: 131570
U trunk/include/asterisk/lock.h
------------------------------------------------------------------------
r131570 | murf | 2008-07-16 18:45:11 -0500 (Wed, 16 Jul 2008) | 20 lines
(closes issue http://bugs.digium.com/view.php?id=13089)
Reported by: murf
Most of this bug was already fixed by Tilghman before
I opened it; Many thanks to Tilghman for his fix
in svn version 125794. That fix cleared up some of the
fields in the lock_info.
This commit changes the address that is stored for the
lock in the lock_info struct, so that it is the same
as that passed into the locking macros. This makes
searching for a lock_info (as in log_show_lock())
by its lock addr possible. The lock_addr field is
infinitely more useful if it is the same as what
is 'publicly' available outside the lock_info code.
Many thanks to kpfleming, putnopvut, and Russell for their
invaluable insights earlier today.
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=131570
Issue History
Date Modified Username Field Change
======================================================================
07-16-08 18:45 svnbot Note Added: 0090372
======================================================================
More information about the asterisk-bugs
mailing list