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:

I'll happily supply a backtrace if'd get information how to do this on
Windows XP. The URL supplied is obviously for Linux boxes. I'm using
the Windows standard distribution and do not compile the PHP code
myself. What can I do to help?


Previous Comments:
------------------------------------------------------------------------

[2004-03-31 15:23:11] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

------------------------------------------------------------------------

[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