You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f306673c3c4, pid=6457, tid=6458
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.1+12 (17.0.1+12) (build 17.0.1+12)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (17.0.1+12, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [libcairo.so.2+0x643c4] cairo_region_num_rectangles+0x4
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/vogella/dev/eclipse-2022-05-05/eclipse/core.6457)
#
# An error report file with more information is saved as:
# /home/vogella/dev/eclipse-2022-05-05/eclipse/hs_err_pid6457.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Reacted by Christian Sarrasin, absin, Fedir Zinchuk, Philipp Wendler, Dave Moten, Julien HENRY, Chris Taylor, Gustavo Garayalde, Stefan Dollase, Felix Mueller and 2 more
It seems this is the same crash. Eclipse is very unstable, it also exhibits jittery display in the Project Explorer, triggered by mouse moves. Crashes often when code assist popups Are shown. Behaviour was the same on JDK17.
vogella@Scyth:/usr/lib$ dpkg -l | grep cairo
ii gtk2-engines-murrine:amd64 0.98.2-3build2 amd64 cairo-based gtk+-2.0 theme engine
ii libcairo-gobject-perl:amd64 1.005-3build1 amd64 integrate Cairo into the Glib type system in Perl
ii libcairo-gobject2:amd64 1.16.0-5ubuntu2 amd64 Cairo 2D vector graphics library (GObject library)
ii libcairo-perl:amd64 1.109-2build1 amd64 Perl interface to the Cairo graphics library
ii libcairo-script-interpreter2:amd64 1.16.0-5ubuntu2 amd64 Cairo 2D vector graphics library (script interpreter)
ii libcairo2:amd64 1.16.0-5ubuntu2 amd64 Cairo 2D vector graphics library
ii libcairomm-1.0-1v5:amd64 1.12.2-4build3 amd64 C++ wrappers for Cairo (shared libraries)
ii libdecor-0-plugin-1-cairo:amd64 0.1.0-3build1 amd64 default decoration plugin
ii libpangocairo-1.0-0:amd64 1.50.6+ds-2 amd64 Layout and rendering of internationalized text
ii libpixman-1-0:amd64 0.40.0-1build4 amd64 pixel-manipulation library for X and cairo
ii python3-cairo:amd64 1.20.1-3build1 amd64 Python3 bindings for the Cairo vector graphics library
ii python3-gi-cairo 3.42.0-3build1 amd64 Python 3 Cairo bindings for the GObject library
Here is the log (can't attach all was it is too long)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f306673c3c4, pid=6457, tid=6458
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.1+12 (17.0.1+12) (build 17.0.1+12)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (17.0.1+12, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [libcairo.so.2+0x643c4] cairo_region_num_rectangles+0x4
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/vogella/dev/eclipse-2022-05-05/eclipse/core.6457)
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- S U M M A R Y ------------
Command Line: -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms256m -Xmx2048m --add-modules=ALL-SYSTEM /home/vogella/dev/eclipse-2022-05-05/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /home/vogella/dev/eclipse-2022-05-05/eclipse/eclipse -name Eclipse --launcher.library /home/vogella/dev/eclipse-2022-05-05/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.500.v20220509-0833/eclipse_11701.so -startup /home/vogella/dev/eclipse-2022-05-05/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.appendVmargs -exitdata b -vm /home/vogella/.sdkman/candidates/java/current/bin/java -vmargs -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms256m -Xmx2048m --add-modules=ALL-SYSTEM -jar /home/vogella/dev/eclipse-2022-05-05/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
Host: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 8 cores, 31G, Ubuntu 22.04 LTS
Time: Sat May 21 10:21:01 2022 CEST elapsed time: 43.768422 seconds (0d 0h 0m 43s)
--------------- T H R E A D ---------------
Current thread (0x00007f30b0024950): JavaThread "main" [_thread_in_native, id=6458, stack(0x00007f30b62d8000,0x00007f30b63d8000)]
Stack: [0x00007f30b62d8000,0x00007f30b63d8000], sp=0x00007f30b63d4f58, free space=1011k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libcairo.so.2+0x643c4] cairo_region_num_rectangles+0x4
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 2780 org.eclipse.swt.internal.gtk3.GTK3.gtk_main_do_event(J)V (0 bytes) @ 0x00007f30a10b7069 [0x00007f30a10b7020+0x0000000000000049]
J 10964 c2 org.eclipse.swt.widgets.Display.eventProc(JJ)J (212 bytes) @ 0x00007f30a146c3b8 [0x00007f30a146c300+0x00000000000000b8]
v ~StubRoutines::call_stub
J 2769 org.eclipse.swt.internal.gtk3.GTK3.gtk_main_iteration_do(Z)Z (0 bytes) @ 0x00007f30a10b6469 [0x00007f30a10b6420+0x0000000000000049]
J 12276 c1 org.eclipse.swt.widgets.Display.readAndDispatch()Z (88 bytes) @ 0x00007f309ae9533c [0x00007f309ae951c0+0x000000000000017c]
j org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run()V+564
j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(Lorg/eclipse/e4/ui/model/application/MApplicationElement;Lorg/eclipse/e4/core/contexts/IEclipseContext;)Ljava/lang/Object;+57
j org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(Lorg/eclipse/e4/ui/model/application/MApplicationElement;)V+20
j org.eclipse.ui.internal.Workbench.lambda$3(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;[I)V+393
j org.eclipse.ui.internal.Workbench$$Lambda$246+0x0000000800dfd588.run()V+12
j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+16
j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+113
j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+138
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+85
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+79
j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+99
j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+132
v ~StubRoutines::call_stub
j jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 [email protected]
j jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+133 [email protected]
j jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 [email protected]
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 [email protected]
j org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+201
j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+159
j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10
v ~StubRoutines::call_stub
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000004
0x00007f30b63d4f88: 00007fct 20 2021 12:00:24 by "" with gcc 7.5.0
END.
Eclipse crashes frequently and unpredictably under Debian 10. It could not be reproduced yet. In a forum there was a tip to start Eclipse with the command line option -Djdk.gtk.version=2. But that does not help. Eclipse is therefore no longer usable under Debian, which is very regrettable.
Eclipse crashes frequently and unpredictably under Debian 10. It could not be reproduced yet. In a forum there was a tip to start Eclipse with the command line option -Djdk.gtk.version=2. But that does not help. Eclipse is therefore no longer usable under Debian, which is very regrettable.
Good news! Today I upgraded wayland to version 1.23.0 and I can confirm that Eclipse version 4.32M1 and SpringToolSuite snapshot 4.23 (based on Ecplise 4.32 too) are back working smoothly, at first sight. Eclipse 4.31 and tools based on it still show the bug.
Thank you for reporting back good news. vogella or anybody else can you confirm 4.32 RC works fine for you?
Just to clarify Eclipse 4.32 is already in RC1 and should reach stable soon.
@danthe1st Which version of wayland package, and what distro?
I am using Ubuntu 24.04 LTS x86_64 on GNOME 46.0 with mutter 46.0-1ubuntu9
EDIT: dpkg --list|grep libwebkit gives me the following output:
ii libwebkit2gtk-4.1-0:amd64 2.44.2-0ubuntu0.24.04.1 amd64 Web content engine library for GTK
ii libwebkitgtk-6.0-4:amd64 2.44.2-0ubuntu0.24.04.1 amd64 Web content engine library for GTK
I'm hitting this problem even on Eclipse 2024-06 RC1, and I have to use the GDK_BACKEND=x11 workaround.
I'm on Debian Sid, Wayland 1.22.0, libwebkitgtk 2.45.3.
Reacted by Lorival Warmeling Matias and Pedro Calixto
The RC1 is crashing too, but it seems from different reason (I have same lib versions as @gustabart ). Also sometimes context menus are lagging for a minute, but that happens on Thunderbird too, so maybe that is something between Wayland and GTK. I also noticed that I was able to restart kwin when running X11 with kwin_x11 --replace & but on Wayland when I run kwin_wayland --replace & everything crashes.
I am downloading the 2024-06 right now.
Sadly, after upgrading to Ubuntu 24.04 & Eclipse 2024-06, the Wayland session restarts without any warning,
I can see it on the Kubuntu 22.04.4 too with the latest final Eclipse IDE version:
On start, Eclipse freezes for long 2-10 minutes, then finally starts. The CPU load is around 400% in htop and the window title is set to Eclipse IDE Launcher (Not Responding)
After some work (5 minutes to 2 days uptime), Eclipse crashes without any log. Just pops out the crash report with JVM options etc. It seems to me the less I work with that the more probable is the crash but I am not sure with that.
Yesterday crashed all applications in the Wayland session; Question: Is it really possible that one application can crash the whole system UI?
With export GDK_BACKEND=x11 it starts in 5 seconds even with the load produced by the second workspace. Currently I don't know yet how long uptime it can take. But it doesn't seem the issue is resolved.
On start, Eclipse freezes for long 2-10 minutes, then finally starts. The CPU load is around 400% in htop and the window title is set to Eclipse IDE Launcher (Not Responding)
I had a similar issue with the latest release (startup takes some time while resolving OSGi modules) though reinstalling Eclipse worked for me. You can try using the -clean option to fix that.
After some work (5 minutes to 2 days uptime), Eclipse crashes without any log. Just pops out the crash report with JVM options etc.
Is that the same error as above?
Is it really possible that one application can crash the whole system UI?
@HannesWell we moved to the I-Build with one of our Ubuntu installations in which the Eclipse IDE constantly crashes whenever we try to open a JS or css file. So far so good, we did not had a crash for 10 minutes now. A new record on this machine.
@vogella can we assume that the original issue has been resolved and can close this one?
I'm not an expert for for Wayland, but if there are other issues with SWT on Wayland it would be easier to resolve if there are dedicated issues instead of one large 'SWT Wayland problems' issue.
Eclipse runs fine for me on latest Ubuntu. Feel free to close
Thanks for the update. Ok, closing this.
Everyone with problems under Linux using Wayland, please create dedicated bug reports for them with as detailed as possible steps to reproduce. And please make sure there is not already an issue for that exact issue. If so please check if you can help to resolve it.
I ended up here recently after searching the very generic error message at the top. It's worth emphasising for anyone else that gets here now that if you're still getting the issue with eclipse, it's worth trying to apt dist-upgrade first since a similar error may pop up anyway with an outdated wayland version even if your eclipse is up to date. I'm unlucky enough to be running an Ubuntu-based corporate home-brew distro that has been stripped of the standard auto-update features, so it was necessary to do this manually to avoid getting the error.
Activity
iloveeclipse commentedon May 21, 2022
Please attach /home/vogella/dev/eclipse-2022-05-05/eclipse/hs_err_pid6457.log and exact versions of gtk / cairo libraries.
merks commentedon May 21, 2022
Note that the latest 17.x version is currently 17.0.3+7 though it's unlikely a bug in the JVM....
mutatrum commentedon May 29, 2022
It seems this is the same crash. Eclipse is very unstable, it also exhibits jittery display in the Project Explorer, triggered by mouse moves. Crashes often when code assist popups Are shown. Behaviour was the same on JDK17.
hs_err_pid1156435.log
iloveeclipse commentedon May 30, 2022
@mutatrum : Is the crash reproducible? If yes, please provide steps to reproduce. Looks like you are using wayland. Can you please switch to X11?
vogella commentedon May 30, 2022
Sorry was on holiday.
Cairo library:
Here is the log (can't attach all was it is too long)
vogella commentedon May 30, 2022
Way to reproduce:
Bye bye Eclipse
iloveeclipse commentedon May 30, 2022
@vogella : are you also using wayland? If yes, can you please switch to X11 & check if that will still crash?
vogella commentedon May 30, 2022
@nnemkin @akurtakov @niraj-modi FYI this bugs makes Eclipse impossible to use with latest Ubuntu.
vogella commentedon May 30, 2022
Works fine with X11. Still a critial bug as Ubuntus deault is Wayland.
niraj-modi commentedon May 30, 2022
Couple of queries:
Is it a regression in 4.24 M3 ?
Also is it specific to Java17 ?
@sravanlakkimsetti @joel-majano
Any idea here ?
akurtakov commentedon May 30, 2022
Is your ubuntu fully uptodate?
heike2718 commentedon May 30, 2022
Same on Debian 10
Eclipse crashes frequently and unpredictably under Debian 10. It could not be reproduced yet. In a forum there was a tip to start Eclipse with the command line option -Djdk.gtk.version=2. But that does not help. Eclipse is therefore no longer usable under Debian, which is very regrettable.
Please check one of the crash-reports:
hs_err_pid14497.log
Operating System: Debian GNU/Linux 10 (buster)
Kernel: Linux 4.19.0-20-amd64
Output of "Help->About Eclipse-> "Copy build Id informatin to clipboard":
Eclipse IDE for Java Developers (includes Incubating components)
Version: 2022-03 (4.23.0)
Build id: 20220310-1457
OS: Linux, v.4.19.0-20-amd64, x86_64 / gtk 3.24.5
Java vendor: Eclipse Adoptium
Java runtime version: 17.0.2+8
Java version: 17.0.2
My Eclipse is running with openjdk version "11.0.15" 2022-04-19.
sravanlakkimsetti commentedon May 30, 2022
This is a different crash related to webkit. Please open this as a separate issue.
120 remaining items
danthe1st commentedon Jun 6, 2024
For me it works with the 2024-06 release candidate while 2024-03 crashes with the
libwebkit2gtkmessage.4javier commentedon Jun 6, 2024
@danthe1st
Which version of
waylandpackage, and what distro?danthe1st commentedon Jun 6, 2024
I am using
Ubuntu 24.04 LTS x86_64onGNOME 46.0withmutter 46.0-1ubuntu9EDIT:
dpkg --list|grep libwebkitgives me the following output:adisandro commentedon Jun 11, 2024
I'm hitting this problem even on Eclipse 2024-06 RC1, and I have to use the GDK_BACKEND=x11 workaround.
I'm on Debian Sid, Wayland 1.22.0, libwebkitgtk 2.45.3.
gustabart commentedon Jun 13, 2024
I downloaded the last Eclipse IDE 2024-06 yesterday (Version 4.32.0).
The problem was resolved. It works correctly on wayland.
dmatej commentedon Jun 23, 2024
The RC1 is crashing too, but it seems from different reason (I have same lib versions as @gustabart ). Also sometimes context menus are lagging for a minute, but that happens on Thunderbird too, so maybe that is something between Wayland and GTK. I also noticed that I was able to restart kwin when running X11 with
kwin_x11 --replace &but on Wayland when I runkwin_wayland --replace &everything crashes.I am downloading the 2024-06 right now.
cipianpascu commentedon Jun 24, 2024
Sadly, after upgrading to Ubuntu 24.04 & Eclipse 2024-06, the Wayland session restarts without any warning,
dmatej commentedon Jun 25, 2024
I can see it on the Kubuntu 22.04.4 too with the latest final Eclipse IDE version:
Eclipse IDE Launcher (Not Responding)With
export GDK_BACKEND=x11it starts in 5 seconds even with the load produced by the second workspace. Currently I don't know yet how long uptime it can take. But it doesn't seem the issue is resolved.danthe1st commentedon Jun 25, 2024
I had a similar issue with the latest release (startup takes some time while resolving OSGi modules) though reinstalling Eclipse worked for me. You can try using the
-cleanoption to fix that.Is that the same error as above?
This may be a GTk bug IIRC.
HannesWell commentedon Jun 25, 2024
@vogella can we assume that the original issue has been resolved and can close this one?
I'm not an expert for for Wayland, but if there are other issues with SWT on Wayland it would be easier to resolve if there are dedicated issues instead of one large 'SWT Wayland problems' issue.
vogella commentedon Jun 25, 2024
Eclipse runs fine for me on latest Ubuntu. Feel free to close
HannesWell commentedon Jun 26, 2024
Thanks for the update. Ok, closing this.
Everyone with problems under Linux using Wayland, please create dedicated bug reports for them with as detailed as possible steps to reproduce. And please make sure there is not already an issue for that exact issue. If so please check if you can help to resolve it.
dpetroff commentedon Jun 27, 2024
I ended up here recently after searching the very generic error message at the top. It's worth emphasising for anyone else that gets here now that if you're still getting the issue with eclipse, it's worth trying to
apt dist-upgradefirst since a similar error may pop up anyway with an outdated wayland version even if your eclipse is up to date. I'm unlucky enough to be running an Ubuntu-based corporate home-brew distro that has been stripped of the standard auto-update features, so it was necessary to do this manually to avoid getting the error.alfsch commentedon Aug 19, 2024
Works for me now :-)