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

(ITS#7526) Segfault in slapd-meta during olcDbUri modify



Full_Name: John Madden
Version: 2.4.32
OS: Linux / RHEL6/64
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (168.91.17.188)


slapd-meta frontend to another slapd, perform an ldapmodify on the olcDbUri
(incidentally while troubleshooting incorrect proxy behavior) results in a
segfault.  

(gdb) attach 5979
Attaching to process 5979
Reading symbols from /usr/local/libexec/slapd...(no debugging symbols
found)...done.
Reading symbols from /usr/local/BerkeleyDB.5.1/lib/libdb-5.1.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/BerkeleyDB.5.1/lib/libdb-5.1.so
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols
found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x7f9dc6485700 (LWP 6928)]
[New Thread 0x7f9dc6c86700 (LWP 6927)]
[New Thread 0x7f9dc7487700 (LWP 5980)]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /usr/lib64/libsasl2.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib64/libsasl2.so.2
Reading symbols from /usr/lib64/libssl.so.10...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib64/libssl.so.10
Reading symbols from /usr/lib64/libcrypto.so.10...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib64/libcrypto.so.10
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/libgssapi_krb5.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libgssapi_krb5.so.2
Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libk5crypto.so.3
Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /lib64/libfreebl3.so...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libfreebl3.so
Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libselinux.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /lib64/libnss_dns.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libnss_dns.so.2
Reading symbols from /usr/lib64/sasl2/libcrammd5.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib64/sasl2/libcrammd5.so
Reading symbols from /usr/lib64/sasl2/libanonymous.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib64/sasl2/libanonymous.so
Reading symbols from /usr/lib64/sasl2/libplain.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib64/sasl2/libplain.so
Reading symbols from /usr/lib64/sasl2/libsasldb.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib64/sasl2/libsasldb.so
Reading symbols from /lib64/libdb-4.7.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdb-4.7.so
Reading symbols from /usr/lib64/sasl2/liblogin.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib64/sasl2/liblogin.so
Reading symbols from /usr/lib64/sasl2/libdigestmd5.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib64/sasl2/libdigestmd5.so
Reading symbols from /usr/lib64/sasl2/libgssapiv2.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib64/sasl2/libgssapiv2.so
0x00000033114080ad in pthread_join () from /lib64/libpthread.so.0
Missing separate debuginfos, use: debuginfo-install
cyrus-sasl-gssapi-2.1.23-13.el6_3.1.x86_64
cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64 cyrus-sasl-md5-2.1.23-13.el6_3.1.x86_64
cyrus-sasl-plain-2.1.23-13.el6_3.1.x86_64 db4-4.7.25-17.el6.x86_64
glibc-2.12-1.80.el6_3.6.x86_64 keyutils-libs-1.4-4.el6.x86_64
krb5-libs-1.9-33.el6_3.3.x86_64 libcom_err-1.41.12-12.el6.x86_64
libselinux-2.0.94-5.3.el6.x86_64 nss-softokn-freebl-3.12.9-11.el6.x86_64
openssl-1.0.0-25.el6_3.1.x86_64 zlib-1.2.3-27.el6.x86_64
(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f9dc6c86700 (LWP 6927)]
0x0000000000516517 in ?? ()
(gdb) backtrace full
#0  0x0000000000516517 in ?? ()
No symbol table info available.
#1  0x0000000000412b2c in ?? ()
No symbol table info available.
#2  0x0000000000438a8b in ?? ()
No symbol table info available.
#3  0x00000000004393b6 in ?? ()
No symbol table info available.
#4  0x00000000004212d9 in ?? ()
No symbol table info available.
#5  0x0000000000421ab5 in ?? ()
No symbol table info available.
#6  0x0000000000570da0 in ?? ()
No symbol table info available.
#7  0x0000003311407851 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#8  0x0000003310ce811d in clone () from /lib64/libc.so.6
No symbol table info available.
(gdb) info registers
rax            0x19	25
rbx            0x7f9dc6c83340	140315621602112
rcx            0x0	0
rdx            0x19	25
rsi            0x7f9dc6c83340	140315621602112
rdi            0x7f9dc6c83340	140315621602112
rbp            0x1dbaf00	0x1dbaf00
rsp            0x7f9dc6c80bf0	0x7f9dc6c80bf0
r8             0x0	0
r9             0x7f9dc6c830c0	140315621601472
r10            0x84db78	8706936
r11            0x0	0
r12            0x1d55390	30757776
r13            0x7f9dc6c83340	140315621602112
r14            0x7f9db8112be0	140315374726112
r15            0x7f9db8112670	140315374724720
rip            0x516517	0x516517
eflags         0x10283	[ CF SF IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
(gdb) x/16i $pc
=> 0x516517:	mov    0x0,%rdi
   0x51651f:	test   %rdi,%rdi
   0x516522:	je     0x515858
   0x516528:	callq  0x43b4e0
   0x51652d:	xor    %ebp,%ebp
   0x51652f:	movq   $0x0,0x0
   0x51653b:	jmpq   0x515745
   0x516540:	andl   $0xfffffe7f,0x8
   0x51654b:	xor    %ebp,%ebp
   0x51654d:	jmpq   0x515745
   0x516552:	andl   $0xfffdffff,0x8
   0x51655d:	xor    %ebp,%ebp
   0x51655f:	jmpq   0x515745
   0x516564:	movq   $0x0,0x138(%rbp)
   0x51656f:	xor    %ebp,%ebp
   0x516571:	jmpq   0x515745
(gdb) thread apply all backtrace

Thread 4 (Thread 0x7f9dc7487700 (LWP 5980)):
#0  0x0000003310ce8713 in epoll_wait () from /lib64/libc.so.6
#1  0x000000000041e5fa in ?? ()
#2  0x0000003311407851 in start_thread () from /lib64/libpthread.so.0
#3  0x0000003310ce811d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f9dc6c86700 (LWP 6927)):
#0  0x0000000000516517 in ?? ()
#1  0x0000000000412b2c in ?? ()
#2  0x0000000000438a8b in ?? ()
#3  0x00000000004393b6 in ?? ()
#4  0x00000000004212d9 in ?? ()
#5  0x0000000000421ab5 in ?? ()
#6  0x0000000000570da0 in ?? ()
#7  0x0000003311407851 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003310ce811d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f9dc6485700 (LWP 6928)):
#0  0x000000331140b43c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x0000000000570df5 in ?? ()
#2  0x0000003311407851 in start_thread () from /lib64/libpthread.so.0
#3  0x0000003310ce811d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9dcb64e7c0 (LWP 5979)):
#0  0x00000033114080ad in pthread_join () from /lib64/libpthread.so.0
#1  0x000000000041b951 in ?? ()
#2  0x00000000004081c5 in ?? ()
#3  0x0000003310c1ecdd in __libc_start_main () from /lib64/libc.so.6
#4  0x0000000000406a69 in ?? ()
#5  0x00007fffe3969bc8 in ?? ()
#6  0x000000000000001c in ?? ()
#7  0x0000000000000005 in ?? ()
#8  0x00007fffe396bd7a in ?? ()
#9  0x00007fffe396bd93 in ?? ()
#10 0x00007fffe396bd96 in ?? ()
#11 0x00007fffe396bdbe in ?? ()
#12 0x00007fffe396bdc1 in ?? ()
#13 0x0000000000000000 in ?? ()