From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 14 19:30:35 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52B3816A403 for ; Thu, 14 Sep 2006 19:30:35 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 915CE43D6A for ; Thu, 14 Sep 2006 19:30:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8EJUW8e065099 for ; Thu, 14 Sep 2006 19:30:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8EJUWM9065098; Thu, 14 Sep 2006 19:30:32 GMT (envelope-from gnats) Date: Thu, 14 Sep 2006 19:30:32 GMT Message-Id: <200609141930.k8EJUWM9065098@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Kris Kennaway Cc: Subject: Re: misc/103271: crash inside dlclose() on shared library unload X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kris Kennaway List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 19:30:35 -0000 The following reply was made to PR misc/103271; it has been noted by GNATS. From: Kris Kennaway To: Stefan Esser 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--