| Summary: | Eclipse freezes while "ASTProvider > waiting for AST" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Stephan Herrmann <stephan.herrmann> | ||||
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | daniel_megert | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
>(I happened to use a 3.7M4 for that experiment)
Can you reproduce on R3.7? We fixed several AST provider bugs during 3.7.
(In reply to comment #1) > >(I happened to use a 3.7M4 for that experiment) > > Can you reproduce on R3.7? We fixed several AST provider bugs during 3.7. Yes, "my regular Eclipse is an Indigo SDK ...". With that I meant the release. (In reply to comment #2) > (In reply to comment #1) > > >(I happened to use a 3.7M4 for that experiment) > > > > Can you reproduce on R3.7? We fixed several AST provider bugs during 3.7. > > Yes, "my regular Eclipse is an Indigo SDK ...". > With that I meant the release. Yes, but you wrote that the test with the plain SDK was against M4 - so to rephrase my question: can you reproduce in plain Eclipse SDK? (In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > >(I happened to use a 3.7M4 for that experiment) > > > > > > Can you reproduce on R3.7? We fixed several AST provider bugs during 3.7. > > > > Yes, "my regular Eclipse is an Indigo SDK ...". > > With that I meant the release. > > Yes, but you wrote that the test with the plain SDK was against M4 - so to > rephrase my question: can you reproduce in plain Eclipse SDK? Right now I installed an all new plain Eclipse SDK 3.7 and started to work with that. However, I don't have a lot of editing scheduled for today, so we might have to wait a while until I can report the next freeze. OTOH, what are the odds that adding some plug-ins re-creates the exact symptoms of a bug fixed between M4 and GA? > OTOH, what are the odds that adding some plug-ins re-creates the exact
> symptoms of a bug fixed between M4 and GA?
They are high. Anything that interferes with the reconciler from JDT Text and/or JDT Core (which reports the AST) can cause a problem.
Stephan, could it be that you get this after your computer returned from sleep? *** This bug has been marked as a duplicate of bug 350616 *** |
Created attachment 199392 [details] log file: tracing plus stack dump Eclipse sporadically freezes while the ASTProvider is active. I turned on tracing for ASTProvider, and typical last log lines before a freeze look like this: main - ASTProvider > about to reconcile: ExceptionHandlingFlowContext.java main - ASTProvider > caching AST: null for: ExceptionHandlingFlowContext.java Worker-94 - ASTProvider > waiting for AST for: ExceptionHandlingFlowContext.java Text Viewer Hover Presenter - ASTProvider > waiting for AST for: ExceptionHandlingFlowContext.java main - ASTProvider > waiting for AST for: ExceptionHandlingFlowContext.java I'll attach a log file that contains the full log of tracing ASTProvider plus the result of sending "kill -3" (twice to be sure it's stuck). I haven't found a pattern for reproducing other than: perform some editing in a Java editor. The freeze happens in the order of once per hour. My regular Eclipse is an Indigo SDK plus several other plugins but I also tried a plain SDK with no additions (I happened to use a 3.7M4 for that experiment) and saw the freeze in both.