Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2009 16:41:19 +0100
From:      Ed Schouten <ed@80386.nl>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: LD_PRELOAD broken?
Message-ID:  <20090328154119.GS73108@hoeg.nl>
In-Reply-To: <20090328134740.GI31897@deviant.kiev.zoral.com.ua>
References:  <20090328102552.GR73108@hoeg.nl> <20090328134740.GI31897@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--QRtLtq+kfJNLc57H
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Kostik,

* Kostik Belousov <kostikbel@gmail.com> wrote:
> On Sat, Mar 28, 2009 at 11:25:52AM +0100, Ed Schouten wrote:
> > Hi all,
> >=20
> > 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:
> >=20
> > 	LD_PRELOAD=3D/lib/libc.so.7 ls
> >=20
> > This causes a segmentation fault on startup, at least on AMD64.
>=20
> Yes. The following fixes the case for me.
>=20
> <snip>

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

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--QRtLtq+kfJNLc57H
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAknORR8ACgkQ52SDGA2eCwU88wCeOPbmhfNx3ZNicPoJkKSNVym4
wxUAnRJAwlZnX2Cq/H6iP+GcitfOI4N2
=6UF+
-----END PGP SIGNATURE-----

--QRtLtq+kfJNLc57H--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090328154119.GS73108>