View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000580 | Xdebug | Uncategorized | public | 2010-05-14 13:19 | 2014-02-27 19:01 |
Reporter | Daan | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Product Version | 2.0.0dev | ||||
Summary | 0000580: Segfault with nested __destruct() calls | ||||
Description | Actual version used: Xdebug v2.0.5, PHP 5.2.13 When a static class variable is assigned a nested destructable object, it behaves differently when assigned before or after the instantiation an object of the class to which the static property belongs. When the variable is assigned after object instantiation, the process segfaults. See also: http://bugs.php.net/bug.php?id=51822 | ||||
Additional Information | <?php class DestructorCreator class Test // Uncomment this to avoid segfault $x = new Test(); if (!isset(Test::$mystatic)) echo 'bla'; | ||||
Tags | No tags attached. | ||||
Operating System | Debian Etch | ||||
PHP Version | 5.2.10 | ||||
|
Bug was a PHP bug, solved in PHP codebase (see http://bugs.php.net/bug.php?id=51822) |
|
There is still a bug here in Xdebug as well: 5.2.13-dev with Xdebug-SVN: bla==5566== Invalid read of size 8 |
|
Can no longer reproduce, at least not with 5.2.18 and Xdebug 2.2.3. |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-05-14 13:19 | Daan | New Issue | |
2010-05-14 13:19 | Daan | Operating System | => Debian Etch |
2010-05-14 13:19 | Daan | PHP Version | => 5.2.10 |
2010-05-14 13:19 | Daan | Xdebug Version | => 2.0.5 |
2010-06-10 13:05 | Daan | Note Added: 0001491 | |
2010-06-12 13:15 | derick | Note Added: 0001492 | |
2014-02-27 19:01 | derick | Note Added: 0002677 | |
2014-02-27 19:01 | derick | Status | new => resolved |
2014-02-27 19:01 | derick | Resolution | open => unable to reproduce |
2014-02-27 19:01 | derick | Assigned To | => derick |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |