Re: LD_PRELOAD broken?

From: Ed Schouten <ed_at_80386.nl>
Date: Sat, 28 Mar 2009 16:41:19 +0100
Hi Kostik,

* Kostik Belousov <kostikbel_at_gmail.com> wrote:
> On Sat, Mar 28, 2009 at 11:25:52AM +0100, Ed Schouten wrote:
> > Hi all,
> > 
> > Is it possible that the changes to rtld-elf the last couple of weeks
> > cause LD_PRELOAD to crash applications on startup? Very simple way to
> > reproduce:
> > 
> > 	LD_PRELOAD=/lib/libc.so.7 ls
> > 
> > This causes a segmentation fault on startup, at least on AMD64.
> 
> Yes. The following fixes the case for me.
> 
> <snip>

This seems to make LD_PRELOAD work again. I tested the patch using
sysutils/hidesvn, which uses LD_PRELOAD. Thanks a lot!

-- 
 Ed Schouten <ed_at_80386.nl>
 WWW: http://80386.nl/

Received on Sat Mar 28 2009 - 14:41:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC