Bug#474218: nss-ldapd: Crashes when looking up many groups

2008-04-22 Thread Arthur de Jong
tags 474218 + pending thanks On Mon, 2008-04-21 at 08:05 +0200, Petter Reinholdtsen wrote: I've tested the latest svn verison against the AD LDAP server in question, and can confirm that valgrind report no errors. So it would seem that this bug is fixed in svn and will be in the next release.

Bug#474218: nss-ldapd: Crashes when looking up many groups

2008-04-21 Thread Petter Reinholdtsen
[Arthur de Jong] Running this code under valgrind does not show any memory problems in the nslcd code. I've tested the latest svn verison against the AD LDAP server in question, and can confirm that valgrind report no errors. Group lookups does not work properly still, but I suspect this is

Bug#474218: nss-ldapd: Crashes when looking up many groups

2008-04-20 Thread Arthur de Jong
On Fri, 2008-04-11 at 00:17 +0200, Petter Reinholdtsen wrote: Could you test that for me and report the output on stderr (or part of it) and possibly valgrind output? It got rid of the uninitialised values issues reported by valgrind, which is great. With this new version, I've been

Bug#474218: nss-ldapd: Crashes when looking up many groups

2008-04-10 Thread Petter Reinholdtsen
[Arthur de Jong] I was refering to the version of libldap2-dev, sorry I should've been clearer. Ah. It was built against libldap2-dev version 2.1.30-13.3. You could also try to just run configure from the source tarball and run the resulting nslcd. Passing --enable-debug to configure may

Bug#474218: nss-ldapd: Crashes when looking up many groups

2008-04-08 Thread Arthur de Jong
On Mon, 2008-04-07 at 01:07 +0200, Petter Reinholdtsen wrote: [Arthur de Jong] I noticed from the valgrind output you're using etch's Glibc. Are you also using OpenLDAP from etch? This is still against an AD LDAP server. I was refering to the version of libldap2-dev, sorry I should've

Bug#474218: nss-ldapd: Crashes when looking up many groups

2008-04-06 Thread Petter Reinholdtsen
I was also able to reproduce a crash with svn version 671 too. Here is the valgrind output. Notice how valgrind crashes too, I suspect this is because something is writing to random locations in memory. ==22387== Memcheck, a memory error detector. ==22387== Copyright (C) 2002-2006, and GNU

Bug#474218: nss-ldapd: Crashes when looking up many groups

2008-04-06 Thread Arthur de Jong
On Sun, 2008-04-06 at 15:43 +0200, Petter Reinholdtsen wrote: I was also able to reproduce a crash with svn version 671 too. Here is the valgrind output. Notice how valgrind crashes too, I suspect this is because something is writing to random locations in memory. I noticed from the valgrind

Bug#474218: nss-ldapd: Crashes when looking up many groups

2008-04-06 Thread Petter Reinholdtsen
[Arthur de Jong] I noticed from the valgrind output you're using etch's Glibc. Are you also using OpenLDAP from etch? This is still against an AD LDAP server. How do you produce the binary (compiler, compiler flags, etc) (I would recommend passing --enable-debug to configure, no optimisation

Bug#474218: nss-ldapd: Crashes when looking up many groups

2008-04-05 Thread Petter Reinholdtsen
[Petter Reinholdtsen] I can try to to see if I can reproduce it with a given version of the svn source (if the build failure is fixed now). But it might take a day or two. I was able to reproduce a crash with svn version 655. It was not easy, and I am not sure if it is the same problem as

Bug#474218: nss-ldapd: Crashes when looking up many groups

2008-04-04 Thread Petter Reinholdtsen
Package: libnss-ldapd Version: 0.6 Severity: important While testing different pagesize settings (related to BTS report #474170), I was able to capture this crash. I've had nslcd crashing several times when connecting it to an Active Directory LDAP server, but been unable to get usable debug

Bug#474218: nss-ldapd: Crashes when looking up many groups

2008-04-04 Thread Arthur de Jong
On Fri, 2008-04-04 at 10:51 +0200, Petter Reinholdtsen wrote: While testing different pagesize settings (related to BTS report #474170), I was able to capture this crash. I've had nslcd crashing several times when connecting it to an Active Directory LDAP server, but been unable to get

Bug#474218: nss-ldapd: Crashes when looking up many groups

2008-04-04 Thread Petter Reinholdtsen
[Arthur de Jong] I will go over the code and see if I can find the bug (probably some problem somewhere with empty strings or something similar). From the valgrind output it seems that you are using a svn version. Can you tell me which revision Not sure, no, and not sure how to figure it out