#31226 [Opn->Bgs]: Segmentation Fault on endless loop creating large amount of objects
| From: | derick@php.net | Date: | Tue, 21 Dec 2004 09:59:34 +0000 |
| Subject: | #31226 [Opn->Bgs]: Segmentation Fault on endless loop creating large amount of objects | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70818@lists.php.net to get a copy of this message | ||
ID: 31226
Updated by: derick@php.net
Reported By: the_deppchef at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: Reproducible crash
Operating System: Linux 2.4.27 (Debian)
PHP Version: 5.0.3
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
PHP doesn't have stack protection. No bug here, this is just how it
works.
Previous Comments:
------------------------------------------------------------------------
[2004-12-21 10:56:03] the_deppchef at hotmail dot com
Description:
------------
When having an endless loop (it's a selfcall of a member function of an
object, but I guess it's a general problem) and creating objects with
that loop, i get a segmentation fault.
Reproduce code:
---------------
http://paste.phpfi.com/42611
Expected result:
----------------
Anything but a segmentation fault
probably "Fatal Error: out of memory"
Actual result:
--------------
[Tue Dec 21 10:37:28 2004] [notice] child pid 4249 exit signal
Segmentation fault (11)
(Output of my reproduce code ends with "Big 3390 :Medium : 1 Medium :
2" = after ~34k created objects)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31226&edit=1