Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2008 14:05:31 GMT
From:      Andy Hilker <ah@crypta.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/120409: ( 7.0-RC1) segfault on HUP with apache20 + some php5 extensions 
Message-ID:  <200802081405.m18E5VMi018915@www.freebsd.org>
Resent-Message-ID: <200802081410.m18EA1go086007@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         120409
>Category:       ports
>Synopsis:       ( 7.0-RC1) segfault on HUP with apache20 + some php5 extensions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 08 14:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Andy Hilker
>Release:        7.0-RC1
>Organization:
>Environment:
7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 10:10:07 UTC 2007     root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Consider the following setup:
- 7.0-RC1
- apache-2.0.63
- php5-5.2.5_1 with extensions: openssl or ftp or mhash

Then hupping the apache will not longer work:
kill -1 `cat /var/run/httpd.pid`

-- httpd-error.log --
[notice] SIGHUP received.  Attempting to restart
[notice] seg fault or similar nasty error detected in the parent process
-- httpd-error.log --


More information:
- On 6.2 machines, i can not repeat this error.

- Not having any of those 3 modules (openssl, ftp, mhash) will avoid the problem (other php5 modules i am using work fine)

>How-To-Repeat:
It is enough if you have 
- 7.0-RC1 (amd64)
- apache-2.0.63
- php5-5.2.5_1 with at least on of (openssl, ftp, mhash) extension

kill -1 `cat /var/run/httpd.pid`
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802081405.m18E5VMi018915>