Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344927 - stack overflow with "Open Dependency Graph"
Summary: stack overflow with "Open Dependency Graph"
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Johannes Utzig CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 04:32 EDT by Nicolas Bros CLA
Modified: 2019-02-25 14:41 EST (History)
2 users (show)

See Also:


Attachments
stacktrace (131.10 KB, text/plain)
2011-05-06 04:32 EDT, Nicolas Bros CLA
no flags Details
Buckminster Install details (243.69 KB, image/jpeg)
2011-05-11 05:18 EDT, Olivier Prouvost CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2011-05-06 04:32:00 EDT
Created attachment 194909 [details]
stacktrace

- import example projects from the Buckminster svn: org.eclipse.buckminster.tutorial.*
- right-click on org.eclipse.buckminster.tutorial.mailapp.releng/developer.cquery and chose "Buckminster > Open Dependency Graph..."

You get a stack overflow (see attached stacktrace).
Comment 1 Henrik Lindberg CLA 2011-05-06 12:23:24 EDT
Can you provide som more details about which version you are using - perhaps a list of installed bundles and versions. Guess what I am really asking is if you are using the latest version or not :) ?
Comment 2 Olivier Prouvost CLA 2011-05-11 05:17:27 EDT
I've the same bug, with mac os x,  on my project's dependency graph or on sample mail application. 

It seems to appear since Helios sr2 :
Version: Helios Service Release 2
Build id: 20110301-1815

I'll attach my buckminster installation details
Comment 3 Olivier Prouvost CLA 2011-05-11 05:18:22 EDT
Created attachment 195313 [details]
Buckminster Install details
Comment 4 Johannes Utzig CLA 2011-05-12 19:44:10 EDT
From the stacktrace and the code I suspect that this happens because a component somehow depends on itself.
Unfortunately I couldn't reproduce it in the described way with the sources from TRUNK. I will try again with a clean helios installation and hopefully run into the same issue (I'd rather have something reproducable before attempting a fix).
Comment 5 Johannes Utzig CLA 2011-05-13 17:47:31 EDT
I was able to reproduce the issue with a vanilla eclipse 3.6.2 installation.
The problem is caused by eclipse source bundles that lead to an endless recursion.
The main bundles depend on the source bundles and the source bundles depends on the main bundles. For some reason this issue is not reproducable when you start eclipse from a workspace. I suppose the source bundles do not get installed into the runtime instance and that's why it works in a developer setup.
Comment 6 Johannes Utzig CLA 2011-05-13 17:49:53 EDT
fix released to trunk rev. 11783