[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#3501)
Did you run the client (ldapsearch w/o -x)? Do you confirm you're using
version 2.2.20? Unless you can reproduce the crash under gdb, there's
very little we can do to track your problem. Make sure you run a
non-stripped slapd (as it already appears to be) with exactly the same
arguments and environment that was in use when it crashed. I recall
that in your initial report you used -d 99 as debug level; I suggest you
keep using exactly the same settings, since the log level might be part
of the problem. In this case, a different log level might trigger a
different problem. You can get the stack of all threads at once using
"thread apply all backtrace". See gdb's help for specific commands.
p.
fbourdonnec@chez.com wrote:
>Hello Pierangelo,
>
>Unable to reproduce exact thing under gdb.... !
>
>when I do
>run -d 1
>the server initialize OK then
>stops !!!!
>0x40277714 in pthread_getconcurrency () from /lib/i686/libpthread.so.0
>
>the client never reach it.
>even after some 'continue'...
>
>
>So I tried with attaching gdb to one of the three 'pid'
>when I lauch
>./slapd -d1
>
>
>
>GNU gdb 5.3-25mdk (Mandrake Linux)
>Copyright 2002 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 "i586-mandrake-linux-gnu".
>(gdb) attach 13772
>Attaching to process 13772
>Reading symbols from
>/data/Users/root/openldap-2.2.20/servers/slapd/slapd...done.
>Reading symbols from /usr/lib/libdb-4.3.so...done.
>Loaded symbols for /usr/lib/libdb-4.3.so
>Reading symbols from /usr/lib/libsasl2.so.2...done.
>Loaded symbols for /usr/lib/libsasl2.so.2
>Reading symbols from /usr/lib/libssl.so.0.9.7...done.
>Loaded symbols for /usr/lib/libssl.so.0.9.7
>
>....cut
>
>---Type <return> to continue, or q <return> to quit---
>0x40277714 in pthread_getconcurrency () from /lib/i686/libpthread.so.0
>(gdb) continue
>Continuing.
>
>Program received signal SIGSEGV, Segmentation fault.
>0x40277714 in pthread_getconcurrency () from /lib/i686/libpthread.so.0
>
>(gdb) bt full
>#0 0x40277714 in pthread_getconcurrency () from /lib/i686/libpthread.so.0
>No symbol table info available.
>#1 0x402772b8 in pthread_getconcurrency () from /lib/i686/libpthread.so.0
>No symbol table info available.
>#2 0x4027453f in pthread_join () from /lib/i686/libpthread.so.0
>No symbol table info available.
>#3 0x08063b22 in slapd_daemon () at daemon.c:2037
> rc = -1073744752
>#4 0x0805a394 in main (argc=2, argv=0xbffff6d4) at main.c:713
> i = 2
> no_detach = 1
> rc = 0
> urls = 0x0
> username = 0x0
>---Type <return> to continue, or q <return> to quit---
> groupname = 0x0
> sandbox = 0x0
> syslogUser = 160
> configfile = 0x80f8d9c "/etc/openldap/slapd.conf"
> serverName = 0xbffff854 "slapd"
> cookie = {bv_len = 0, bv_val = 0x0}
> scp = (struct sync_cookie *) 0x4027c054
> scp_entry = (struct sync_cookie *) 0xfffffffc
>
>
>another attach to one of the three slapd/pid
>...
>Cont
>Program received signal SIG32, Real-time event 32.
>0x40277714 in pthread_getconcurrency () from /lib/i686/libpthread.so.0
>(gdb) bt full
>#0 0x40277714 in pthread_getconcurrency () from /lib/i686/libpthread.so.0
>No symbol table info available.
>#1 0x402772b8 in pthread_getconcurrency () from /lib/i686/libpthread.so.0
>No symbol table info available.
>#2 0x40278c5d in sem_timedwait () from /lib/i686/libpthread.so.0
>No symbol table info available.
>#3 0x40275e07 in pthread_mutex_lock () from /lib/i686/libpthread.so.0
>No symbol table info available.
>#4 0x40395f7b in vsyslog () from /lib/i686/libc.so.6
>No symbol table info available.
>#5 0x4039595f in syslog () from /lib/i686/libc.so.6
>No symbol table info available.
>#6 0x080629b4 in slapd_daemon_task (ptr=0x0) at daemon.c:1411
> l = 1077858188
> last_idle_check = 0
> idle = {tv_sec = 0, tv_usec = 0}
> ebadf = 0
>#7 0x40275600 in pthread_detach () from /lib/i686/libpthread.so.0
>No symbol table info available.
>(gdb)
>
>
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497