From: admin at walkingmantis dot com Operating system: windows server 2003 PHP version: 5.1.6 PHP Bug Type: Apache2 related Bug description: PHP crashing causing apache to die with 3221225477
Description: ------------ This issue seems to have some history at bug 26286 but that bug no longer exists so I cannot tell if a resolution was found for it. The reproduction code does not seem to be the only way this crash is caused, but it is the only one I can find that will consistently reproduce the problem. So if this is a duplicate of 26286, at least what was the resolution? Reproduce code: --------------- <?php $value = ""; for( $a=0; $a < 1561; $a++ ) { $value .= "t"; } $res = preg_match( '/(?:(?:(?:(?<!\\\\)(?:[\\\\](?:[\\\\]{2})*))+[\$])|[^\$])*/', $value ); ?> from bug 37397 Expected result: ---------------- apache not to crash php error thrown Actual result: -------------- apache crashes: [Wed Oct 04 15:41:14 2006] [notice] Parent: child process exited with status 3221225477 -- Restarting. -- Edit bug report at http://bugs.php.net/?id=39040&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39040&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39040&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39040&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39040&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39040&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39040&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39040&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39040&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39040&r=support Expected behavior: http://bugs.php.net/fix.php?id=39040&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39040&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39040&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39040&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39040&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39040&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39040&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39040&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39040&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39040&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39040&r=mysqlcfg