Bug #71608 [Com]: crash after a lot of request with zend_mm_heap corrupted

From: Date: Wed, 17 Feb 2016 07:58:25 +0000
Subject: Bug #71608 [Com]: 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-199289@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
 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:

form windows event viewer log (my SO is italian)


Nome dell'applicazione che ha generato l'errore: httpd.exe, versione: 2.4.18.0, timestamp:
0x5667fd57
Nome del modulo che ha generato l'errore: ntdll.dll, versione: 6.1.7601.19018, timestamp:
0x560a0083
Codice eccezione: 0xc0000374
Offset errore 0x00000000000bffc2
ID processo che ha generato l'errore: 0x1db4
Ora di avvio dell'applicazione che ha generato l'errore: 0x01d16957bd43bbb5
Percorso dell'applicazione che ha generato l'errore:
F:\servizi\apache\Apache2418\bin\httpd.exe
Percorso del modulo che ha generato l'errore: C:\Windows\SYSTEM32\ntdll.dll
ID segnalazione: c15a5ec5-d54b-11e5-9ec7-bc305bde2d3c


Previous Comments:
------------------------------------------------------------------------
[2016-02-17 07:51:15] francesco dot bagnoli at gmail dot com

i'have tried to disable apc and opcache but not work...

I'm not able to debug... i'm sorry..

------------------------------------------------------------------------
[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


Thread (12 messages)

« previous php.bugs (#199289) next »