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): php-4.1.2-2.1.8 How reproducible: Always 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.
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 signals.
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.
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: http://www.redhat.com/security/updates/errata/ 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.