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

libc6: LD_PRELOAD causes segmentation faults in libc6_2.0.7r-3



Package: libc6
Version: 2.0.7r-3
Severity: critical

The 2.0.7r-3 causes a Segmentation Fault on every executable run when
LD_PRELOAD is set.  See attached typescript.  The segmentation fault happens
regardless of the setting of LD_PRELOAD as long as it points to an existing
shared library.

....

Script started on Fri Jul  3 19:38:25 1998
dutiab:/tmp# dpkg -l libc6
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name            Version        Description
+++-===============-==============-============================================
ii  libc6           2.0.7r-3       The GNU C library version 2 (run-time files)
dutiab:/tmp# cat > bla.c
void x() { }
dutiab:/tmp# gcc bla.c -o bla.so -shared
dutiab:/tmp# LD_PRELOAD=./bla.so ls
Segmentation fault
dutiab:/tmp# dpkg -i libc6_2.0.7r-2.deb 
dpkg - warning: downgrading libc6 from 2.0.7r-3 to 2.0.7r-2.
(Reading database ... 41719 files and directories currently installed.)
Preparing to replace libc6 2.0.7r-3 (using libc6_2.0.7r-2.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.0.7r-2) ...

dutiab:/tmp# LD_PRELOAD=./bla.so ls
[ snipped correct ls output ]
dutiab:/tmp# exit

Script done on Fri Jul  3 19:39:22 1998

....

I don't know whether this is related, but on IRC many people are reporting
completely broken hamm systems after an upgrade today.  The symptoms are that
every command gives a segmentation fault, so maybe there is a relation to this
problem somehow.

-- System Information
Debian Release: 2.0
Kernel Version: Linux hobbes 2.1.106 #1 Sun Jun 14 21:24:01 CEST 1998 i686 unknown

Versions of the packages libc6 depends on:
ii  ldso            1.9.9-1        The Linux dynamic linker, library and utilit


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: