Opened 7 years ago

Closed 7 years ago

#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:
Application: PHP Version: 5.1.6
Other Exts: SAPI: apache2handler
Probability: Blocked By:
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 (3)

comment:1 follow-up: Changed 7 years ago by moo

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

comment:2 in reply to: ↑ 1 Changed 7 years ago by XenoPhage

  • pending changed from 1 to 0

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.

comment:3 Changed 7 years ago by moo

  • Resolution set to fixed
  • Status changed from new to closed

ok, closing. let's reopen that bug instead

Note: See TracTickets for help on using tickets.