ID:               25713
 Updated by:       [EMAIL PROTECTED]
 Reported By:      kevin at netflex dot nl
-Status:           Open
+Status:           Wont fix
 Bug Type:         Reproducible crash
 Operating System: Windows/Netware and maybe more
 PHP Version:      4.3.3
 New Comment:

We know this, now leave this closed.




Previous Comments:
------------------------------------------------------------------------

[2003-10-01 16:54:09] kevin at netflex dot nl

script to crash the server:

crash();

function crash() {
  crash();
}


tested with:
* PHP 5.0.0b2-dev (snapshot: php5-win32-200309251030.zip) on Windows
(Apache2 2.0.47 and Windows 2003)
* PHP 4.3.3 on Windows (Apache2 2.0.47 and Windows 2003)
* PHP 4.2.3 on Netware (Apache2 2.0.47 and Netware 6.5)

------------------------------------------------------------------------

[2003-10-01 13:34:40] [EMAIL PROTECTED]

Anyway, that's expected behaviour as stated in other bug reports.

------------------------------------------------------------------------

[2003-10-01 13:23:07] [EMAIL PROTECTED]

You should first try hard to crash it with that tiny script.
If it really was to go wrong, then reopen this bug to let us know what
did actually happen on your server :)


------------------------------------------------------------------------

[2003-10-01 11:49:00] kevin at netflex dot nl

i know, (mistake from me ;-).

But now the problem is that i can crash the server if i want by making
an endless loop (with calls).

------------------------------------------------------------------------

[2003-10-01 11:36:57] [EMAIL PROTECTED]

function crash(&$test) {
        if ($test < 10)
                crash($test);
        $test++;
}

There's no chance $test is incremented. So no matter how the variable
is passed to the function, it will definitely go into an infinite loop
and end up eating up all the stack area which really causes
segmentation fault.



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/25713

-- 
Edit this bug report at http://bugs.php.net/?id=25713&edit=1

Reply via email to