Re: Updated php, and apache segfaults on SIGHUP



On Mon, May 19, 2008 at 4:18 PM, Andrew Moran <amoran@xxxxxxxxxxxxx> wrote:

Hey guys,

I recently upgraded my php5 ports to latest ports tree versions (5.2.6), and
now I'm in a situation where any HUP signal sent to apache is causing the
entire process to dump core. I get this in the apache error log:

[Mon May 19 16:08:48 2008] [notice] SIGHUP received. Attempting to restart
[Mon May 19 16:08:48 2008] [notice] seg fault or similar nasty error
detected in the parent process

and this in the messages log:

May 19 16:14:45 celebrian kernel: pid 36900 (httpd), uid 0: exited on signal
11 (core dumped)


I narrowed it down to php - when I disable the php5 module, it doesn't
behave like this.

celebrian# pkg_info | grep php
php5-5.2.6 PHP Scripting Language
php5-gd-5.2.6 The gd shared extension for php
php5-gettext-5.2.6 The gettext shared extension for php
php5-iconv-5.2.6 The iconv shared extension for php
php5-mbstring-5.2.6 The mbstring shared extension for php
php5-mhash-5.2.6 The mhash shared extension for php
php5-mysql-5.2.6 The mysql shared extension for php
php5-openssl-5.2.6 The openssl shared extension for php
php5-pcre-5.2.6 The pcre shared extension for php
php5-session-5.2.6 The session shared extension for php
php5-xml-5.2.6 The xml shared extension for php
celebrian#

This is on apache-2.0.63 and php 5.2.6 on FreeBSD 7.0.

In case it was an out of date dependency, I did a cvsup on the ports tree,
then a portupgrade -fa . it rebuilt all ports without any errors.


Has anyone else seen this?

--Andy
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"


there was a thread on a while back on one of the other lists, maybe -questions.
the offending extension is one of these three:
#extension=mcrypt.so
#extension=mbstring.so
#extension=mhash.so
I have the three of them commented out, so I am not sure which one was
the poblem.

--
The Mafia way is that we pursue larger goals under the guise of
personal relationships.
Fisheye
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Upgrading 5.3 > 6.0 buildworld failure in libkrb5
    ... gnomelibs-1.4.2_3 Libraries for GNOME, a GNU desktop environment ... kdeaccessibility-3.4.3 Accessibility applications for KDE ... libmcrypt-2.5.7_1 Multi-cipher cryptographic library (used in PHP) ... php4-bcmath-4.4.1_3 The bcmath shared extension for php ...
    (freebsd-stable)
  • Re: error: syntax error before "_X_SENTINEL"
    ... freefont-ttf-20060126 Free UCS Outline Fonts ... libmcrypt-2.5.7_2 Multi-cipher cryptographic library (used in PHP) ... php4-bcmath-4.4.2_2 The bcmath shared extension for php ... pkg-config-0.20_2 A utility to retrieve information about installed libraries ...
    (freebsd-stable)
  • FreeBSD 6-STABLE: Apache 2.2 and php 4.4 segmentation fault
    ... I am a long time FreeBSD user of FreeBSD 4.x and Apache 1.3.x. ... So far, my experience with FreeBSD 6 has been great, but I appear to have bumped into a problem with running Apache 2 and php4 together. ... However, whenever I try to load a page that needs to go through the PHP interpreter, I get a segmentation fault: ... php4-bz2-4.4.2_1 The bz2 shared extension for php ...
    (freebsd-questions)
  • apache coredump with mhash php extension enabled
    ... Apache is dumping core if I have the following enabled in php/mod_php: ... still this php extension causes apache to ... php5-gettext-5.2.5 The gettext shared extension for php ... I've got the mhash running on another box, but that was done awhile ago ...
    (freebsd-questions)
  • RE: apache13_modssl + mod_php4 + php4-extenstions +mysql323-*+myphpadmin = ...
    ... XFree86-libraries-4.4.0_3 XFree86-4 libraries and headers ... libmcrypt-2.5.7_1 Multi-cipher cryptographic library (used in PHP) ... pear-Archive_Tar-1.2 PEAR tar file management class ... php4-domxml-4.3.10_2 The domxml shared extension for php ...
    (freebsd-questions)