Sometimes drupal returns a blank page. In the error log we can see:

[20787] EACCELERATOR: PHP crashed on opline 82 of usort()
at /home/solares/public_html/modules/menu/menu.module:766

It happens with a custom module that uses the node module to add content
node/add/terrain/request
node/add/terrain/offer
node/add/terrain/contact

(the callback with the path "node/add/terrain" in the hook_menu returns a form)

I'm also using i18n module.

There are a similar issue in http://drupal.org/node/61094

Comments

Shiny’s picture

you can whitelist these paths in you eaccelerator config (php.ini)
if you can narrow down the cause, i suggest filing a bug report with the eacclerator project
you don't mention which version of eAcc you're using - check you've got the latest compiled against your version of php + apache/lighttpd/whatever.

beholder’s picture

I have very similar situation, but with file.inc file. eAccelerator has troubles with function file_scan_directory. Site shows blank page with errors in errorlog:

[84039] EACCELERATOR: PHP crashed on opline 132 of file_scan_directory() at /home/www/htdocs/modules/system/system.module:963
[Mon Feb 18 13:06:22 2008] [notice] child pid 84039 exit signal Segmentation fault (11)

I had to hack Drupal core and modify file.inc code to make parameter of the file_scan_directory() function $recurse = FALSE by default, because this function used by several modules (image.inc, nodewords etc). I don't know who has responsibility for this - maybe eAccelerator developers...

dpearcefl’s picture

Status: Active » Closed (won't fix)

Considering the time elapsed between now and the last comment plus the fact that D5 is no longer supported, I am closing this ticket.