Ticket #147 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Segfault on restore from disk

Reported by: bart Assigned to: bart
Priority: blocker Milestone: 0.9.5
Component: Control panel Version: 0.9.5
Keywords: Cc:

Description

When a script is restored from disk, eAccelerator segfaults. The environment is php 5.0.5 with hardened php patch. A file with:

<?php
function test(){}
?>

is enough to reproduce this problem. It occurs with r240

Change History

07/25/06 10:41:54 changed by bart

This problem also occurs with eAccelerator 0.9.5

07/25/06 10:42:08 changed by bart

beta2 that is

07/25/06 13:01:42 changed by bart

This also happens with a clean php 5.0.5

07/25/06 14:32:12 changed by bart

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

The problem is that the opcode handlers aren't restored properly. This is fixed in rev [241]. We don't use an ugly hack anymore but do it the way PHP does when they compile a script.