[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapd+pcache keeps crashing on FreeBSD 6.2 (ITS#4841)
It appears that your system has simply run out of memory, most likely because
you have 34 active threads in the process. That's far too many threads for a
typical 32 bit machine.
Imri Zvik ( Smile ) wrote:
> I have new tar.gz file ready, this time with unstripped binaries:
> http://mariska.inter.net.il/~imriz/slapd-crash-10042007.tar.gz
>
> root@cemetery:~$ ldd /usr/local/libexec/slapd
> /usr/local/libexec/slapd:
> libldap_r-2.3-releng.so.2 =>
> /usr/local/lib/libldap_r-2.3-releng.so.2 (0xa8161000)
> liblber-2.3-releng.so.2 =>
> /usr/local/lib/liblber-2.3-releng.so.2 (0xa81a1000)
> libssl.so.4 => /usr/lib/libssl.so.4 (0xa81b7000)
> libcrypto.so.4 => /lib/libcrypto.so.4 (0xa81e5000)
> libfetch.so.4 => /usr/lib/libfetch.so.4 (0xa82d8000)
> libcom_err.so.3 => /usr/lib/libcom_err.so.3 (0xa82e5000)
> libcrypt.so.3 => /lib/libcrypt.so.3 (0xa82e7000)
> libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0xa82ff000)
> libpthread.so.2 => /usr/lib/libthr.so.2 (0xa8307000)
> libc.so.6 => /lib/libc.so.6 (0xa8319000)
> root@cemetery:~$ file /usr/local/libexec/slapd
> /usr/local/libexec/slapd: ELF 32-bit LSB executable, Intel 80386,
> version 1 (FreeBSD), dynamically linked (uses shared libs), not stripped
>
> Please let me know if there is anything else you need,
>
> --imriz
>
>
>> -----Original Message-----
>> From: Howard Chu [mailto:hyc@symas.com]
>> Sent: Tuesday, April 03, 2007 12:42 AM
>> To: Imri Zvik ( Smile )
>> Cc: openldap-its@openldap.org
>> Subject: Re: slapd+pcache keeps crashing on FreeBSD 6.2 (ITS#4841)
>>
>> imriz@co.zahav.net.il wrote:
>>> Sure. New core dumps and binary file is at
>>> http://mariska.inter.net.il/~imriz/slapd-core.tar.gz
>> The slapd in this snapshot was stripped so no debug symbols are
>> present.
>> Please be sure to use an unstripped binary.
>>
>> Also, since you're also loading libldap_r, liblber, back-ldap, back-
>> bdb,
>> back-meta, and back-ldbm dynamically, you'll need to include those
>> modules in the tarball. (Also with debug and unstripped.)
>>
>> Although at this point I'm wondering why you're using back-ldbm, which
>> has been deprecated for quite a long time.
>>
>>> Please notice that the previous dump was from FreeBSD ports
> (OpenLDAP
>>> version 2.3.33).
>>>
>>> This one was fetched from the CVS (OPENLDAP_REL_ENG_2_3), with the
>>> following configure options:
>>>
>>> ./configure --with-threads=posix --with-tls=openssl --enable-dynamic
>>> --without-cyrus-sasl --enable-modules --localstatedir=/var/
>>> db --enable-ldbm=mod --enable-crypt --enable-lmpasswd --enable-
>> ldap=mod
>>> --enable-meta=mod --enable-rewrite --enable-null=mod --enabl
>>> e-monitor=mod --enable-proxycache --disable-syncprov
> --enable-bdb=mod
>>> --enable-hdb=mod --enable-dbm-api=berkeley --disable-slurpd --
>>> prefix=/usr/local --enable-debug
>>>
>>>
>>> -----Original Message-----
>>> From: Howard Chu [mailto:openldap-its@OpenLDAP.org]
>>> Sent: Tuesday, February 13, 2007 1:14 AM
>>> To: Imri Zvik
>>> Subject: Re: slapd+pcache keeps crashing on FreeBSD 6.2 (ITS#4841)
>>>
>>> It looks like this core is from a binary without debug symbols
>> present,
>>> can you
>>> recompile with debugging enabled and get a new stack trace and core
>>> file?
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/