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

Re: Crash on ia64





--On Friday, June 25, 2004 11:05 AM +0200 De Leeuw Guy <G.De_Leeuw@eurofer.be> wrote:

Hello,

Have you tried using a debugging symbols version of slapd, and gdb, to
see  where the segfault is occuring?

--Quanah

Hi,

Please don't email me off the list. It is important to keep traffic on the list so that others can see the threads, solutions, advice, etc, and so they can give their own input as well.

See comments at end of email.

I'm not an expert of gdb, but here is the extract

GNU gdb 6.1-debian
Copyright 2004 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 "ia64-linux"...(no debugging symbols
found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".

Attaching to program: /usr/local/openldap-2.2.14/libexec/slapd, process
23430
Reading symbols from /usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so...done.
Loaded symbols for /usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so
Reading symbols from /lib/tls/libresolv.so.2...done.
Loaded symbols for /lib/tls/libresolv.so.2
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 2305843009213882320 (LWP 23430)]
[New Thread 2305843009227946192 (LWP 23431)]
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/tls/libc.so.6.1...done.
Loaded symbols for /lib/tls/libc.so.6.1
Reading symbols from /lib/ld-linux-ia64.so.2...done.
Loaded symbols for /lib/ld-linux-ia64.so.2
0x2000000000232841 in pthread_join () from /lib/tls/libpthread.so.0
(gdb) c
Continuing.
[New Thread 2305843009232140496 (LWP 23488)]
c

Program received signal SIGINT, Interrupt.
[Switching to Thread 2305843009213882320 (LWP 23430)]
0x2000000000232841 in pthread_join () from /lib/tls/libpthread.so.0

Generally at this point, it is helpful to use the command "bt" (backtrace) and


"thr apply all bt" (thread apply all backtrace)

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html