MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000976XdebugUsage problems (Wrong Results)public2013-09-17 04:012013-10-14 01:43
Reporterpvasilevich 
Assigned Toderick 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.2.3 
Target VersionFixed in Version2.2.4 
Summary0000976: XDebug crashes if current varibles scope contains COM object
DescriptionIf you are working with COM objects, for example with Excel, XDebug crashes trying to display content of such variable in debugger
Steps To Reproduce1. create sample script:
<?php

$ex = new COM("Excel.Application", NULL, CP_UTF8);
$wb = $ex->Application->Workbooks->Add(); // <-- set breakpoint to this line in debugger.

2. launch this script under debugger
Additional InformationCrash appeared in method xdebug_var_export_xml_node() when trying to access properties of COM object:

Z_OBJDEBUG_PP(struc, is_temp); returns NULL
TagsNo tags attached.
Operating System
PHP Version5.5-dev
Attached Files? file icon com-crash-patch [^] (739 bytes) 2013-09-17 04:03 [Show Content]

- Relationships
has duplicate 0000873resolvedderick Crash viewing COM object properties in Eclipse PDT 
has duplicate 0001014resolvedderick trying to create COM objects cause crash 

-  Notes
(0002556)
pvasilevich (reporter)
2013-09-17 04:04

Added patch to fix this problem
(0002559)
derick (administrator)
2013-09-28 13:44

Thanks for this! I've your patch in a branch - are you okay with me crediting this to "your name" <your email address>?
(0002570)
pvasilevich (reporter)
2013-09-29 15:59

ok :)
(0002583)
derick (administrator)
2013-10-14 01:43

Thanks again for the patch! It's merged now.

- Issue History
Date Modified Username Field Change
2013-09-17 04:01 pvasilevich New Issue
2013-09-17 04:03 pvasilevich File Added: com-crash-patch
2013-09-17 04:04 pvasilevich Note Added: 0002556
2013-09-28 13:44 derick Note Added: 0002559
2013-09-29 15:59 pvasilevich Note Added: 0002570
2013-10-14 01:43 derick Note Added: 0002583
2013-10-14 01:43 derick Status new => closed
2013-10-14 01:43 derick Assigned To => derick
2013-10-14 01:43 derick Resolution open => fixed
2013-10-14 01:43 derick Fixed in Version => 2.2.4
2014-02-27 19:41 derick Relationship added has duplicate 0000873
2014-03-02 14:16 derick Relationship added has duplicate 0001014
2016-07-31 13:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 13:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker