ID: 42666 Updated by: [EMAIL PROTECTED] Reported By: per dot jessen at enidan dot com -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Linux PHP Version: 5.2.4 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [2007-10-26 18:47:23] s dot clover at gmail dot com Similar issue running PHP 5.2.4 as a module with Apache 2.2.6 on a Win XP box. Three files: --- test.php: <?php virtual ('/test.html'); echo $bad;?> test.html: <!--#include virtual="test2.php" --> test2.php: <?php ?> --- This is running with display_errors=On. It also segfaults, but in different ways, with display_errors=Off, or depending on the exact amount of bytes/calls in various files will simply print out a notice with a corrupted linenumber. It looks like the issue is that the php-within-php virtual nesting somehow corrupts php's ability to tell the difference between uninitialized/unset variables and valid ones, leading to memory access exceptions of various sorts. ------------------------------------------------------------------------ [2007-10-23 10:41:13] per dot jessen at enidan dot com Sure. problem.phtlm.en: <?php virtual("problem-include.phtml.en"); klop ?> problem-include.phtml.en: <?php ?> ------------------------------------------------------------------------ [2007-10-23 09:45:27] [EMAIL PROTECTED] So you should be able to now provide the reproducing script here instead of the tar package? ------------------------------------------------------------------------ [2007-10-23 06:19:35] per dot jessen at enidan dot com Sorry, forgot to mention that - yes, I've removed the XSL calls, and added a plain syntax error. The segfault still happens. ------------------------------------------------------------------------ [2007-10-22 19:24:10] [EMAIL PROTECTED] And does the problem occur without XSL (by causing some other error) ? (I can't check the tar package right now) ------------------------------------------------------------------------ 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/42666 -- Edit this bug report at http://bugs.php.net/?id=42666&edit=1