Bug 365068 - [content assist] Eclipse sometimes locked when using auto-complete
Summary: [content assist] Eclipse sometimes locked when using auto-complete
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.7.1   Edit
Hardware: PC Linux
: P3 major with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-11-29 09:55 EST by Julien HENRY CLA
Modified: 2011-12-08 22:24 EST (History)
4 users (show)

See Also:


Attachments
Thread dump (59.50 KB, text/plain)
2011-11-29 09:57 EST, Julien HENRY CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.