Stefanelli Mirko wrote:
> 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

C'e' qualcosa che non va tra build di slapd e gdb.  Non avevo capito che
si trattava di Solaris (purtroppo).  Ricordo (ai tempi) di aver dovuto
(ri-)compilarmi il gdb per ottenere qualcosa di utilizzabile.  Puoi
verificare se la tua compilazione e' a 32 o a 64 bit, e se il gdb e'
consistente?  Se non ricordo male, quando compili con gdb, devi
specificare -m64 per compilare a 64 bit.

Se c'e' qualcuno che ha la compilazione e il debug su Solaris un po'
piu' alla mano, si faccia avanti!

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


Rispondere a