View Issue Details

IDProjectCategoryView StatusLast Update
0000540XdebugUsage problems (Wrong Results)public2010-03-13 19:41
ReportermgcAssigned Toderick 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionduplicate 
Product Version2.0.0dev 
Target VersionFixed in Version 
Summary0000540: Apache child crashes
DescriptionXAMPP 1.7.3
PHP Version 5.3.1
Apache/2.2.14 (Win32)
tested both php_xdebug-2.0.5-5.3-vc6.dll or php_xdebug-2.1.0beta2-5.3-vc6.dll
Using both NetBeans or Eclipse PDT developing environments

I'm able to correctly start debugging session but after got inside some inner function (breakpoint stop) and done some debug step or variable evaluation Apache return an error and the debug session crashs.
Apache log reports the following error:

[Thu Feb 18 18:17:32 2010] [notice] Parent: child process exited with status 3221225477 -- Restarting.

...and then restarts.
TagsNo tags attached.
Operating System
PHP Version5.3.2

Activities

mgc

2010-02-18 19:55

reporter   ~0001361

Last edited: 2010-02-18 19:56

I followed the "resolved" thread 0000410 reporting the same problem.
I've tried the last dll (php_xdebug-2.1dev-5.3-vc6.dll) and the crash is still there.
The system Event Viewer report the following error (the original is in italian so I mention only the main data):
httpd.exe error, version 2.2.14.0, the module is xdebug-2.1dev-5.3-vc6.dll, version 2.1.0.0, error address 0x0001144f.

It seem to be a XDebug error.

0000: 41 70 70 6c 69 63 61 74 Applicat
0008: 69 6f 6e 20 46 61 69 6c ion Fail
0010: 75 72 65 20 20 68 74 74 ure htt
0018: 70 64 2e 65 78 65 20 32 pd.exe 2
0020: 2e 32 2e 31 34 2e 30 20 .2.14.0
0028: 69 6e 20 70 68 70 5f 78 in php_x
0030: 64 65 62 75 67 2d 32 2e debug-2.
0038: 31 64 65 76 2d 35 2e 33 1dev-5.3
0040: 2d 76 63 36 2e 64 6c 6c -vc6.dll
0048: 20 32 2e 31 2e 30 2e 30 2.1.0.0
0050: 20 61 74 20 6f 66 66 73 at offs
0058: 65 74 20 30 30 30 31 31 et 00011
0060: 34 34 66 44f

derick

2010-02-20 13:45

administrator   ~0001366

Please provide the following (after picking the latest binary from http://

a. a short script that causes this problem when you're debugging through this
b. the remote debug log (see http://xdebug.org/docs/remote#remote_log)
c. a proper backtrace (see http://bugs.php.net/bugs-generating-backtrace-win32.php)

mgc

2010-02-20 19:09

reporter   ~0001367

a: the "script" is joomla, to be more precise the JFGoogleTranslator system plugin (see www.joomla.org, the extension directory)

b: The remote debug log is quite long, if you want I can send to you by e-mail 42K file, no problem. Meanwhile I'll put here the last meaningful (I hope) lines

<- run -i 11
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="11" status="break" reason="ok"><xdebug:message filename="file:///C:/xampp/htdocs/dev/Aladarsail/plugins/system/jfgoogletranslator.php" lineno="155"></xdebug:message></response>

<- stack_get -i 12->
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="12"><stack where="plgSystemJFGoogleTranslator->onAfterDisplayContent" level="0" type="file" filename="file:///C:/xampp/htdocs/dev/Aladarsail/plugins/system/jfgoogletranslator.php" lineno="155"></stack><stack where="call_user_func_array" level="1" type="file" filename="file:///C:/xampp/htdocs/dev/Aladarsail/libraries/joomla/event/event.php" lineno="0"></stack><stack where="JEvent->update" level="2" type="file" filename="file:///C:/xampp/htdocs/dev/Aladarsail/libraries/joomla/event/event.php" lineno="67"></stack><stack where="JDispatcher->trigger" level="3" type="file" filename="file:///C:/xampp/htdocs/dev/Aladarsail/libraries/joomla/event/dispatcher.php" lineno="170"></stack><stack where="ContentViewArticle->display" level="4" type="file" filename="file:///C:/xampp/htdocs/dev/Aladarsail/components/com_content/views/article/view.html.php" lineno="180"></stack><stack where="JCacheView->get" level="5" type="file" filename="file:///C:/xampp/htdocs/dev/Aladarsail/libraries/joomla/cache/handler/view.php" lineno="98"></stack><stack where="JController->display" level="6" type="file" filename="file:///C:/xampp/htdocs/dev/Aladarsail/libraries/joomla/application/component/controller.php" lineno="308"></stack><stack where="ContentController->display" level="7" type="file" filename="file:///C:/xampp/htdocs/dev/Aladarsail/components/com_content/controller.php" lineno="55"></stack><stack where="JController->execute" level="8" type="file" filename="file:///C:/xampp/htdocs/dev/Aladarsail/libraries/joomla/application/component/controller.php" lineno="236"></stack><stack where="require_once" level="9" type="file" filename="file:///C:/xampp/htdocs/dev/Aladarsail/components/com_content/content.php" lineno="35"></stack><stack where="JComponentHelper->renderComponent" level="10" type="file" filename="file:///C:/xampp/htdocs/dev/Aladarsail/libraries/joomla/application/component/helper.php" lineno="162"></stack><stack where="JSite->dispatch" level="11" type="file" filename="file:///C:/xampp/htdocs/dev/Aladarsail/includes/application.php" lineno="124"></stack><stack where="{main}" level="12" type="file" filename="file:///C:/xampp/htdocs/dev/Aladarsail/index.php" lineno="68"></stack></response>

<- context_names -i 13
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="13"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context></response>

<- eval -i 14 -- JG5vZGVz

c: sorry but I'm approaching linux world and open source community so I cannot install the MSVC6 required for backtrace, also MSVC6 is not free (am I wrong?) and in that case I think is not a kind behaviour to crack it :-)

Derrick, I'm ready to collaborate to investigate the trouble, just ask what you need and if MSVC6 is free (I couldn't find the free download) I'll install the basics for the backtrace.

best regards

derick

2010-02-21 16:41

administrator   ~0001368

You don't have to install MSVC6, there is a free tool (also listed on that page) called Microsoft Debug Diagnostic Tools. Just scroll down to "Generating backtrace, without compiler, on Win32". Also, I need a *short* reproducing script. I am not going to debug Joomla for you :)

mgc

2010-02-25 10:04

reporter   ~0001372

Hi Derick,

I've done my best to help.
I've put on this folder --> http://www.mgc.netsons.org/xdebug/ <--
the xdebug remote log and the crash dump obtained using BackTrace and MSVC6.
I still miss the xdebug symbols (I couldn't fine any on your website) and
a short script. The crash is strange and with short script I cannot
reproduce it, I can debug many files but in some particular situation
xdebug crash, in this case the crtash happen inside a call back subrotine recalled by joomla framework on a particular event... If you give/guide me in integrating xdebug symbols in Crash dump report I can try again reproducing the crash and send update information on it.

I don't want bother you neither ask to you to debug joomla, I need just some help. My mission is to set up a stable IDE for jooomla development and then share my experience. Thank you for your kind help.

Best regards

mgc

2010-03-13 08:25

reporter   ~0001380

Hi Derick,

the new xdebug beta3 works perfect!
Now everybody can have a proper IDE under xp just following this:
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development
and your latest xDebug beta3.

Best Regards

derick

2010-03-13 19:41

administrator   ~0001381

Alright then, this was probably just another duplicate then.

Issue History

Date Modified Username Field Change
2010-02-18 17:51 mgc New Issue
2010-02-18 17:51 mgc PHP Version => 5.3.2
2010-02-18 17:51 mgc Xdebug Version => 2.1.0beta1
2010-02-18 19:55 mgc Note Added: 0001361
2010-02-18 19:56 mgc Note Edited: 0001361
2010-02-20 13:45 derick Note Added: 0001366
2010-02-20 13:45 derick Status new => feedback
2010-02-20 19:09 mgc Note Added: 0001367
2010-02-21 16:41 derick Note Added: 0001368
2010-02-25 10:04 mgc Note Added: 0001372
2010-03-13 08:25 mgc Note Added: 0001380
2010-03-13 19:41 derick Note Added: 0001381
2010-03-13 19:41 derick Status feedback => resolved
2010-03-13 19:41 derick Resolution open => duplicate
2010-03-13 19:41 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)