Bug #78791 [NEW]: zend_mm_heap corrupted on ZTS builds

From: Date: Thu, 07 Nov 2019 10:56:19 +0000
Subject: Bug #78791 [NEW]: zend_mm_heap corrupted on ZTS builds
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223626@lists.php.net to get a copy of this message
From: maroszek at gmx dot net Operating system: Linux PHP version: 7.4.0RC5 Package: Reproducible crash Bug Type: Bug Bug description:zend_mm_heap corrupted on ZTS builds Description: ------------ Hi, there seems to be a regression from PHP 7.3.x to 7.4.x. (Those nasty ZTS bugs that were fixed in PHP 7.2 seem to be back :)) Please use my simple ZTS application: https://gist.github.com/paresy/3cbd4c6a469511ac7479aa0e7c42fea7 Compile: g++ php.cpp -Imain -ITSRM -IZend -I. --std=c++11 -Llibs -lphp7 -lresolv -ldl -pthread I used a minimal PHP build: ./configure '--disable-fpm' '--disable-cgi' '--disable-cli' '--enable-embed=static' '--enable-maintainer-zts' '--disable-all' Test script: --------------- <?php //Leave it empty. Expected result: ---------------- FINISHED (multiple times) Actual result: -------------- ��������������������������������zend_mm_heap corrupted -- Edit bug report at https://bugs.php.net/bug.php?id=78791&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78791&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78791&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78791&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78791&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78791&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78791&r=support Expected behavior: https://bugs.php.net/fix.php?id=78791&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78791&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78791&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78791&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78791&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78791&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78791&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78791&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78791&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78791&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78791&r=mysqlcfg

« previous php.bugs (#223626) next »