Ticket #106 (closed defect: fixed)

Opened 16 months ago

Last modified 16 months ago

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

Change History

follow-up: ↓ 2   Changed 16 months ago by moo

can u reproduce with 1-2.dev-r4310 snapshost?

in reply to: ↑ 1   Changed 16 months ago by XenoPhage

  • pending unset

Replying to moo:

can u reproduce with 1-2.dev-r4310 snapshost?

Nope, with that snapshot, I don't get any segfaults. I'll let this run for a while and continue monitoring.

Incidentally, squirrelmail has stopped working with this snapshot. I can no longer view messages. Exactly the same problem I had previously... Running the example code provided by the PHP bug tracker results in this :

one
one
one

Again, matching what was happening previously. I did not have this problem with the 1.2.1 RC1 release.

  Changed 16 months ago by moo

  • status changed from new to closed
  • resolution set to fixed

ok, closing. let's reopen that bug instead

Note: See TracTickets for help on using tickets.