[xdebug-dev] Bug 0000168: PHP.exe crashes on windows on eval command

From: <xdebug-dev[@]lists.xdebug.org>
Date: Thu, 16 Feb 2006 18:22:07 +0100

The following NEW bug has been ADDED.
======================================================================
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: new
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-16 18:22 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
======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2006-02-16 18:22jaredhite1 New Bug
2006-02-16 18:22jaredhite1 Bug Monitored: jaredhite1
======================================================================
Received on Thu Feb 16 2006 - 18:22:10 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST