RESOLVED, SORT OF: Re: why would I get a segmentation fault on one system but not the other?
Valeri Galtsev
galtsev at kicp.uchicago.edu
Mon Feb 23 01:39:10 UTC 2015
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
++++++++++++++++++++++++++++++++++++++++
More information about the freebsd-questions
mailing list