You need to install the debuginfo package to get debugging symbols. Clément.
2013/8/29 "POISSON Frédéric" <[email protected]> > Hello, > > Ok thanks for the information, i try the gdb with full backtrace and i > have : > > # gdb /usr/local/openldap/libexec/slapd 9522 > GNU gdb (GDB) Red Hat Enterprise Linux (7.2-50.el6) > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later < > http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-redhat-linux-gnu". > For bug reporting instructions, please see: > <http://www.gnu.org/software/gdb/bugs/>... > Reading symbols from /usr/local/openldap/libexec/slapd...(no debugging > symbols found)...done. > Attaching to program: /usr/local/openldap/libexec/slapd, process 9522 > Reading symbols from /usr/local/berkeleydb/lib64/libdb-4.6.so...(no > debugging symbols found)...done. > Loaded symbols for /usr/local/berkeleydb/lib64/libdb-4.6.so > Reading symbols from /lib64/libpthread.so.0...(no debugging symbols > found)...done. > [Thread debugging using libthread_db enabled] > [New Thread 0x7f036993a700 (LWP 9523)] > 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/libcrypt.so.1...(no debugging symbols > found)...done. > Loaded symbols for /lib64/libcrypt.so.1 > Reading symbols from /lib64/libresolv.so.2...(no debugging symbols > found)...done. > Loaded symbols for /lib64/libresolv.so.2 > Reading symbols from /usr/lib64/libltdl.so.7...(no debugging symbols > found)...done. > Loaded symbols for /usr/lib64/libltdl.so.7 > 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/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 /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/libanonymous.so...(no debugging > symbols found)...done. > Loaded symbols for /usr/lib64/sasl2/libanonymous.so > 0x0000003a00c0804d in pthread_join () from /lib64/libpthread.so.0 > Missing separate debuginfos, use: debuginfo-install > openldap-ltb-2.4.36-1.el6.x86_64 > (gdb) backtrace full > #0 0x0000003a00c0804d in pthread_join () from /lib64/libpthread.so.0 > No symbol table info available. > #1 0x000000000043a0e9 in slapd_daemon () > No symbol table info available. > #2 0x0000000000426435 in main () > No symbol table info available. > (gdb) continue > Continuing. > [New Thread 0x7f0369139700 (LWP 11349)] > > Program received signal SIGABRT, Aborted. > [Switching to Thread 0x7f0369139700 (LWP 11349)] > 0x0000003a00432885 in raise () from /lib64/libc.so.6 > (gdb) backtrace full > #0 0x0000003a00432885 in raise () from /lib64/libc.so.6 > No symbol table info available. > #1 0x0000003a00434065 in abort () from /lib64/libc.so.6 > No symbol table info available. > #2 0x0000003a0042b9fe in __assert_fail_base () from /lib64/libc.so.6 > No symbol table info available. > #3 0x0000003a0042bac0 in __assert_fail () from /lib64/libc.so.6 > No symbol table info available. > #4 0x0000000000450bed in slap_send_ldap_result () > No symbol table info available. > #5 0x000000000042d567 in ?? () > No symbol table info available. > #6 0x000000000045745b in fe_op_modify () > No symbol table info available. > #7 0x0000000000457d86 in do_modify () > No symbol table info available. > #8 0x000000000043fb79 in ?? () > No symbol table info available. > #9 0x0000000000440365 in ?? () > No symbol table info available. > #10 0x0000000000595b80 in ?? () > No symbol table info available. > #11 0x0000003a00c077f1 in start_thread () from /lib64/libpthread.so.0 > No symbol table info available. > #12 0x0000003a004e5ccd in clone () from /lib64/libc.so.6 > No symbol table info available. > (gdb) continue > Continuing. > [Thread 0x7f0369139700 (LWP 11349) exited] > [Thread 0x7f036993a700 (LWP 9523) exited] > > Program terminated with signal SIGABRT, Aborted. > The program no longer exists. > (gdb) quit > > Tell me if it help, or if you need more. > > Regards, > > Le 29/08/13, *Nick Milas * <[email protected]> a écrit : > > On 29/8/2013 12:42 μμ, "POISSON Frédéric" wrote: > > >The server shutdown when i add this entry and with slapd option "-d 255" > i have : > >slapd: result.c:813: slap_send_ldap_result: Assertion `!((rs->sr_err)<0)' > failed. > >/etc/init.d/slapd: line 285: 5461 Aborted $SLAPD_BIN -h "$SLAPD_SERVICES" > $SLAPD_PARAMS > > > >Notice that i test this ldif modification on release 2.4.35 without > problem. > > Can you try taking a full backtrace? > > See for example: > http://www.openldap.org/lists/openldap-technical/201111/msg00243.html > > I am not a developer, but I have been through the same situation, so I > know that a full backtrace is needed for troubleshooting. > > Best regards, > Nick > > -- > > *Frederic Poisson* > > >
