From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 01:05:02 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 EF3F1F8 for ; Mon, 23 Feb 2015 01:05:02 +0000 (UTC) Received: from mail.parts-unknown.org (mail.parts-unknown.org [IPv6:2001:470:67:119::4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C496DFE6 for ; Mon, 23 Feb 2015 01:05:02 +0000 (UTC) Received: by mail.parts-unknown.org (Postfix, from userid 1001) id 837BF5B3BD23; Sun, 22 Feb 2015 17:05:01 -0800 (PST) Date: Sun, 22 Feb 2015 17:05:01 -0800 From: David Benfell To: Valeri Galtsev Subject: RESOLVED, SORT OF: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150223010501.GA48633@home.parts-unknown.org> References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11645.76.193.19.10.1424642451.squirrel@cosmo.uchicago.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <11645.76.193.19.10.1424642451.squirrel@cosmo.uchicago.edu> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: cpet , Polytropon , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 01:05:03 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 22, 2015 at 04:00:50PM -0600, Valeri Galtsev wrote: >=20 > One more thing. If you can not run it under debugger for whatever reason, > you can take a look which libraries the main binary, and php module (and > other things that are used by crashing apache) are linked to (ldd is your > friend ;-). As it happens, I *was* able to run it under debugger. And traced it to mail/cclient . It's an odd and unhappy result. I have the exact same version running on the older machine. But cclient is fairly obviously a dependency of php55-imap and removing that extension indeed enables php-fpm to start. Before removing the extension, I tried portmaster -Rft on cclient; it completed successfully, but running php-fpm still yielded the segfault. That this appears on one machine and not the other suggests unreproducibility; should I file a bug report? php-imap isn't something I personally use. I think some of my web applications are able to use it. --=20 David Benfell See https://parts-unknown.org/node/2 if you don't understand the attachment. --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU6ny9AAoJEBV64x4SNmArvFYP/imcXbmF3s7THSzNpkD4xMyK WW1FG3VB23CalW9GwgbVpT8wXzRnAEeYupWBF5aYEmCi/FH3sRorzPIoXfPxQ1Kt 29kTYGQ/A6nATCPGP2vrMx5z/943EBIX43diGIhSHBDxKgnsLVPPVHQ7Qhtt1uo0 OAhiR7pu2Z0ZkrP6Jl9dNRpNwa6JnzKhb5rzuG0dK/HsBCvrvP1ll5Zm0wm3U5CW ohTp4O3wL7Vh8kLrcWUu6tDN8qnMQAoz7LGHkTt8bl3TItMKOCRnIPOfGvnWHt98 wV7eg6dfS1TPNy9D/1OnI4/rBhieEHE6C9T2YOr3NjLfhT9N3QCAcljo92SRgSzx Q1YTE/Y81n+2iU9qPs3tuFQJ13FY3k/qR1SCSJS6NlfoMbt0y7EQIBlR4ercXnPa aQcFwzF/AraiIXgsHIakcs6/fEF9GPiNiWiIGapMr5ltN0BpRfrSvVm5P7Fki2ow hhmqWDqcnntk80r8tgMef/L4rj0LQfSpOhW3GNRX5KN/Xj/pjyGLqed3lCevqGss OZYQKvYWJErlQljZjRbkh4pmkCuTGKF4H6PFJ750wXf1blo2/8DGlq/asQbCeDt5 dgUJ3jseNr6gNO0gRi2XJrLPC1vEhqRuos+siyA76SBBVcBUNyaMxnUVfMgqRF/M 4+V9iWY6qJ8t60X95Tk1 =BmXR -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--