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

(ITS#5336) slapd SEGV at entry_partsize

Full_Name: Gary Molenkamp
Version: 2.4.7
OS: Linux
Submission from: (NULL) (

On a configuration with 1 Master and 4 replicas,  one of the replicas will
consistently SEGV after about 2 minutes of runtime.   I ran slapd through gdb
and was able to catch the bt:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1157667136 (LWP 31189)]
entry_partsize (e=Variable "e" is not available.
) at entry.c:677
677                     len += a->a_desc->ad_cname.bv_len+1;

(gdb) bt
#0  entry_partsize (e=Variable "e" is not available.
) at entry.c:677
#1  0x000000000043a919 in entry_flatsize (e=Variable "e" is not available.
) at entry.c:711
#2  0x00000000004412b8 in slap_send_search_entry (op=0x2aaabc02b430,
rs=0x45008ca0) at result.c:800
#3  0x000000000049b3d3 in bdb_search (op=0x2aaabc02b430, rs=0x45008ca0) at
#4  0x000000000048b482 in overlay_op_walk (op=0x2aaabc02b430, rs=0x45008ca0,
which=op_search, oi=0x7ed580, on=0x0)
    at backover.c:652
#5  0x000000000048b985 in over_op_func (op=0x2aaabc02b430, rs=0x45008ca0,
which=op_search) at backover.c:704
#6  0x0000000000433976 in fe_op_search (op=0x2aaabc02b430, rs=0x45008ca0) at
#7  0x0000000000434102 in do_search (op=0x2aaabc02b430, rs=0x45008ca0) at
#8  0x00000000004319b6 in connection_operation (ctx=0x45008de0, arg_v=Variable
"arg_v" is not available.
) at connection.c:1083
#9  0x0000000000431f5d in connection_read_thread (ctx=0x45008de0, argv=Variable
"argv" is not available.
) at connection.c:1210
#10 0x00000000005137f4 in ldap_int_thread_pool_wrapper (xpool=0x778d20) at
#11 0x0000003d5a306325 in start_thread () from /lib64/libpthread.so.0
#12 0x0000003d59acbbad in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()