Summary:ASTERISK-03454: [patch] Fix deadlock debugging
Reporter:mman (mman)Labels:
Date Opened:2005-02-08 07:22:59.000-0600Date Closed:2008-01-15 15:25:19.000-0600
Versions:Frequency of
Environment:Attachments:( 0) deadlocks.patch
Description:The patch fixes the code in 'lock.h' that enables the debugging of deadlocks.
Comments:By: Olle Johansson (oej) 2005-02-08 07:58:37.000-0600


By: mman (mman) 2005-02-08 08:08:12.000-0600

It's a trivial fix.

By: florian (florian) 2005-02-08 12:10:37.000-0600

Its always nice to have debugging options, but when exactly do you expect to see this happen, i.e. what fundamental problem are you trying to debug (curious) ?

By: mman (mman) 2005-02-08 12:40:51.000-0600

In case of a deadlock, the function name that grabbed the mutex but didn't release it, after a time period of 5 sec, is printed on the console.

By: Mark Spencer (markster) 2005-02-08 12:47:40.000-0600

Fixed in CVS head.

By: florian (florian) 2005-02-08 12:49:07.000-0600

err, yes, I understand that from reviewing the code. I was wondering what issue you are experiencing that you would try to debug with this info.

By: Russell Bryant (russell) 2005-02-13 17:44:26.000-0600

fixed in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:24:44.000-0600

Repository: asterisk
Revision: 4986

U   trunk/Makefile
U   trunk/include/asterisk/lock.h

r4986 | markster | 2008-01-15 15:24:44 -0600 (Tue, 15 Jan 2008) | 2 lines

Minor deadlock detect fix (bug ASTERISK-3454)



By: Digium Subversion (svnbot) 2008-01-15 15:25:19.000-0600

Repository: asterisk
Revision: 5025

U   branches/v1-0/include/asterisk/lock.h

r5025 | russell | 2008-01-15 15:25:18 -0600 (Tue, 15 Jan 2008) | 2 lines

minor fix for deadlock detection, but I hope nobody has to use it :)  (bug ASTERISK-3454)