View Issue Details

IDProjectCategoryView StatusLast Update
0000605Xdebugpublic2011-08-14 18:06
Reporterrafal_1982 Assigned Toderick  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionunable to reproduce 
Product Version2.1.0 
Summary0000605: Crash
Description

It crashes on attempt to debug script. I'm running XAMPP 1.7.3 (with PHP 5.3.1) on Windows 7 Professional 64 bit and php_xdebug-2.1.0-5.3-vc6.dll
As an IDE I'm using Eclipse for PHP Developers.

Additional Information

Here is a sample script that always crashes:

<?php

function foo($bar) {
echo $bar * 10;
}

foo(5);

?>

And here is a Xdebug log:

Log opened at 2010-08-07 11:49:56
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///H:/htdocs/test/test.php" language="PHP" protocol_version="1.0" appid="3800" idekey="ECLIPSE_DBGP"><engine version="2.1.0"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2010 by Derick Rethans]]></copyright></init>

<- feature_set -i 1 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="show_hidden" success="1"></response>

<- feature_set -i 2 -n max_depth -v 3
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="2" feature="max_depth" success="1"></response>

<- feature_set -i 3 -n max_children -v 31
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3" feature="max_children" success="1"></response>

<- feature_get -i 4 -n encoding
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="4" feature_name="encoding" supported="1"><![CDATA[iso-8859-1]]></response>

<- feature_get -i 5 -n supports_async
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="5" feature_name="supports_async" supported="1"><![CDATA[0]]></response>

<- stdout -i 6 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stdout" transaction_id="6" success="1"></response>

<- stderr -i 7 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stderr" transaction_id="7" success="0"></response>

<- breakpoint_set -i 8 -t line -f file:///H:%5Chtdocs%5Ctest%5Ctest.php -n 7
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="8" id="38000001"></response>

<- step_into -i 9
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="9" status="break" reason="ok"><xdebug:message filename="file:///H:/htdocs/test/test.php" lineno="3"></xdebug:message></response>

<- stack_get -i 10
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="10"><stack where="{main}" level="0" type="file" filename="file:///H:/htdocs/test/test.php" lineno="3"></stack></response>

<- context_get -i 11 -c 1
Log opened at 2010-08-07 11:50:12
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///H:/htdocs/test/test.php" language="PHP" protocol_version="1.0" appid="4868" idekey="ECLIPSE_DBGP"><engine version="2.1.0"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2010 by Derick Rethans]]></copyright></init>

<- feature_set -i 12 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="12" feature="show_hidden" success="1"></response>

<- feature_set -i 13 -n max_depth -v 3
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="13" feature="max_depth" success="1"></response>

<- feature_set -i 14 -n max_children -v 31
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="14" feature="max_children" success="1"></response>

<- feature_get -i 15 -n encoding
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="15" feature_name="encoding" supported="1"><![CDATA[iso-8859-1]]></response>

<- feature_get -i 16 -n supports_async
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="16" feature_name="supports_async" supported="1"><![CDATA[0]]></response>

<- stdout -i 17 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stdout" transaction_id="17" success="1"></response>

<- stderr -i 18 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stderr" transaction_id="18" success="0"></response>

<- breakpoint_set -i 19 -t line -f file:///H:%5Chtdocs%5Ctest%5Ctest.php -n 7
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="19" id="48680001"></response>

<- step_into -i 20
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="20" status="break" reason="ok"><xdebug:message filename="file:///H:/htdocs/test/test.php" lineno="3"></xdebug:message></response>

<- stack_get -i 21
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="21"><stack where="{main}" level="0" type="file" filename="file:///H:/htdocs/test/test.php" lineno="3"></stack></response>

<- stop -i 22
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop" transaction_id="22" status="stopped" reason="ok"></response>

-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop" transaction_id="22" status="stopping" reason="ok"></response>

Log closed at 2010-08-07 11:50:21

TagsNo tags attached.
Operating SystemWindows 7 Professional 64 bit
PHP Version5.3.1

Activities

derick

2010-08-13 08:26

administrator   ~0001556

Please provide:

rafal_1982

2010-08-15 18:22

reporter   ~0001563

The first two pieces of information I provided previously (please see 'Additional information' in this bug report.
Below I'm pasting the last one (I cannot see an 'Attach file' option in this BTS).

Report for httpdPID2868Date08_15_2010__Time_08_01_28PM128Second_Chance_Exception_C0000005.dmpType of Analysis Performed Crash Analysis
Machine Name RAFA£-ASUS
Operating System Unexpected
Number Of Processors 4
Process ID 2868
Process Image C:\xampp\apache\bin\httpd.exe
System Up-Time 03:10:27
Process Up-Time 00:00:27

Thread 3 - System ID 968Entry point msvcrt!endthreadex+29
Create time 2010-08-15 20:01:05
Time spent in user mode 0 Days 0:0:0.15
Time spent in kernel mode 0 Days 0:0:0.15

Function Arg 1 Arg 2 Arg 3 Source
php_xdebug_2_1_0_5_3_vc6!xdebug_init_oparray+67e9 00000000 00000000 00000000

PHP_XDEBUG_2_1_0_5_3_VC6!XDEBUG_INIT_OPARRAY+67E9WARNING - DebugDiag was not able to locate debug symbols for php_xdebug-2.1.0-5.3-vc6.dll, so the information below may be incomplete.

In httpdPID2868Date08_15_2010__Time_08_01_28PM128Second_Chance_Exception_C0000005.dmp the assembly instruction at php_xdebug_2_1_0_5_3_vc6!xdebug_init_oparray+67e9 in C:\xampp\php\ext\php_xdebug-2.1.0-5.3-vc6.dll from Derick Rethans has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000008 on thread 3Module Information
Image Name: C:\xampp\php\ext\php_xdebug-2.1.0-5.3-vc6.dll Symbol Type: Export
Base address: 0x02a80000 Time Stamp: Tue Jun 29 12:15:52 2010
Checksum: 0x00000000 Comments: Thanks to Derick Rethans, Ilia Alshanetsky, Harald Radi
COM DLL: False Company Name: Derick Rethans
ISAPIExtension: False File Description: Xdebug
ISAPIFilter: False File Version: 2.1.0
Managed DLL: False Internal Name: php_xdebug.dll
VB DLL: False Legal Copyright: Copyright © 2002-2010 Derick Rethans
Loaded Image Name: php_xdebug-2.1.0-5.3-vc6.dll Legal Trademarks:
Mapped Image Name: C:\xampp\php\ext\php_xdebug-2.1.0-5.3-vc6.dll Original filename: php_xdebug.dll
Module name: php_xdebug_2_1_0_5_3_vc6 Private Build:
Single Threaded: False Product Name: Xdebug
Module Size: 152,00 KBytes Product Version: 2.1.0
Symbol File Name: php_xdebug-2.1.0-5.3-vc6.dll Special Build: &

I hope this will help.

derick

2011-08-14 18:06

administrator   ~0001785

I think this is fixed now. Please submit a new report if this persists in Xdebug 2.1.2.

Issue History

Date Modified Username Field Change
2010-08-08 10:44 rafal_1982 New Issue
2010-08-08 10:44 rafal_1982 Operating System => Windows 7 Professional 64 bit
2010-08-08 10:44 rafal_1982 PHP Version => 5.3.1
2010-08-08 10:44 rafal_1982 Xdebug Version => 2.1.0
2010-08-13 08:26 derick Note Added: 0001556
2010-08-13 08:26 derick Status new => feedback
2010-08-15 18:22 rafal_1982 Note Added: 0001563
2011-08-14 18:06 derick Note Added: 0001785
2011-08-14 18:06 derick Status feedback => resolved
2011-08-14 18:06 derick Resolution open => unable to reproduce
2011-08-14 18:06 derick Assigned To => derick
2016-07-31 12:35 derick Category Debug client (console) => debugclient (debugging tool)
2016-07-31 12:35 derick Category debugclient (debugging tool) => (No Category)