Bug #71608 [NEW]: Windows PHP 7.0.3 x64 (Apache handle) crash after a lot of request with zend_mm
From: francesco dot bagnoli dot 69 at gmail dot com
Operating system: Windows 7
PHP version: 7.0.3
Package: Reproducible crash
Bug Type: Bug
Bug description:Windows PHP 7.0.3 x64 (Apache handle) crash after a lot of request with zend_mm
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 bug report at https://bugs.php.net/bug.php?id=71608&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71608&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71608&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71608&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71608&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71608&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71608&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71608&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71608&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71608&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71608&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71608&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71608&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71608&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71608&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71608&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71608&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71608&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71608&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71608&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71608&r=mysqlcfg
Thread (12 messages)
- francesco dot bagnoli dot 69 at gmail dot com
- francesco dot bagnoli dot 69 at gmail dot comBug #71608 [Opn]: crash after a lot of request with zend_mm_heap corrupted
- ab@php.netBug #71608 [Opn->Fbk]: crash after a lot of request with zend_mm_heap corrupted
- francesco dot bagnoli dot 69 at gmail dot comBug #71608 [Fbk->Opn]: crash after a lot of request with zend_mm_heap corrupted
- francesco dot bagnoli at gmail dot comBug #71608 [Com]: crash after a lot of request with zend_mm_heap corrupted
- francesco dot bagnoli at gmail dot comBug #71608 [Com]: crash after a lot of request with zend_mm_heap corrupted
- nigro dot simone at gmail dot comBug #71608 [Com]: crash after a lot of request with zend_mm_heap corrupted
- nigro dot simone at gmail dot comBug #71608 [Com]: crash after a lot of request with zend_mm_heap corrupted
- ab@php.netBug #71608 [Opn->Fbk]: crash after a lot of request with zend_mm_heap corrupted
- nigro dot simone at gmail dot comBug #71608 [Com]: crash after a lot of request with zend_mm_heap corrupted
- php-bugs at lists dot php dot netBug #71608 [Fbk->NoF]: crash after a lot of request with zend_mm_heap corrupted
- info at thalent dot nlBug #71608 [Com]: crash after a lot of request with zend_mm_heap corrupted