[Date Prev][Date Next]
Re: OpenLDAP dumps core (on SMP system) (ITS#1319)
Content-Type: text/plain; charset="iso-8859-1"
On Thu, Sep 06, Kurt D. Zeilenga wrote:
We were now able to track down the problem a little bit:
> At 09:24 AM 2001-09-06, firstname.lastname@example.org wrote:
> >Full_Name: Carsten Hoeger
> >Version: 2.0.12 and 2.0.11
> >OS: Linux (Kernel 2.4.7, glibc-2.2.2)
> >URL: ftp://ftp.openldap.org/incoming/
> >Submission from: (NULL) (188.8.131.52)
> Seems like that thread's stack was trashed. ldap_str2matchingrule
> doesn't recurse and is only called by slapd at startup. You
> might look into what other threads were doing and dig into
> logs for any clue. You also might experiment with
> OPENLDAP_REL_ENG_2 to see if it behaves in the same manner.
On Fri, Sep 07, Andreas Schwab wrote:
> servers/slapd/back-ldbm/idl.c:idl_intersection computes the intersection
> of a big set with a singleton set. But the big set is not correctly
> sorted, and even contains some ids twice, including the member of the
> singleton set. It then puts two entries in the result set which has only
> place for one entry, and therefore writes beyond allocated space. Thus
> the problem is that an id set is not correctly sorted at one point.
> Andreas Schwab "And now for something
> Andreas.Schwab@suse.de completely different."
> SuSE Labs, SuSE GmbH, Schanz=E4ckerstr. 10, D-90443 N=FCrnberg
> Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
We tried then to recreate the backend (stop slapd, slapcat, slapadd)
and after this, slapd runs fine.
So it was a corrupt backend, that causes the problem.
Andreas Schwab also wrote a little check function, which is attached
to this mail.
P.S.: We used OPENLDAP_REL_ENG_2
mit freundlichen Gruessen,
Carsten Hoeger - SuSE The Linux Experts -
SuSE GmbH, Schanzaeckerstr. 10, 90443 Nuernberg, Germany
Tel: +49-911-7405331 http://suse.com Fax: +49-911-74053674
Key fingerprint =3D E3B6 7FDB 4800 0F22 DC09 EB2B 7988 B6A8 6691 C94A
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="Re OpenLDAP dumps core (on SMP"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org
-----END PGP SIGNATURE-----