Bug 2218367

Summary: Eclipse is unusable under any Java 17 JRE after update to Fedora 38.
Product: [Fedora] Fedora Reporter: August Schwerdfeger <august>
Component: java-17-openjdk-portableAssignee: jiri vanek <jvanek>
Status: NEW --- QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 38CC: ahughes, jandrlik, jerboaa, jvanek, pmikova, zzambers
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Trace from Eclipse crash on startup. none

Description August Schwerdfeger 2023-06-28 21:53:06 UTC
After an update to Fedora 38, versions of Eclipse prior to 2022-06 are unusable when run under the Java 17 JRE from the Fedora repositories, being very prone to crashing with segfaults in the native part of the SWT library.

The attached trace is from an attempt to start the "Eclipse IDE for Java Developers" version 2022-03, freshly installed using the Eclipse Installer, on a new workspace.

Reproducible: Always

Steps to Reproduce:
The crashes happen reliably, but not the same way every time. I can usually get a crash on startup when I use the "Eclipse Installer" to install "Eclipse IDE for Java Developers," version 2022-03, pointed at the system's Java 17 JRE, and try to create a new workspace (put the name of a nonexistent directory in the "Workspace" text box in the "Eclipse IDE Launcher" dialog). If it survives the startup, using Ctrl+Shift+G to look up references to a Java class invariably causes a crash.

Comment 1 August Schwerdfeger 2023-06-28 21:54:35 UTC
Created attachment 1973038 [details]
Trace from Eclipse crash on startup.