[exim-dev] [Bug 1224] testsuite fails for lsearch

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Todd Lyons
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 1224] testsuite fails for lsearch
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1224




--- Comment #2 from Todd Lyons <tlyons@???> 2012-04-17 02:56:07 ---
Created an attachment (id=561)
--> (http://bugs.exim.org/attachment.cgi?id=561)
gdb output of this symptom

gdb output while processing a sample command that generates this odd output.
Looking at the data in the struct, I see why it prints the undesired number,
but I do not quite understand how it prints out the actual filename because
that data does not appear to be in the struct.

The breakpoint starts at the first line below and steps through each line
shown:

  debug_printf("LRU list:\n");
  while (t != NULL)
    {
    search_cache *c = (search_cache *)(t->data.ptr);
    debug_printf("  %s\n", t->name);
    if (t == open_bot) debug_printf("  End\n");
    t = c->down;
    }
  }


I don't understand what it is doing at this point.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email