Bug 132488 - PHP causes Apache to crash on subsequent HUP & USR1 signals
Summary: PHP causes Apache to crash on subsequent HUP & USR1 signals
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: php (Show other bugs)
(Show other bugs)
Version: 2.1
Hardware: i686 Linux
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2004-09-13 23:38 UTC by Oliver Jones
Modified: 2007-11-30 22:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-10-19 19:21:31 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
strace log of running process as it receives HUP signals. (307.37 KB, text/plain)
2004-09-13 23:44 UTC, Oliver Jones
no flags Details

Description Oliver Jones 2004-09-13 23:38:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Gecko/20040808 Firefox/0.9.3

Description of problem:
With PHP installed Apache crashes when given HUP or USR1 signals.  It
usually doesn't crash on the 1st signal given but on the 2nd or 3rd.  

So every few days the httpd process dies due to receving a HUP signal
from logrotate.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. up2date php
2. service httpd restart
3. kill -HUP `cat /var/run/httpd.pid`
4. sleep 2
5. kill -HUP `cat /var/run/httpd.pid`
4. sleep 2
5. kill -HUP `cat /var/run/httpd.pid`


Actual Results:  httpd dies with a SEGV.

Expected Results:  That the process continues to run without fault.

Additional info:

I notice some other bugs have been posted in relation to PHP and
Apache crashing on similar problems.  Eg, bug #104419, bug #129567. 
These bugs may all be related in some way.

Comment 1 Oliver Jones 2004-09-13 23:44:08 UTC
Created attachment 103808 [details]
strace log of running process as it receives HUP signals.

This is a strace log of the parent httpd process as it receives multiple HUP

Comment 2 Joe Orton 2004-09-14 08:24:49 UTC
Thanks for the report.  Can you also try and get a core dump and a
backtrace?  (add "CoreDumpDirectory /tmp" to httpd.conf, and start the
server with "ulimit -c unlimited; apachectl start")

mod_perl was implicated by the backtrace from #129567.

Comment 3 RHEL Product and Program Management 2007-10-19 19:21:31 UTC
This bug is filed against RHEL2.1, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products.  Since
this bug does not meet that criteria, it is now being closed.

For more information of the RHEL errata support policy, please visit:

If you feel this bug is indeed mission critical, please contact your
support representative.  You may be asked to provide detailed
information on how this bug is affecting you.

Note You need to log in before you can comment on or make changes to this bug.