Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365068

Summary: [content assist] Eclipse sometimes locked when using auto-complete
Product: [Eclipse Project] Platform Reporter: Julien HENRY <julien.henry>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert, eclipse, overholt, remy.suen
Version: 3.7.1Keywords: needinfo
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Thread dump none

Description Julien HENRY CLA 2011-11-29 09:55:47 EST
Build Identifier: 201111291326

Eclipse is frozen while displaying auto-complete/suggest/Ctrl+Space popup in a Java program. CPU usage is very high (looks like an infinite loop).

UI is not responsive, and I can see the suggestion popup over all other windows (even non Eclipse). I will attach a thread dump.

No other solution that killing Eclipse.

Reproducible: Sometimes

Steps to Reproduce:
1.Ctrl+Space
Comment 1 Julien HENRY CLA 2011-11-29 09:57:51 EST
Created attachment 207656 [details]
Thread dump
Comment 2 Julien HENRY CLA 2011-11-29 10:06:54 EST
(In reply to comment #0)
> Build Identifier: 201111291326
> 

Sorry, correct build Id is 20110916-0149
Comment 3 Dani Megert CLA 2011-11-30 04:28:12 EST
How long did you wait?
Can you reproduce this?
Comment 4 Julien HENRY CLA 2011-11-30 05:32:08 EST
I waited long enough (more than 15 minutes I think).

I can't reproduce the issue for sure. I'm using Eclipse 3.7 for nearly 4 months and I get a similar issue maybe 3-4 times.

It seems to occurs when system load is high (likely when there is a "build workspace" in the background).

I understand the provided informations are a bit sparse.
Comment 5 Dani Megert CLA 2011-12-05 10:04:46 EST
Sorry Julien, I can't do much without more details/steps. Please reopen if you have more info.
Comment 6 Julien HENRY CLA 2011-12-05 10:21:03 EST
Just for my learning: in case the issue occurs again, what kind of information can I provide (as thread dump seems not be helpful)?
Comment 7 Dani Megert CLA 2011-12-05 10:25:59 EST
(In reply to comment #6)
> Just for my learning: in case the issue occurs again, what kind of information
> can I provide (as thread dump seems not be helpful)?

Take more than one snapshot (especially when the main thread is not blocked but still running). Try to reproduce it directly after the problem happened in order to find a pattern/steps.
Comment 8 Saul CLA 2011-12-08 22:24:54 EST
Have the same problem. Locks up around once every two days on Ubuntu 11.04 -- was running helios, now trying indigo, but same result. System locks up on auto-complete (ctrl+space) forever, have left it over night not wanting to lose my work! CPU usage is around 20% system, 80% user-space.

Sorry, no real details.