Bug #71608 [Fbk->Opn]: crash after a lot of request with zend_mm_heap corrupted

From: Date: Wed, 17 Feb 2016 07:46:04 +0000
Subject: Bug #71608 [Fbk->Opn]: crash after a lot of request with zend_mm_heap corrupted
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199287@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71608&edit=1

 ID:                 71608
 User updated by:    francesco dot bagnoli dot 69 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:             Feedback
+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:

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


Previous Comments:
------------------------------------------------------------------------
[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


Thread (12 messages)

« previous php.bugs (#199287) next »