[Home]

Summary:ASTERISK-04392: [patch] revert ast_channel_walk_locked log message
Reporter:grolloj (grolloj)Labels:
Date Opened:2005-06-10 12:17:31Date Closed:2008-01-15 15:38:08.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) deadlock_log_msg.patch.txt
Description:Comparing rev 1.200 and 1.203 of channel.c, it seems the use of 'initial deadlock' and 'deadlock' in the log message changed. Really not a big deal, but the change was probably unintentional and is inaccurate.

The patch returns this log message to what it had been.

****** ADDITIONAL INFORMATION ******

From 1.200 (if not prev then 'initial deadlock'):

 if (!prev) {
   if (l) {
     if (ast_mutex_trylock(&l->lock)) {
       if (retries < 10)
         ast_log(LOG_DEBUG, "Avoiding initial deadlock for '%s'\n", l->name);
       ...

From 1.203 (if prev then 'initial deadlock'):

 const char *msg = prev ? "initial deadlock" : "deadlock";
Comments:By: Russell Bryant (russell) 2005-06-14 14:08:44

fixed in cvs head, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:38:08.000-0600

Repository: asterisk
Revision: 5907

U   trunk/channel.c

------------------------------------------------------------------------
r5907 | russell | 2008-01-15 15:38:08 -0600 (Tue, 15 Jan 2008) | 2 lines

fix deadlock message output (bug ASTERISK-4392)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5907