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

(ITS#4196) slapd-meta with dn cache seg faults randomly if a time attribute is mal formed

Full_Name: Ali Pouya
Version: 2.3.12
OS: Linux Redhat Advanced Serveur 4
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

I use back-meta with option "dncache-ttl     forever".
I search a time value which is mal formed on the target directory (loginTime:

slapd filters out this value at the first search operations but seg faults
before the forth or fifth search.
The slapd back trace follows.
Best Regards
Ali Pouya

(gdb) bt
#0  0x0810036f in avl_insert (root=0x9c5dac0, data=0x9cd2810, fcmp=0x80e9408
    fdup=0x80e944c <meta_dncache_dup>) at avl.c:121
#1  0x080e962a in meta_dncache_update_entry (cache=0x9c5daa8, ndn=0xb7697f8c,
    at dncache.c:190
#2  0x080e3fa6 in meta_back_single_bind (op=0xb7697f70, rs=0xb7698230,
mc=0x9cd2c30, candidate=0,
    massage=0) at bind.c:431
#3  0x080e4210 in meta_back_bind (op=0x9cb7c38, rs=0xb7698230) at bind.c:186
#4  0x0807166d in fe_op_bind (op=0x9cb7c38, rs=0xb7698230) at bind.c:405
#5  0x08071109 in do_bind (op=0x9cb7c38, rs=0xb7698230) at bind.c:200
#6  0x0805b3e5 in connection_operation (ctx=0xb76982b0, arg_v=0x9cb7c38) at
#7  0x08103fe1 in ldap_int_thread_pool_wrapper (xpool=0x9c46b20) at tpool.c:481
#8  0x008b7341 in start_thread (arg=0xb7698bb0) at pthread_create.c:261
#9  0x001d7fee in ?? () from /lib/tls/libc.so.6