ID:               33339
 User updated by:  webmaster at gleitgeb dot at
 Reported By:      webmaster at gleitgeb dot at
 Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: Windows 2000 SP4
 PHP Version:      5.0.4
 New Comment:

Any ideas to solve this problem or a workaround?


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

[2005-06-15 13:32:31] webmaster at gleitgeb dot at

Yes sure I know 
... but it isn't a good solution to let Apache crash to end a endless
loop isn't it?

There must be a better solution to prevent such problems .. like
Stack-overflow or something like that.
Or if the maximum-execution time is reached the loop ends ..

I cannot check every users scripts if they have endless loops in it.

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

[2005-06-15 09:47:26] [EMAIL PROTECTED]

That's because with typo you end up with endless loop.
The very same result you'll get with this code: <?php function f() {
$x=1; f(); } f(); ?>

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

[2005-06-14 19:22:38] webmaster at gleitgeb dot at

Replacing $GLOBAL with $GLOBALS doesn't end with a crash of Apache2!!!

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

[2005-06-14 19:20:29] webmaster at gleitgeb dot at

That doesn't help ... I already tried the latest snapshot yesterday.

And I only copied the source from a script of one member of my
webserver.
I didn't change anything.

I tried again now.
Now I get following Errorlogentry:
[Tue Jun 14 19:18:48 2005] [notice] Parent: child process exited with
status 1073807364 -- Restarting.

But it's still crashing.

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

[2005-06-14 15:29:41] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

I can not reproduce (and your script has a typo: $GLOBAL should be
$GLOBALS ?)

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

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/33339

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

Reply via email to