From:             vesely at tana dot it
Operating system: Solaris
PHP version:      4.3.4
PHP Bug Type:     Reproducible crash
Bug description:  Segmentation Fault when endlessly including the same file 

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 bug report at http://bugs.php.net/?id=26305&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26305&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26305&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26305&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26305&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26305&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=26305&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26305&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26305&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26305&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26305&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26305&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26305&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26305&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26305&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26305&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26305&r=float

Reply via email to