Ticket #106 (closed defect: fixed)
Apache segfaults on HUP when xcache enabled
| Reported by: | XenoPhage | Owned by: | moo |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.1 |
| Component: | cacher | Version: | 1.2-dev |
| Keywords: | Cc: | ||
| Blocked By: | PHP Version: | 5.1.6 | |
| Application: | Need User Feedback: | no | |
| Other Exts: | SAPI: | apache2handler | |
| Probability: | Blocking: |
Description
Apache is segfaulting when a -HUP is sent via kill. This happens each night when logrotate is run. The only error in the error log is as follows :
[Mon Jun 25 12:20:11 2007] [notice] seg fault or similar nasty error detected in the parent process
I can reproduce this seemingly at will while xcache is enabled. Disabling xcache resolves the problem.
I tried running httpd by hand with -X for debugging, the HUP causes a direct segfault. Any tips on debugging this?
System specs are as follows :
CentOS 5.0 (all current patches installed)
Apache 2.2.3 (httpd-2.2.3-6.el5.centos.1)
PHP 5.1.6 (php-5.1.6-12.el5)
XCache 1.2.1-rc1 (original RPM package from Jason Litka, update added by me)
Suhosin 0.9.20

