From owner-freebsd-questions@FreeBSD.ORG Tue May 26 06:29:41 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24B14412 for ; Tue, 26 May 2015 06:29:41 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C0713CF5 for ; Tue, 26 May 2015 06:29:40 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local ([192.168.100.2]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t4Q6TNjk058644 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 26 May 2015 07:29:24 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t4Q6TNjk058644 Authentication-Results: smtp.infracaninophile.co.uk/t4Q6TNjk058644; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [192.168.100.2] claimed to be liminal.local Message-ID: <556412B9.7000508@FreeBSD.org> Date: Tue, 26 May 2015 07:29:13 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: What's the gotcha with latest lang/php55? References: <20150525180825.Horde.iLgBeoFSnW0rHEfqq6T9Wky@mail.parts-unknown.org> In-Reply-To: <20150525180825.Horde.iLgBeoFSnW0rHEfqq6T9Wky@mail.parts-unknown.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tIEPVvloFgeHQKPjL6R467aHbpQim442W" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 06:29:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tIEPVvloFgeHQKPjL6R467aHbpQim442W Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 26/05/2015 02:08, David Benfell wrote: > My websites are down. It has taken me forever to figure out that php is= > seg-faulting because I never know where to find the core dumps. I tried= > accessing the dump with gdb but it just hangs after telling me that it > seg-faulted. >=20 > Is anyone else running into this? Have you gotten through it? What do I= > need to fix and how? There are two reasons why php may continually segfault: * Load order of extensions in /usr/local/etc/php/extensions.ini * Having a mixture of PHP modules with and without Zend thread safety enabled. In the first case -- which I can't recall seeing any reports of in the last few years, so it might actually have been fixed somehow -- it's a matter of taking out some modules from extensions.ini until you can isolate the one that triggers the crash, and then re-inserting it sufficiently early in the order. In the second case, you need consistent ZTS settings in all your PHP packages, including the base language and such things as www/mod_php55. Check the contents of /usr/local/lib/php. There will be a directory for loadable modules called eg. either '20121212' or '20121212-zts.' You certainly shouldn't have both. To cure this problem, you will need to reinstall as many of the php packages as necessary to ensure consistent settings: it may be easier just to reinstall everything PHP related. Cheers, Matthew --tIEPVvloFgeHQKPjL6R467aHbpQim442W Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJVZBLCXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATCNcP/jG4nyp3pe7etmCuYKaffikY V+1n3PN35mDvH0ypBZySRjGE/rA3NQszYcvcvZFTPlOJN5CXY1PduT6+ktDc31DS ak8/MXhC38bicVVMZocF3hCJ42FJ/SlZT/Yo9OmPePshAQ41yr84l8SyC1C4pRkI 6SE8vrmCom93mIiaePag/j8cAdR0eRXkez3Qvey1YtgdrDWNiU8HFxisQOdCruY9 hbM0BMIdV7r65SPcaj+i/Sg7neHdA8IN5XiJrbXDq+awisuI3hljLxMJJrvQNKT5 JD6iXLvEEq17ViH5iMFiq3cEcRhiDB82g7n0Dyc/mf6WT7G4YWcUCABC8cq1seUJ 7DUXdGF9c8v/qkMAxJBnLWgUUA4b2f7+Hb4xWJbQvShK84/ONHO+GrptiWHBYIgy 2dFXi8SZqTGfEyIiLWBINApRGcGkpUzSdeMSFdgKs6cK9TexLy8ImBuLBpj8EmSJ 58cbi5uANtvTHd1zEhwEMVN1hGG+cewtJ0DeqtOYCGm9efQRf3E7xfY+WMw5ADYb CYTNMsjzKn3S4tDatnmKWOeoTpAAtjfeF1M9UzhqpVN8jNUqHsXZGqhFyHvkvItG q7042WbdsLjBidnXB60Iljp25hU7Kn4tcFCU3s2pKNyJLcfY+UH+J0i2sfaIf/O/ RMo/8lV03PcAjLT9sNw/ =0oo+ -----END PGP SIGNATURE----- --tIEPVvloFgeHQKPjL6R467aHbpQim442W--