Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319098 - Freeze on autocompletion
Summary: Freeze on autocompletion
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 319543 319980 320246 325927 344195 375210 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-07 05:55 EDT by Chol CLA
Modified: 2012-03-26 05:51 EDT (History)
9 users (show)

See Also:


Attachments
~/workspace/.metadata/.log (1.89 KB, text/plain)
2010-07-07 05:56 EDT, Chol CLA
no flags Details
jstack (21.51 KB, text/plain)
2010-07-07 05:57 EDT, Chol CLA
no flags Details
jvisualvm (23.55 KB, text/plain)
2010-07-07 05:57 EDT, Chol CLA
no flags Details
kill -3 (21.73 KB, text/plain)
2010-07-07 05:58 EDT, Chol CLA
no flags Details
Help / About Eclipse / Installation Details / Configuration (437.56 KB, text/plain)
2010-07-07 05:59 EDT, Chol CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chol CLA 2010-07-07 05:55:35 EDT
Build Identifier: 20100617-1415

If I type in "bool" and hit CTRL+SPACE for autocompletion, Eclipse freezes and the screen turns gray.

I'm using Ubuntu Lucid 10.04 x64 with Helios EE x64 and tried both "OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)" and "Java(TM) SE Runtime Environment (build 1.6.0_20-b02)".

I will add several logfiles, as I tried all stack trace methods which were described in the wiki deadlock page.

Reproducible: Always

Steps to Reproduce:
1. Type in "bool"
2. Hit CTRL+SPACE
Comment 1 Chol CLA 2010-07-07 05:56:59 EDT
Created attachment 173629 [details]
~/workspace/.metadata/.log
Comment 2 Chol CLA 2010-07-07 05:57:28 EDT
Created attachment 173630 [details]
jstack
Comment 3 Chol CLA 2010-07-07 05:57:45 EDT
Created attachment 173631 [details]
jvisualvm
Comment 4 Chol CLA 2010-07-07 05:58:15 EDT
Created attachment 173632 [details]
kill -3
Comment 5 Chol CLA 2010-07-07 05:59:25 EDT
Created attachment 173633 [details]
Help / About Eclipse / Installation Details / Configuration
Comment 6 Remy Suen CLA 2010-07-07 06:13:53 EDT
Looks like the AST problem. Could also be Texlipse misbehaving.
Comment 7 Dani Megert CLA 2010-07-07 06:34:24 EDT
This is a bug in the Texlipse plug-in: it accesses the UI thread inside the reconciler:

   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00007fa1de85e4d0> (a org.eclipse.swt.widgets.RunnableLock)
	at java.lang.Object.wait(Object.java:502)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)
	- locked <0x00007fa1de85e4d0> (a org.eclipse.swt.widgets.RunnableLock)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4294)
	at net.sourceforge.texlipse.TexlipsePlugin.getCurrentWorkbenchPage(TexlipsePlugin.java:249)
	at net.sourceforge.texlipse.TexlipsePlugin.getCurrentProject(TexlipsePlugin.java:221)


The reconciler must not access the UI thread. Please report the bug there.
Comment 8 Chol CLA 2010-07-07 06:42:44 EDT
Thanks, uninstalling TeXlipse solved the problem for me. But I don't understand why TeXlipse fiddles with .java files, shouldnt' it only activate on .tex?
Comment 9 Dani Megert CLA 2010-07-07 06:46:48 EDT
>Thanks, uninstalling TeXlipse solved the problem for me. But I don't understand
>why TeXlipse fiddles with .java files, shouldnt' it only activate on .tex?
They probably installed the spell checker on any file with content type 'Text' and 'Java' inherits from that. If there's an option to disable spell checking in TeXlipse, then that should also solve your issue. Disabling spelling all over (General > Editors > Text Editors > Spelling) should also do the trick.
Comment 10 Dani Megert CLA 2010-07-12 07:48:58 EDT
*** Bug 319543 has been marked as a duplicate of this bug. ***
Comment 11 Dani Megert CLA 2010-07-19 04:17:07 EDT
*** Bug 319980 has been marked as a duplicate of this bug. ***
Comment 12 Missing name CLA 2010-07-20 07:15:28 EDT
*** Bug 320246 has been marked as a duplicate of this bug. ***
Comment 13 Dani Megert CLA 2010-09-28 02:46:17 EDT
*** Bug 325927 has been marked as a duplicate of this bug. ***
Comment 14 Olivier Thomann CLA 2011-04-29 07:38:25 EDT
*** Bug 344195 has been marked as a duplicate of this bug. ***
Comment 15 Dani Megert CLA 2012-03-26 05:17:34 EDT
*** Bug 375210 has been marked as a duplicate of this bug. ***