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

Re: (ITS#3796) slapd core on slapcat -b cn=conf



On Fri, 24 Jun 2005, Howard Chu wrote:

> This is most likely the same problem as ITS#3793. It is purely a slapd
> code issue, and not related to BerkeleyDB in any way.
>
> The slap tools (slapcat et al) are all single-threaded programs, so none
> of the thread-related functions should ever get used. It seems we need
> some additional init/de-init checks to make sure of that.
>
> Instead of "bt full" please do a "bt 20" on your core file and reply to
> this ITS with that info, thanks.
>

Assertion failed: (rw != NULL), function ldap_pvt_thread_rdwr_destroy,
file rdwr.c, line 99.
Abort trap (core dumped)

[root@ldapm:~] # gdb -c slapd.core
GNU gdb 6.1.1 [FreeBSD]
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 "i386-marcel-freebsd".
Core was generated by `slapd'.
Program terminated with signal 6, Aborted.
#0  0x2833b37b in ?? ()

(gdb) bt 20
#0  0x2833b37b in ?? ()
#1  0x282d1b8f in ?? ()
#2  0x00003b6c in ?? ()
#3  0x00000006 in ?? ()
#4  0x28126040 in ?? ()
#5  0x282d1b66 in ?? ()
#6  0x283b3b0c in ?? ()
#7  0xbfbfe9b8 in ?? ()
#8  0xbfbfe9e8 in ?? ()
#9  0x283a2c1b in ?? ()
#10 0x00000006 in ?? ()
#11 0xbfbfe9b8 in ?? ()
#12 0x00000000 in ?? ()
#13 0x283a2be6 in ?? ()
#14 0x00000001 in ?? ()
#15 0x28121c00 in ?? ()
#16 0xffffffdf in ?? ()
#17 0xffffffff in ?? ()
#18 0xffffffff in ?? ()
#19 0xffffffff in ?? ()
(More stack frames follow...)