eclipse.platform.swt
eclipse.platform.swt copied to clipboard
Eclipse crashes when rendering tooltips with formatted javadoc.
Describe the bug
After updating the OS (Fedora Linux 39) of the package javascriptcoregtk4.1 2.44.0-2.fc39, Eclipse keeps crashing every time it will try to render HTML. The previous version was 2.42.5-1.fc39
To Reproduce
- Open Eclipse in a Wayland session.
- Open any Java source file.
- Hover over a Java class or method from the base class library like String to show its javadoc
- The UI hangs and a few second later it crashes.
Before the crash this is show on stderr:
(Eclipse:26511): Gdk-CRITICAL **: 12:06:11.663: gdk_window_create_gl_context: assertion 'GDK_IS_WINDOW (window)' failed
Expected behavior
A Javadoc tooltip is shown.
Environment:
- Select the platform(s) on which the behavior is seen:
-
- [ ] All OS
-
- [ ] Windows
-
- [x] Linux
-
- [ ] macOS
- Additional OS info (e.g. OS version, Linux Desktop, etc)
Fedora Linux 39 x86_64
- JRE/JDK version
OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (17.0.10+7, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
Version since
Eclipse 2024-03 (4.31.0)
Workaround (or) Additional context
Running Eclipse with the X11 backend instead of Wayland with GDK_BACKEND=x11 is a workaround.
Native stack trace of the WebKitGTK crash
The bugs is reported on WebKit bugzilla as a regression, reporting it here in case the Eclipse code is making a mistake in its WebKit usage.