#27815 [Fbk->Opn]: SourceForge XPath.class.php 3.4 Testsuite crashes Apache 2.0.49
| From: | wf at bitplan dot com | Date: | Tue, 20 Apr 2004 15:52:37 +0000 |
| Subject: | #27815 [Fbk->Opn]: SourceForge XPath.class.php 3.4 Testsuite crashes Apache 2.0.49 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-58458@lists.php.net to get a copy of this message | ||
ID: 27815
User updated by: wf at bitplan dot com
Reported By: wf at bitplan dot com
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: WindowsXP
PHP Version: 5.0.0RC1
New Comment:
If used the latest snapshot as recommended and the problem persists -
still a crash!
Previous Comments:
------------------------------------------------------------------------
[2004-04-13 13:05:12] sniper@php.net
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
------------------------------------------------------------------------
[2004-03-31 15:09:54] wf at bitplan dot com
Description:
------------
We are using PHP5.0RC1 with Apache 2.0.49 and are heavily relying to
XPath.Class.php which you'll find on sourceforge.net. We now tried to
use the testsuite for XPath.Class.php to trace down the problem and it
reproducibly crashes Apache any time you run it.
The environment is 1 GByte MainMemory machine with a 64 MByte limit for
PHP Scripts.
max_execution_time = 90 ; Maximum execution time of
memory_limit = 64M ; Maximum amount of memory a script may consume
(8MB)
extension=php_mysql.dll
The apache error log shows:
[Wed Mar 31 22:15:16 2004] [notice] Parent: child process exited with
status 128 -- Restarting.
Reproduce code:
---------------
Download XClass.path.php and Testsuite from
http://sourceforge.net/projects/phpxpath/
change line 4614 in XPatch.class.php to avoid a PHP5 fatal error:
//$this = FALSE; // PHP5 incompatible !!!
unset($this);
run testsuite with
http://localhost/XPath/testBench/validationTests/index.php
and click on "Run XPath tests"
Expected result:
----------------
testsuite should run without crash
Actual result:
--------------
Apache crashes immediately
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27815&edit=1