Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2006 19:30:32 GMT
From:      Kris Kennaway <kris@obsecurity.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/103271: crash inside dlclose() on shared library unload
Message-ID:  <200609141930.k8EJUWM9065098@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/103271; it has been noted by GNATS.

From: Kris Kennaway <kris@obsecurity.org>
To: Stefan Esser <sesser@hardened-php.net>
Cc: freebsd-gnats-submit@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--



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