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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 09:01:34 2024 UTC