Ticket #130 (assigned defect)

Opened 2 years ago

Last modified 2 years ago

Crash on ob_flush(), ob_end_flush()

Reported by: dasilt@yahoo.com Assigned to: bart (accepted)
Priority: major Milestone: 0.9.6
Component: eAccelerator Version: 0.9.4
Keywords: ob_flush crash php apache winxp Cc:

Description

It seems that eAccelerator causes php/apache to crash silently. I tracket down the problem and noticed that this is happening almost at the end of the script where ob_end_flush() or ob_flush() is called. It ish happening when two or more simultaneus requests come to the same script(session?) This is 100% reproducible by hitting refresh button twice or reloding quickly the same page in two different browser windows.

Workaround - do not use ob_end_flush() and ob_flush() - let the PHP flush output buffers on shutdown... or turn off eAccelerattor.

I'm using WinXP. Apache-1.3.34(1.3.33) PHP-4.4.2(4.4.1) Using eAccelerator v0.9.4 binary dll's from http://www.sitebuddy.com/PHP/Accelerators/eAccelerator_windows_binaries_builds

I even tried using *_with_disassembler buids - it didn't helped because apache error log didn't showed any problem - eAccelerator simply hit all required files and thats all.

Change History

07/19/06 09:26:15 changed by bart

  • owner changed from somebody to bart.
  • status changed from new to assigned.

I can't reproduce this with the development version and the latest stable php (5.1.4). I'll see if I can do some more tests on other platforms.

07/19/06 10:54:38 changed by dasilt@yahoo.com

If I can get newest prebuilt *.dll, I will check with the newest version. 4.4.2 is also latest stable from 4.x branch :)

07/23/06 11:55:57 changed by bart

  • milestone set to 0.9.5.

08/03/06 12:52:18 changed by bart

  • milestone changed from 0.9.5 to 0.9.6.

No news, so this won't be for the 0.9.5 milestone, I'm moving this one to the next release.

11/08/06 13:45:20 changed by bart

Does this problem still exist? These functions are used quite a lot and no other reports came in.