Ciao, ecco il risultato del comando :
[EMAIL PROTECTED] # gdb /openldap_new/libexec/slapd /tmp/core GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.9"... (no debugging symbols found) warning: Can't read pathname for load map: I/O error. Reading symbols from /usr/local/BerkeleyDB.4.2.52.6p/lib/libdb-4.2.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/BerkeleyDB.4.2.52.6p/lib/libdb-4.2.so Reading symbols from /usr/lib/libgen.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgen.so.1 Reading symbols from /usr/local/ssl/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/local/ssl/lib//libcrypto.so.0.9.8 Reading symbols from /usr/local/ssl/lib/libssl.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/local/ssl/lib//libssl.so.0.9.8 Reading symbols from /usr/local/lib/libsasl2.so.2... (no debugging symbols found)...done. Loaded symbols for /usr/local/lib//libsasl2.so.2 Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libdl.so.1 Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libnsl.so.1 Reading symbols from /usr/lib/libresolv.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libresolv.so.2 Reading symbols from /usr/lib/libsocket.so.1... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libsocket.so.1 Reading symbols from /usr/lib/libpthread.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libpthread.so.1 Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libc.so.1 Reading symbols from /usr/local/lib/libgcc_s.so.1...done. Loaded symbols for /usr/local/lib//libgcc_s.so.1 Reading symbols from /usr/lib/libmp.so.2...done. Loaded symbols for /usr/lib/libmp.so.2 Reading symbols from /usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1...done. Loaded symbols for /usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1 Reading symbols from /usr/lib/libthread.so.1...done. Loaded symbols for /usr/lib/libthread.so.1 warning: Can't read pathname for load map: I/O error. warning: Can't read pathname for load map: I/O error. Core was generated by `/openldap_new/libexec/slapd -f /openldap_new/etc/openldap/slapd.conf -h ldap://'. Program terminated with signal 11, Segmentation fault. #0 0x0003f4f4 in ?? () (gdb) bt full #0 0x0003f4f4 in ?? () No symbol table info available. #1 0x0003fdf0 in entry_decode () No symbol table info available. #2 0x000b6218 in bdb_id2entry () No symbol table info available. #3 0x000af720 in bdb_cache_find_id () No symbol table info available. #4 0x00095530 in bdb_search () No symbol table info available. #5 0x00088e70 in overlay_op_walk () No symbol table info available. #6 0x00088fd8 in ?? () No symbol table info available. #7 0x00088fd8 in ?? () No symbol table info available. Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) Se sono necessarie altre info o altri comandi da eseguire a disposizione. Saluti, Mirko. Stefanelli -----Messaggio originale----- Da: Pierangelo Masarati [mailto:[EMAIL PROTECTED] Inviato: giovedì 10 gennaio 2008 23.02 A: Stefanelli Mirko Cc: [EMAIL PROTECTED]; [email protected] Oggetto: Re: R: [OpenLDAP] Syncrepl e BDB *core dump* Stefanelli Mirko wrote: > Ciao Luca, > > ho installato il gdb, e lanciato il seguente comando: /usr/local/bin/gdbtui > -c core. > > Il file core è oltre 100Mb, compresso è circa 18Mb. Comunque il risultato del > comando è il seguente: > > ======OUTPUT COMMAND BEGIN============= > GNU gdb 6.6 > Copyright (C) 2006 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "sparc-sun-solaris2.9". > Core was generated by `/openldap_new/libexec/slapd -f > /openldap_new/etc/openldap/slapd.conf -h ldap://'. > Program terminated with signal 10, Bus error. > #0 0xfee479d8 in ?? () > (gdb) > ======OUTPUT COMMAND END========== > > Non conosco questo strumento di debug, quindi se ci sono altri parametri da > passare me li puoi suggerire. Esegui $ gdb /path/to/slapd /path/to/core quindi: (gdb) bt full e manda il risultato. Se il binario e' strippato, conviene che usi il corrispondente binario generato in compilazione ma non ancora strippato (fa niente se ti da' warning sul fatto che il binario potrebbe non corrispondere al core, basta che sia compilato nello stesso modo). Ciao, p. Ing. Pierangelo Masarati OpenLDAP Core Team SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it --------------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Email: [EMAIL PROTECTED] --------------------------------------- _______________________________________________ OpenLDAP mailing list [email protected] https://www.sys-net.it/mailman/listinfo/openldap
