View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000168Xdebug(No Category)public2006-02-16 18:222006-02-21 22:27
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000168: PHP.exe crashes on windows on eval command
DescriptionSorry if this is not a bug...I'm just starting out with xdebug & dbgp.

Windows XP SP2
PHP 4.4.1
xdebug 2.0.0beta4
DebugClient 0.9.0

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. [^]):
$z = array("x", "y", "z");
$x = "hello world.";
$y = "howdy world.";

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.

TagsNo tags attached.
Operating SystemWindows XP SP2
PHP Version4.4.1
Attached Files

- Relationships

-  Notes
derick (administrator)
2006-02-21 22:27

Fixed in CVS, thanks for your report.

- Issue History
Date Modified Username Field Change
2006-02-16 18:22 jaredhite1 New Issue
2006-02-21 22:27 derick Status new => closed
2006-02-21 22:27 derick Note Added: 0000369
2016-07-31 13:35 derick Category Debug client (console) => debugclient (debugging tool)
2016-07-31 13:35 derick Category debugclient (debugging tool) => (No Category)

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker