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] [EMAIL PROTECTED]

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

Reply via email to