misc/103271: crash inside dlclose() on shared library unload
Kris Kennaway
kris at obsecurity.org
Thu Sep 14 12:30:35 PDT 2006
The following reply was made to PR misc/103271; it has been noted by GNATS.
From: Kris Kennaway <kris at obsecurity.org>
To: Stefan Esser <sesser at hardened-php.net>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: misc/103271: crash inside dlclose() on shared library unload
Date: Thu, 14 Sep 2006 15:25:10 -0400
--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Sep 14, 2006 at 04:11:17PM +0000, Stefan Esser wrote:
> There seems to be a problem in dlclose()
> When the shared library from security/php-suhosin is loaded AFTER pspell.=
so from lang/php5-extensions apache won't start because it will dlclose() s=
uhosin.so and crash inside _fini of suhosin.
>=20
> This only happens when suhosin.so is loaded AFTER pspell.so. This only ha=
ppens on FreeBSD (not on linux) and it seems that only pspell.so is affecte=
d. Because of this I suspect that this combination triggers a bug inside th=
e dynamic linker.
>=20
>=20
> >How-To-Repeat:
> Install lang/php5
> Install lang/php5-extension (only pspell extension)
> Install security/php-suhosin
> >Fix:
> Load suhosin.so before pspell.so inside /usr/local/etc/php/extensions.ini
Can you try to obtain a traceback with debugging symbols?
Kris
--mxv5cy4qt+RJ9ypb
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
iD8DBQFFCayVWry0BWjoQKURAja0AJ9dUs954Kl6OR+UdGcrxg7VfAG0DgCgxLQL
eltEWBmoIWmMILxb9HuFcKQ=
=szdE
-----END PGP SIGNATURE-----
--mxv5cy4qt+RJ9ypb--
More information about the freebsd-bugs
mailing list