Open mjl269 opened 4 months ago
Sounds like the same bug I was facing. Does it also crash when you type ctrl+space for code autocomplete? If so, it's a problem upstream with Webkit. You need to disable WebkitGtk hardware-acceleration to stop the crashing. Do this by setting the environment variable WEBKIT_DISABLE_DMABUF_RENDERER=1. Make sure to read to the end and make it persist after a reboot.
How do i set the variable sence linux mint dose not have wayland it cant be that i looked at the info on how to do it didnt understand thanks
i have the same problem "export WEBKIT_DISABLE_DMABUF_RENDERER=1" fixed it. Ubuntu 24.04 lts and Eclipse 2024-03
@billykd4dpb does exporting the variable fix the issue? If yes, can you please update the description of this bug and add the workaround?
@billykd4dpb does exporting the variable fix the issue? If yes, can you please update the description of this bug and add the workaround?
Yes, it does (Eclipse 2023-12 on Ubuntu 24.04.1 LTS); I've added WEBKIT_DISABLE_DMABUF_RENDERER=1
to /etc/environment
Describe the bug Eclipse was just installed from eclipse-java-2024-03-R-linux-gtk-x86_64.tar.gz on Ubuntu 22.04 LTS with GTK3 and GTK4 installed, and still has no projects.
Just opening Help -> Eclipse Marketplace it crashes.
The main error messages (see appended eclCrash.log) are: Gtk-CRITICAL : 18:15:57.794: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar Gdk-CRITICAL : 18:18:32.607: gdk_window_create_gl_context: assertion 'GDK_IS_WINDOW (window)' failed
hs_err_pid6635.log eclCrash.log lsb_release.log
To Reproduce After Eclipse start just try Help -> Eclipse Marketplace. After loading is complete, and before any item is displayed, the crash occurs.
Expected behavior The crash shouldn't occur.
Screenshots n/a
Environment:
Select the platform(s) on which the behavior is seen:
Additional OS info (e.g. OS version, Linux Desktop, etc)
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
Workaround (or) Additional context No workaround possible.
Crashes also occur during normal Eclipse usage at unpredictable time, but shortly after starting.