Bug 569494 - [gtk][webkit]Code Content Assist Hangs In JDT
Summary: [gtk][webkit]Code Content Assist Hangs In JDT
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.17   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-05 10:47 EST by Rob Hatcherson CLA
Modified: 2020-12-05 14:01 EST (History)
1 user (show)

See Also:


Attachments
My configuration and three jstack dumps (665.93 KB, text/plain)
2020-12-05 10:47 EST, Rob Hatcherson CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Hatcherson CLA 2020-12-05 10:47:42 EST
Created attachment 284969 [details]
My configuration and three jstack dumps

My apologies if this is a duplicate. I see several content assist complaints, but they seem to be for other parts of the IDE, or are old, or say they're fixed.

It may not be relevant, but the bug report I'm making here is similar to this one from freebsd.org:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238844


System Info:

OS:
Linux cuddy 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Java version running Eclipse: 
openjdk version "14.0.2" 2020-07-14
OpenJDK Runtime Environment 20.3 (build 14.0.2+12)
OpenJDK 64-Bit Server VM 20.3 (build 14.0.2+12, mixed mode, sharing)

Java version being used for the code base:
openjdk version "1.8.0_272"
OpenJDK Runtime Environment (build 1.8.0_272-b10)
OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode)


Problem Description:

Several people in our dev group have been having problems with content assist in the JDT editor locking up Eclipse in recent versions. I can't pin down a version where this started happening, but it seems to be much worse in the 2020-09 version. For example, last weekend I experienced three lock-ups inside of 45 minutes of work. When this happens Eclipse never recovers and I have to kill it from a terminal (there may be a way to break out of the degraded state, but I don't know what it is). It became enough of a nuisance that I finally had to turn off the automatic content assist feature via the '.' key. It will still hang sometimes when brought up manually. Most of the time it works, but calling it up is a gamble.

This problem is sporadic and not regularly reproducible though it occurs relatively frequently. When it hangs, the main thread backtrace has looked more or less the same in cases where I've bothered to get a dump.

I've attached my configuration and three jstack dumps of the previously mentioned hangs from last weekend. It looked like I could only add one attachment so I cat'd it all together. The configuration dump is first. Search for "jstack" to find the backtraces.
Comment 1 Rob Hatcherson CLA 2020-12-05 13:52:54 EST
I forgot to mention that when it hangs, it does it immediately. The pop-up windows show up then everything freezes. It does *not* operate normally for a while then freeze.