[xdebug-dev] Bug 0000103: crashes when eval global variable

From: <xdebug-dev[@]lists.xdebug.org>
Date: Sat, 4 Dec 2004 22:46:43 +0100

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000103
======================================================================
Reporter: segv74
Handler:
======================================================================
Project: Xdebug
Bug ID: 103
Category: Usage problems
Reproducibility: always
Severity: crash
Priority: normal
Status: closed
Operating System: linux
PHP Version: 5.0.2
Xdebug Version: 2.0-dev
======================================================================
Date Submitted: 2004-11-18 06:54 CET
Last Modified: 2004-12-04 22:46 CET
======================================================================
Summary: crashes when eval global variable
Description:
when i eval global variables, it crashes.

<?
class X
{
  public $Y;
}

$P = new X;
$P->Y = "123"; //<-- eval($P) here and crashed
print_r($P);
?>

======================================================================

----------------------------------------------------------------------
 derick - 2004-11-28 13:38 CET
----------------------------------------------------------------------
Reminder sent to segv74

I can not reproduce this, and I'm also not sure what you mean by "eval at
this point". How do you eval it, with the remote debugger? If so, which
protocol... I need some more information here.

----------------------------------------------------------------------
 derick - 2004-12-04 22:46 CET
----------------------------------------------------------------------
This is now fixed in CVS, but your patch was incorrect as the fullname of
the properties would have been incorrectly set. In order to work around
this the fullname attribute will simply not be set at all now.

Bug History
Date Modified Username Field Change
======================================================================
2004-11-18 06:54segv74 New Bug
2004-11-28 13:38derick Bugnote Added: 0000216
2004-12-04 22:46derick Bugnote Added: 0000219
2004-12-04 22:46derick Status new => closed
======================================================================
Received on Sat Dec 04 2004 - 22:46:46 GMT

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