From owner-freebsd-questions@FreeBSD.ORG Thu Mar 25 06:08:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70E9916A4CE for ; Thu, 25 Mar 2004 06:08:07 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CA5D43D2F for ; Thu, 25 Mar 2004 06:08:06 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i2PE7w1l085721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Mar 2004 14:07:58 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i2PE7won085716; Thu, 25 Mar 2004 14:07:58 GMT (envelope-from matthew) Date: Thu, 25 Mar 2004 14:07:58 +0000 From: Matthew Seaman To: Heinrich Rebehn Message-ID: <20040325140758.GA84635@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Heinrich Rebehn , freebsd-questions@freebsd.org References: <40582439.7060403@ant.uni-bremen.de> <20040317124000.GD26606@happy-idiot-talk.infracaninophile.co.uk> <405850A2.3060509@ant.uni-bremen.de> <20040317145808.GA29859@happy-idiot-talk.infracaninophile.co.uk> <4062DE26.2050305@ant.uni-bremen.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: <4062DE26.2050305@ant.uni-bremen.de> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040316, clamav-milter version 0.67l cc: freebsd-questions@freebsd.org Subject: Re: apache+mod_ssl + php4 crashes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 14:08:07 -0000 --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 25, 2004 at 02:27:02PM +0100, Heinrich Rebehn wrote: > I tried substituting libc_r with libkse (there is no libpthread on=20 > 5.2.1-RELEASE-p3). Still no good. httpd dumps core. :-( Yes. I now have heard that the new threading libraries have been deemed good enough to be made part of the system, so libc_r is the place for all threaded programs to link against, and the libkse and libpthread stuff is basically obsolete. =20 > I did an lsof for the httpd process (with php4 commented out) and it=20 > shows no sign of any two modules using different threading libraries: So the core dump is only happening when mod_php is enabled? Do you have the command line version of php installed (you get this with lang/php4, but not www/mod_php4), and does the crash still happen with that? If so, try: % /usr/local/bin/php << E_O_F ? ? E_O_F (The ? at the start of those lines is a shell prompt, which might appear as > in some shell. Either way, don't type that character.) That should print out a large amount of information about your PHP setup. Hmmm... Probably the next thing to try is simply rebuilding the mod_php4 port. I'm fairly certain there is some sort of shlib conflict or missing shlib which is making everything fall over. Try only enabling the minimum number of options you can in the PHP config. Cheers, Matthew =20 --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAYue+dtESqEQa7a0RAkEQAKCaWHlylijRFUZgdHzN2LLXGPgzPgCbBrCr J7T+OgvKEMRKGkhitW+8ovk= =Ugu7 -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT--