The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000168
======================================================================
Reporter: jaredhite1
Handler:
======================================================================
Project: Xdebug
Bug ID: 168
Category: Debug client (console)
Reproducibility: always
Severity: crash
Priority: normal
Status: closed
Operating System: Windows XP SP2
PHP Version: 4.4.1
Xdebug Version: 2.0.0beta4
======================================================================
Date Submitted: 2006-02-16 18:22 CET
Last Modified: 2006-02-21 22:27 CET
======================================================================
Summary: PHP.exe crashes on windows on eval command
Description:
Sorry if this is not a bug...I'm just starting out with xdebug & dbgp.
Configuration:
Windows XP SP2
PHP 4.4.1
xdebug 2.0.0beta4
DebugClient 0.9.0
IIS
I'm using the binary versions of PHP, xdebug, and DebugClient - didn't
compile any of them myself.
The PHP script (located at http://localhost/test.php.):
<?php
$z = array("x", "y", "z");
$x = "hello world.";
$y = "howdy world.";
print_r($z);
?>
I run the dbgp debug client, go to
http://localhost/test.php?XDEBUG_SESSION_START=jared, get a successful
connection, and run the following commands:
step_into -i jared
step_into -i jared
step_into -i jared
eval -i jared -- JHpbMF0= //returns $z[0] - "x", as I expect
eval -i jared -- JHo= //PHP.EXE dies saying unhandled exception - access
violation reading location 0x00000000
Note that JHpbMF0= is "$z[0]" JHo= is "$z" and that property_get -i jared
-n $z works fine...But eval kills php.exe.
Thanks,
Jared
======================================================================
----------------------------------------------------------------------
derick - 2006-02-21 22:27 CET
----------------------------------------------------------------------
Fixed in CVS, thanks for your report.
Bug History
Date Modified Username Field Change
======================================================================
2006-02-16 18:22jaredhite1 New Bug
2006-02-16 18:22jaredhite1 Bug Monitored: jaredhite1
2006-02-21 22:27derick Bugnote Added: 0000369
2006-02-21 22:27derick Status new => closed
======================================================================
Received on Tue Feb 21 2006 - 22:27:15 GMT
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST