#26305 [Opn->Bgs]: Segmentation Fault when endlessly including the same file
| From: | sniper@php.net | Date: | Tue, 18 Nov 2003 20:05:42 +0000 |
| Subject: | #26305 [Opn->Bgs]: Segmentation Fault when endlessly including the same file | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-50649@lists.php.net to get a copy of this message | ||
ID: 26305
Updated by: sniper@php.net
Reported By: vesely at tana dot it
-Status: Open
+Status: Bogus
Bug Type: Reproducible crash
Operating System: Solaris
PHP Version: 4.3.4
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
Previous Comments:
------------------------------------------------------------------------
[2003-11-18 13:41:39] vesely at tana dot it
Description:
------------
Yes, I've been so stupid to do that.
(I thought ../ could be relative to the file
being included rather than the file being executed.)
However, triggering a segmentation fault isn't the
nicest way out of that. How does php deal with VERY
big sources?
Reproduce code:
---------------
somedir/subdir/example.php:
require("../common.inc");
somedir/common.inc:
require("../common.inc");
Expected result:
----------------
Fatal: out of memory
Actual result:
--------------
Segmentation Fault (core dumped)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26305&edit=1