From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 01:39:10 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 33854F9D for ; Mon, 23 Feb 2015 01:39:10 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.52.97]) by mx1.freebsd.org (Postfix) with ESMTP id E6FDE3B4 for ; Mon, 23 Feb 2015 01:39:09 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 70383CB8CA0; Sun, 22 Feb 2015 19:39:08 -0600 (CST) Received: from 76.193.19.10 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Sun, 22 Feb 2015 19:39:08 -0600 (CST) Message-ID: <12918.76.193.19.10.1424655548.squirrel@cosmo.uchicago.edu> In-Reply-To: <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> <20150223010501.GA48633@home.parts-unknown.org> Date: Sun, 22 Feb 2015 19:39:08 -0600 (CST) Subject: Re: RESOLVED, SORT OF: Re: why would I get a segmentation fault on one system but not the other? From: "Valeri Galtsev" To: "David Benfell" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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:39:10 -0000 On Sun, February 22, 2015 7:05 pm, David Benfell wrote: > On Sun, Feb 22, 2015 at 04:00:50PM -0600, Valeri Galtsev wrote: >> >> 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. > Great, I'm glad you are in business. If I were through that I would file bug report, but one needs to read the rules of filing bug reports carefully first. As you don't want to give programmers bogus something that is not related to their software. First: one has to find simple way to reproduce the problem. It shouldn't be unique to that particular box. As if, say, some crippled external for that software library is what is to blame on faulty box, then it is not bug in this software. Anyway, I would read the whole good memo on how to file bug report. Then, it will require to do all on your side to make sure it is not bogus. But if indeed it is due to some bug, you will be doing great service to others (code maintainers will also be grateful!) Thanks. Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++