Re: Opcache crashes. Was: [PHP-WIN] 64 bit platform improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jan,

Thank you for report and tracking it down to particular commit.
Unfortunately, I can't imagine what is wrong just analyzing the code.
I suspect, that something must be wrong with optimization of some
particular instruction.
Anyway, I need to reproduce the problem

Does PHP crashes on a first request to homepage of fresh Drupal 7
installation?
If it depends on your data, I can't reproduce it.

I know, debugging on Windows is a pain :(
I would very appreciate, if you provide more or less compact reproducable
case.

Thanks. Dmitry.


On Mon, Dec 30, 2013 at 5:22 AM, Jan Ehrhardt <phpdev@xxxxxxxxxxx> wrote:

> Jan Ehrhardt in php.windows (Mon, 30 Dec 2013 00:17:22 +0100):
> >If I load php-cgi directly (without mod_fcgid), the Apache logs show
> >this:
> >
> >[Mon Dec 30 00:11:16.669862 2013] [cgi:error] [pid 47304:tid 2264]
> >       [client 2a02:348:4f:66e2::1:7:62191] End of script output before
> >       headers: php-cgi.exe
> >[Mon Dec 30 00:11:16.669862 2013] [cgi:error] [pid 47304:tid 2264]
> >       [client 2a02:348:4f:66e2::1:7:62191] AH01215: zend_mm_heap
> >       corrupted
>
> I bisected to find the commit that caused the crash. It is this one:
>
> https://github.com/zendtech/ZendOptimizerPlus/commit/b73b6a5559d6ca4925a09ed284a4e93be06726ed
>
> For Dmitry: the crash happens when I try to access a Drupal7 website,
> not just when running aan phpinfo script. Maybe it is the same crash I
> was experiencing with the experimental 64 bit platform build, but I did
> not check that yet.
>
> php_opcache.dll for PHP 5.3 from the current git head runs flawlessly,
> so there is a difference between the 5.3 and 5.5 php_opcache.dll's.
>
> Jan
>

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux