| Summary: | endless errors: "Notifying selection listeners", StackOverflowError in CPPTemplates parsing | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Mike Reed <mnr102> | ||||||||
| Component: | cdt-indexer | Assignee: | Markus Schorn <mschorn.eclipse> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | Markus Schorn <mschorn.eclipse> | ||||||||
| Severity: | major | ||||||||||
| Priority: | P3 | CC: | cdtdoug, mnr102 | ||||||||
| Version: | 8.0 | ||||||||||
| Target Milestone: | 8.0 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Mike Reed
Created attachment 181418 [details]
log, showing nothing more than endless StackOverflowErrors from this issue.
Uploading logs, which don't shed much light onto why this is occurring. It's pretty easily reproduceable for me, so get in touch if there's a way to increase logging, or if I can export DOM or indexer files, etc.
Thx,
Mike
Created attachment 181541 [details]
different log, from different workspace
Attaching a different log of a similar occurrence, from a different workspace. I can get this error to pop up any time I select a particular method name.
Bumping importance. This bug is now affecting all of my workspaces for a given source tree, and the only way around getting the pop-ups every 5 seconds is to turn off the indexer. Can I help debug this? Easily reproduceable here. Thx, Mike Created attachment 182393 [details]
improved safeguard against the recursion
I am interested in debugging the issue. For that I need a way to reproduce it. Do you have a piece of code that you can give away (eiter via bugzilla or via direct email to me), which also triggers the bug?
We already have some safeguard in place that should have caught the recursion, I have improved it.
Improved safeguard in 8.0 > 20101104. Please verify that it actually helps with your code-base. *** cdt cvs genie on behalf of mschorn *** Bug 328380: Improved safeguard against infinite recursion. [*] CPPTypedefSpecialization.java 1.22 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPTypedefSpecialization.java?root=Tools_Project&r1=1.21&r2=1.22 (In reply to comment #5) > Improved safeguard in 8.0 > 20101104. > Please verify that it actually helps with your code-base. Hi Mark, Thanks for the interest in this one. I don't have a small project that can reproduce this. I can't figure out which typedef is causing heartburn for the Indexer. Could CDT possibly log the offending typedef which causes this recursion? I'll download your fix in a build greater than 20101104. Is it safe to have 2 different versions of the CDT plugin installed in the same Eclipse platform? Thx, Mike |