#27815 [NoF->Opn]: SourceForge XPath.class.php 3.4 Testsuite crashes Apache 2.0.49
| From: | wf at bitplan dot com | Date: | Tue, 18 Jan 2005 09:43:27 +0000 |
| Subject: | #27815 [NoF->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-72355@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: No Feedback
+Status: Open
Bug Type: DOM XML related
Operating System: WindowsXP
PHP Version: 5.0.0RC1
New Comment:
I'm not using XClass.path any more due to the Apache crashes this used
to cause
Previous Comments:
------------------------------------------------------------------------
[2005-01-18 01:00:08] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-01-10 15:19:16] 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