[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: broken libnss-ldap



 Le 20 May vers 11:32, Stephen Frost écrivait:
> * Roman Hodek (roman@hodek.net) wrote:
> > However, for amd64 it seems that libpam-ldap has been compiled with an
> > older libldap2 (probably because build dependencies weren't tight
> > enough):
> 
> The latest OpenLDAP should fix the libpam-ldap / libnss-ldap problems...
> I couldn't exactly have changed the libpam-ldap build dependencies to
> depend on something not yet in the archive. :)
> 
> Please let me know if the problem persists with the latest libldap2 (and
> please get that into amd64 soon, if it's not already...).

I still have problems with libnss-ldap and the lastest version of
libldap2 doesn't seem to solve it :

when I use wml (which is basically a perl script but sorry, I can't
actually narrow the bug to a perl script), here is what I got :

$ wml -o 1.html 1.wml
** WML:Break: Error in Pass 2 (status=139, rc=0).

then, here is the core backtrace :

$ gdb -c core /usr/bin/perl
GNU gdb 6.3-debian
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 "x86_64-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".


warning: core file may not match specified executable file.
Core was generated by `/usr/bin/perl /usr/bin/wml -o 1.html 1.wml'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libperl.so.5.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libperl.so.5.8
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib/perl/5.8.4/auto/Cwd/Cwd.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl/5.8/auto/Cwd/Cwd.so
Reading symbols from /usr/lib/perl/5.8.4/auto/Fcntl/Fcntl.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl/5.8/auto/Fcntl/Fcntl.so
Reading symbols from /usr/lib/perl/5.8.4/auto/IO/IO.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl/5.8/auto/IO/IO.so
Reading symbols from /usr/lib/perl5/auto/Term/ReadKey/ReadKey.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/auto/Term/ReadKey/ReadKey.so
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_ldap.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_ldap.so.2
Reading symbols from /usr/lib/libldap_r.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libldap_r.so.2
Reading symbols from /usr/lib/liblber.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/liblber.so.2
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libresolv.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /usr/lib/libgnutls.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnutls.so.11
Reading symbols from /usr/lib/libtasn1.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libtasn1.so.2
Reading symbols from /usr/lib/libgcrypt.so.11...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /usr/lib/libgpg-error.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/sasl2/libsasldb.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/sasl2/libsasldb.so.2
Reading symbols from /usr/lib/libdb-4.2.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdb-4.2.so
#0  0x0000002a96605e3b in ldap_ld_free () from /usr/lib/libldap_r.so.2
(gdb) bt
#0  0x0000002a96605e3b in ldap_ld_free () from /usr/lib/libldap_r.so.2
#1  0x0000002a964d79c5 in ?? () from /lib/libnss_ldap.so.2
#2  0x0000002a964d7669 in ?? () from /lib/libnss_ldap.so.2
#3  0x0000002a95ce44e6 in fork () from /lib/libc.so.6
#4  0x0000002a95b30949 in fork () from /lib/libpthread.so.0
#5  0x0000002a956e5dd9 in Perl_my_fork () from /usr/lib/libperl.so.5.8
#6  0x0000002a95734167 in Perl_pp_system () from /usr/lib/libperl.so.5.8
#7  0x0000002a956f398e in Perl_runops_standard () from /usr/lib/libperl.so.5.8
#8  0x0000002a956a1096 in perl_run () from /usr/lib/libperl.so.5.8
#9  0x0000002a956a0e92 in perl_run () from /usr/lib/libperl.so.5.8
#10 0x00000000004019bf in main ()



...so I tried to recompile libnss-ldap version 238-1 linking with ldap_r
but it didn't work either

so I went back to libnss-ldap version 220-1 (which dates back to August
2004) and everything went fine again !

it could help me to report the bug in debian (weither it is a bug
related to amd64 or not, this is yet another question...)



I don't know how to trigger the bug in Perl (it really seems perl is the
culprit here)

any idea ?


-- 
	Cyril Chaboisseau

Titre


Reply to: