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
