View Issue Details

IDProjectCategoryView StatusLast Update
0001140XdebugUncategorizedpublic2015-06-14 20:46
Reporterderick Assigned Toderick  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version2.3.2 
Target Version2.3.3Fixed in Version2.3.3 
Summary0001140: Tracing with __debugInfo() crashes Xdebug due to a stack overflow
Description

Xdebug uses debugInfo to obtain information, but as that sometimes triggers another call to debugInfo (because it uses a function with $this), we get a nice stack overflow.

Steps To Reproduce

php -dxdebug.auto_trace=1 -dxdebug.collect_params=3 -r 'class Foo { function __debugInfo() { get_object_vars($this); return []; } }; $a = new Foo; var_dump($a );'

TagsNo tags attached.
Operating System
PHP Version5.6-dev

Activities

derick

2015-06-14 20:46

administrator   ~0003119

Fixed for 2.3.3 and 3.0dev

Issue History

Date Modified Username Field Change
2015-04-10 21:22 derick New Issue
2015-04-10 21:22 derick Status new => assigned
2015-04-10 21:22 derick Assigned To => derick
2015-06-14 20:46 derick Note Added: 0003119
2015-06-14 20:46 derick Status assigned => closed
2015-06-14 20:46 derick Resolution open => fixed
2015-06-14 20:46 derick Fixed in Version => 2.3.3
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