Package: libnss-ldap
Version: 238-1
Severity: important

when I try to build an html file with wml (which is just a Perl
script), it segfaults

$ cat 1.wml
<h1>title</h1>

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

here is the 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 ()



I first tought it was related to bug #306258 so I linked the library
with ldap_r

but it didn't solved the problem

it's only by getting back with version 220-1 that I could get wml to
work again


unfortunately, I couldn't find exactly how to reproduce it with a simple
perl script


the machine is running sarge except for libldap2 that I tried to get
from sid (which is the reason why it's 2.1.20-8 instead of -6)

here is the version of perl/wml I use :
ii  perl                             5.8.4-8                          Larry 
Wall's Practical Extraction and Report Language
ii  wml                              2.0.8-11                         off-line 
HTML generation toolkit


last, it could well be that it's related to the architecture (64 bits)
since I haven't had the chance to test it somewhere else



-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-11-amd64-k8-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libnss-ldap depends on:
ii  debconf                     1.4.46       Debian configuration management sy
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libldap2                    2.1.30-8     OpenLDAP libraries

-- debconf information:
* libnss-ldap/dblogin: false
* shared/ldapns/base-dn: ou=observatoire,dc=obs,dc=coe,dc=int
* libnss-ldap/binddn: cn=admin,dc=obs,dc=coe,dc=int
  libnss-ldap/override: true
* shared/ldapns/ldap-server: localhost
* libnss-ldap/confperm: true
* shared/ldapns/ldap_version: 3
* libnss-ldap/nsswitch:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to