#39040 [Opn->Fbk]: PHP crashing causing apache to die with 3221225477
| From: | tony2001@php.net | Date: | Wed, 04 Oct 2006 21:27:45 +0000 |
| Subject: | #39040 [Opn->Fbk]: PHP crashing causing apache to die with 3221225477 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103098@lists.php.net to get a copy of this message | ||
ID: 39040
Updated by: tony2001@php.net
Reported By: admin at walkingmantis dot com
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: windows server 2003
PHP Version: 5.1.6
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-10-04 21:14:51] admin at walkingmantis dot com
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 this bug report at http://bugs.php.net/?id=39040&edit=1