#31828 [NEW]: Parent: child process exited with status 3221225477 -- Restarting.

From: Date: Thu, 03 Feb 2005 12:25:41 +0000
Subject: #31828 [NEW]: Parent: child process exited with status 3221225477 -- Restarting.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73375@lists.php.net to get a copy of this message
From:             jon dot williams at namtec dot co dot uk
Operating system: Windows 2000 Server
PHP version:      5.0.3
PHP Bug Type:     Reproducible crash
Bug description:  Parent: child process exited with status 3221225477 -- Restarting.

Description:
------------
Operating System: Windows 2000 Server
PHP Version: 5.0.3 and binary snapshot 200502030930
Apache versions: 2.0.52 and 1.3.31

I am using running the open source CMS system Mambo with the com_events
component.  In some circumstances the code in this component would crash
my installation.

After some tracing I narrowed the crash down to a small piece of code
whereby the first element in a singleton array is re-assigned to a
variable name the same as the originating array(See code example).  

By reassigning the array element to a new different variable name this
crash can be avoided.


Reproduce code:
---------------
<?php
$o->id = 77;
$o->name = "Aerospace";
$a[] = $o;
$a = $a[0];
print_r($a);
?>

Expected result:
----------------
stdClass Object ( [id] => 77 [name] => Aerospace ) 

Actual result:
--------------
404 page not found error and Apache logs show a crash where Apache is
forced to restart.

In Apache 2
child process exited with status 3221225477 -- Restarting.

-- 
Edit bug report at http://bugs.php.net/?id=31828&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31828&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31828&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31828&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31828&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31828&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31828&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31828&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31828&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31828&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31828&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=31828&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=31828&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31828&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31828&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31828&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31828&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31828&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31828&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31828&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31828&r=mysqlcfg


Thread (6 messages)

« previous php.bugs (#73375) next »