php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39040 PHP crashing causing apache to die with 3221225477
Submitted: 2006-10-04 21:14 UTC Modified: 2006-10-12 01:00 UTC
Votes:4
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: admin at walkingmantis dot com Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 5.1.6 OS: windows server 2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: admin at walkingmantis dot com
New email:
PHP Version: OS:

 

 [2006-10-04 21:14 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-04 21:27 UTC] tony2001@php.net
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


 [2006-10-12 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 10:01:30 2025 UTC