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

Re: (ITS#7968) SIGSEGV shortly after reconnection performed by syncrepl due to synchronization conflicts



Program terminated with signal 11, Segmentation fault.
#0  0x000000000047fb64 in do_syncrep2 (op=0x7f8c494e7740, si=0x19967e0) 
at syncrepl.c:892
892                    bdn.bv_val[bdn.bv_len] = '\0';
(gdb) bt
#0  0x000000000047fb64 in do_syncrep2 (op=0x7f8c494e7740, si=0x19967e0) 
at syncrepl.c:892
#1  0x0000000000483903 in do_syncrepl (ctx=<optimised out>, 
arg=0x1996410) at syncrepl.c:1551
#2  0x00000000004250e8 in connection_input (cri=<optimised out>, 
conn=<optimised out>) at connection.c:1732
#3  connection_read (cri=<optimised out>, s=<optimised out>) at 
connection.c:1460
#4  connection_read_thread (ctx=0x7f8c494e7bd0, argv=0x21) at 
connection.c:1284
#5  0x00007f8c6bb5bd22 in ldap_int_thread_pool_wrapper (xpool=0x194a090) 
at tpool.c:688
#6  0x00007f8c6b7260a5 in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f8c6b45384d in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) info locals
syncUUID = {{bv_len = 16, bv_val = 0x7f8c40106ad7 
"\023Z,P\f!\020\064\223e\177\031\357Î?:"}, {bv_len = 0, bv_val = 0x0}}
cookie = {bv_len = 60, bv_val = 0x7f8c40106ae9 
"rid=001,sid=001,csn=20141129143806.208485Z#000000#001#000000"}
rctrls = 0x7f8c40104ad0
bdn = {bv_len = 34, bv_val = 0x7f8c40105209 
"cn=tablet,uid=1756,dc=ngdr,dc=ldap"}
si_tag = 1
syncstate = 1
retdata = 0x19eb878
retoid = 0x0
syncUUIDs = 0x0
len = 60
berbuf = {
   buffer = "\002\000\001", '\000' <repeats 29 times>, 
"\320j\020@\214\177\000\000%k\020@\214\177\000\000%k\020@\214\177", 
'\000' <repeats 34 times>, 
"i\315rk\214\177\000\000\000\000\000\000\000\000\000\000xQ\224k\214\177\000\000\340b\231\001", 
'\000' <repeats 36 times>, 
"\a\000\000\000\000\000\000\000\020c\231\001\000\000\000\000\a\000\000\000\000\000\000\000@b\231\001\000\000\000\000\006\000\000\000\000\000\000\000\300b\231\001\000\000\000\000"..., 
ialign = 65538, lalign = 65538, falign = 9.18382988e-41, dalign = 
3.2380074297143616e-319, palign = 0x10002 <Address 0x10002 out of bounds>}
msg = 0x7f8c40102be0
syncCookie = {ctxcsn = 0x7f8c401038f0, sids = 0x7f8c40105890, numcsns = 
1, rid = 1, octet_str = {bv_len = 60, bv_val = 0x7f8c40104e10 
"rid=001,sid=001,csn=20141129143806.208485Z#000000#001#000000"},
   sid = 1, sc_next = {stqe_next = 0x0}}
syncCookie_req = {ctxcsn = 0x7f8c40105e80, sids = 0x7f8c40105020, 
numcsns = 1, rid = 1, octet_str = {bv_len = 60, bv_val = 0x7f8c40105760 
"rid=001,sid=001,csn=20141129143806.208232Z#000000#001#000000"},
   sid = 1, sc_next = {stqe_next = 0x0}}
rc = 100
err = 0
modlist = 0x7f8c40106a70
m = 32652
tout = {tv_sec = 0, tv_usec = 0}
refreshDeletes = 0
empty = "empty"
(gdb)