[Bug 1988843] Re: Eclipse IDE crashing with Java errors since 22.04 upgrade when using wayland

Roger C-O 1988843 at bugs.launchpad.net
Wed Nov 1 14:09:18 UTC 2023


Sorry, I fixed the problem for myself by simply not using Wayland, which
seemed to be very buggy in lots of areas, not just this one.

I'm not going to try Wayland again I'm afraid. It may be there have been
updates to Wayland since this first occurred, or maybe it has been fixed
by one of the intervening Ubuntu updates. Perhaps the Eclipse update to
2023-09 helped.

In any event I've no intention of switching to Wayland again since that
appears to be the cause of the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1988843

Title:
  Eclipse IDE crashing with Java errors since 22.04 upgrade when using
  wayland

Status in Release Notes for Ubuntu:
  New
Status in openjdk-lts package in Ubuntu:
  Incomplete

Bug description:
  Eclipse IDE (2022-06 updated since 2019-09) crashing since Ubuntu
  updated 20.04 -> 22.04.01

  Happens several times daily with no obvious pattern.

  Most recent log (or the first chunk of it, another 400kB available):
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  SIGSEGV (0xb) at pc=0x00007f087124c316, pid=105292, tid=105293
  #
  # JRE version: OpenJDK Runtime Environment (11.0.16+8) (build 11.0.16+8-post-Ubuntu-0ubuntu122.04)
  # Java VM: OpenJDK 64-Bit Server VM (11.0.16+8-post-Ubuntu-0ubuntu122.04, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
  # Problematic frame:
  # C  [libwebkit2gtk-4.0.so.37+0xbc8316]
  #
  # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/roger/core.105292)
  #
  # If you would like to submit a bug report, please visit:
  #   https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
  # 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: -Declipse.p2.max.threads=10
  -Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
  -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
  -Dosgi.requiredJavaVersion=11
  -Dosgi.instance.area.default=@user.home/eclipse-workspace -XX:+UseG1GC
  -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM
  -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true
  -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms256m
  -Xmx2048m --add-modules=ALL-SYSTEM
  /home/roger/eclipse/php-2020-06/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
  -os linux -ws gtk -arch x86_64 -showsplash
  /home/roger/.p2/pool/plugins/org.eclipse.epp.package.common_4.24.0.20220609-1200/splash.bmp
  -launcher /home/roger/eclipse/php-2020-06/eclipse/eclipse -name
  Eclipse --launcher.library
  /home/roger/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.500.v20220509-0833/eclipse_11701.so
  -startup
  /home/roger/eclipse/php-2020-06/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
  --launcher.appendVmargs -exitdata 30022 -product
  org.eclipse.epp.package.php.product -vm /usr/bin/java -vmargs
  -Declipse.p2.max.threads=10
  -Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
  -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
  -Dosgi.requiredJavaVersion=11
  -Dosgi.instance.area.default=@user.home/eclipse-workspace
  -Dsun.java.command=Eclipse -XX:+UseG1GC -XX:+UseStringDeduplication
  --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11
  -Dosgi.dataAreaRequiresExplicitInit=true
  -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms256m
  -Xmx2048m --add-modules=ALL-SYSTEM -jar
  /home/roger/eclipse/php-2020-06/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar

  Host: Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz, 4 cores, 7G, Ubuntu 22.04.1 LTS
  Time: Tue Sep  6 13:11:08 2022 BST elapsed time: 3918.751234 seconds (0d 1h 5m 18s)

  ---------------  T H R E A D  ---------------

  Current thread (0x00007f0928017000):  JavaThread "main"
  [_thread_in_native, id=105293,
  stack(0x00007f092dbf6000,0x00007f092dcf6000)]

  Stack: [0x00007f092dbf6000,0x00007f092dcf6000],  sp=0x00007f092dcf3438,  free space=1013k
  Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
  C  [libwebkit2gtk-4.0.so.37+0xbc8316]

  Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
  J 6197  org.eclipse.swt.internal.gtk.OS.g_object_unref(J)V (0 bytes) @ 0x00007f09185ec911 [0x00007f09185ec8c0+0x0000000000000051]
  j  org.eclipse.swt.browser.WebKit.lambda$8(J)V+1
  j  org.eclipse.swt.browser.WebKit$$Lambda$1197.run()V+4
  J 19197 c2 org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z (188 bytes) @ 0x00007f0918744fa4 [0x00007f0918744bc0+0x00000000000003e4]
  J 35449 c2 org.eclipse.swt.widgets.Display.readAndDispatch()Z (88 bytes) @ 0x00007f0919eae6a4 [0x00007f0919eae580+0x0000000000000124]
  J 23143% c2 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run()V (690 bytes) @ 0x00007f0918ff5278 [0x00007f0918ff50e0+0x0000000000000198]
  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$145.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 java.base at 11.0.16
  j  jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100 java.base at 11.0.16
  j  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base at 11.0.16
  j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base at 11.0.16
  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:
  0x0000000000000000

  Plus another 400k of stuff...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1988843/+subscriptions




More information about the foundations-bugs mailing list