[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Call For Assistance #4 - slapd won't die gracefully, multiple versions.
Either this binary was not threaded, or your version of gdb doesn't support
your threads library. A "bt full" at this point would still be interesting.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support
> -----Original Message-----
> From: Jason Lixfeld [mailto:jason+lists.openldap@lixfeld.ca]
> The first time I did have debugging symbols. I did run from
> the build
> tree after compiling with -g but alas I did re-compile without -O.
>
> Here's what was passed to configure from make:
>
> configure:3141: cc -c -g -fPIC -I/usr/local/include/db42
> -D_THREAD_SAFE -I/usr/local/include
>
> Now then, here's my typescript:
>
> Script started on Sat Apr 17 13:13:41 2004
> GNU gdb 6.1
> 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 "amd64-unknown-freebsd5.2.1".
> (gdb) file slapd
> Reading symbols from slapd...done.
> (gdb) run -d 256
> Starting program:
> /usr/ports/net/openldap22-server/work/openldap-2.2.8/servers/slapd/
> .libs/slapd -d 256
> @(#) $OpenLDAP: slapd 2.2.8 (Apr 17 2004 12:53:34) $
>
> jlixfeld@eshara.ebit.ca:/usr/ports/net/openldap22-server/work/
> openldap
> -2.2.8/servers/slapd
> bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52:
> (December 3,
> 2003)
> bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52:
> (December 3,
> 2003)
> bdb_db_init: Initializing BDB database
> slapd starting
> conn=0 fd=15 ACCEPT from IP=127.0.0.1:44636 (IP=0.0.0.0:389)
> conn=0 op=0 BIND dn="" method=128
> conn=0 op=0 RESULT tag=97 err=0 text=
> conn=0 op=1 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
> conn=0 op=1 SRCH attr=namingContexts
> conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
> conn=0 op=2 UNBIND
> conn=0 fd=15 closed
>
> Program received signal SIGINT, Interrupt.
> 0x00000002014e669c in poll () from /lib/libc.so.5
> (gdb) info threads
> (gdb) thread apply all bt
> (gdb) quit
> The program is running. Exit anyway? (y or n) y