Edit report at https://bugs.php.net/bug.php?id=71608&edit=1
ID: 71608
Comment by: francesco dot bagnoli at gmail dot com
Reported by: francesco dot bagnoli dot 69 at gmail dot com
Summary: crash after a lot of request with zend_mm_heap
corrupted
Status: Open
Type: Bug
Package: Reproducible crash
Operating System: Windows 7
PHP Version: 7.0.3
Block user comment: N
Private report: N
New Comment:
i'have tried to disable apc and opcache but not work...
I'm not able to debug... i'm sorry..
Previous Comments:
------------------------------------------------------------------------
[2016-02-17 07:46:03] francesco dot bagnoli dot 69 at gmail dot com
loaded ext.:
extension=php_curl.dll
extension=php_fileinfo.dll
extension=php_gd2.dll
extension=php_intl.dll
extension=php_mbstring.dll
extension=php_openssl.dll
extension=php_pdo_mysql.dll
extension=php_soap.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
extension=php_apcu.dll
extension=php_apc.dll
------------------------------------------------------------------------
[2016-02-16 14:26:17] ab@php.net
Thanks for the report, could you please gather a backtrace using the instructions here https://bugs.php.net/bugs-generating-backtrace-win32.php
? If there's a particular PHP code causing this issue, please extract a reproducer if possible,
too. Also, do you have some non core extensions loaded?
Thanks.
------------------------------------------------------------------------
[2016-02-16 09:11:52] francesco dot bagnoli dot 69 at gmail dot com
fix summary
------------------------------------------------------------------------
[2016-02-16 08:58:06] francesco dot bagnoli dot 69 at gmail dot com
Description:
------------
I'm testing PHP 7 x64 on my Windows 7 workstation with a basic Apache benchmark
the benchmark terminates after 50/100 requests with this errors
error.log from apache
zend_mm_heap corrupted
php_error.log from php is empty (assume no error here)
and these other settings in php.ini (relevant part only)
realpath_cache_size = 2M
realpath_cache_ttl = 3600
memory_limit=512M
[opcache]
zend_extension="F:\php\php703\ext\php_opcache.dll"
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=16
opcache.max_accelerated_files=6000
opcache.use_cwd=1
opcache.validate_timestamps=1
opcache.save_comments=1
opcache.fast_shutdown=1
The same benchmark runs fine for PHP 5.6.17 x64 with the same settings
Test script:
---------------
Apache benchmark
F:\apache\bin\ab.exe -c 200 -n 2000 localhost/index.php
index.php
<?php
phpinfo();
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71608&edit=1