[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5756) 2.4 slapo-pcache only caches first lookup for certain templates

toby@inf.ed.ac.uk wrote:

> This looks a little strange to me...
> (gdb) p f2->f_choice
> Cannot access memory at address 0x39
> (gdb) up
> #1  0x08155862 in tavl_insert (root=0x8afe590, data=0x8aefb88,
>       fcmp=0x81399b0<pcache_query_cmp>, fdup=0x8154700<avl_dup_error>)
>       at tavl.c:82
> 82			cmp = fcmp( data, p->avl_data );
> (gdb) p p->avl_data
> $1 = (void *) 0x8af62e0
> (gdb)

It appears you've compiled with debug and optimization, can you please compile 
without optimization and try to reproduce this?

   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/