Bug 2271558 - Eclipse IDE crashes with Wayland
Summary: Eclipse IDE crashes with Wayland
Keywords:
Status: CLOSED DUPLICATE of bug 2271072
Alias: None
Product: Fedora
Classification: Fedora
Component: webkitgtk
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michael Catanzaro
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-26 07:34 UTC by Roger Wegmann
Modified: 2024-03-26 13:09 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-03-26 13:09:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Roger Wegmann 2024-03-26 07:34:04 UTC
The problem doesn't appear running X11 instead of Wayland.


Reproducible: Always

Steps to Reproduce:
1. Stat Eclipse.
2. Open some files in the editor.

Actual Results:  
Eclipse freezes and doesn't respond anymore. After it crashes.

Expected Results:  
Shouldn't freeze and crash.

Happens with both, the Java VM from inside eclispe and with the one from Fedora. Here is the output of the stack trace (hs_err_pid....log):

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fb1e79b6260, pid=3933, tid=3934
#
# JRE version: OpenJDK Runtime Environment (Red_Hat-17.0.9.0.9-4) (17.0.9+9) (build 17.0.9+9)
# Java VM: OpenJDK 64-Bit Server VM (Red_Hat-17.0.9.0.9-4) (17.0.9+9, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libwebkit2gtk-4.0.so.37+0xdb6260]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /home/wegmann/core.3933)
#
# If you would like to submit a bug report, please visit:
#   https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-17-openjdk&version=38
# 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: -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclientjava -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=/eclipse-worksp
ace -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Declipse.e4.inject.javax.warning=false -Xms512m -Xmx2048m -XX:+UseG1GC -XX:+UseStringDeduplication --add-m
odules=ALL-SYSTEM -Djava.security.manager=allow --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED /opt/eclipse//plugins/org.eclipse.equinox.launcher
_1.6.600.v20231106-1826.jar -os linux -ws gtk -arch x86_64 -showsplash /opt/eclipse//plugins/org.eclipse.epp.package.common_4.30.0.20231201-1200/splash.bmp -launcher /opt/eclipse/eclipse -name Eclipse --launcher
.library /opt/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.800.v20231003-1442/eclipse_11802.so -startup /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.6.600.v20231106-1826.jar --launc
her.appendVmargs -exitdata 1 -product org.eclipse.epp.package.jee.product -vm /usr/lib/jvm/java-17/bin/java -vmargs -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransf
er.httpclientjava -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=/eclipse-workspace -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Decl
ipse.e4.inject.javax.warning=false -Dsun.java.command=Eclipse -Xms512m -Xmx2048m -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Djava.security.manager=allow --add-opens=java.base/java.securit
y=ALL-UNNAMED --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED -jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.6.600.v20231106-1826.jar

Host: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 8 cores, 15G, Fedora release 39 (Thirty Nine)
Time: Tue Mar 26 08:18:42 2024 CET elapsed time: 133.695945 seconds (0d 0h 2m 13s)

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

Current thread (0x00007fb3dc027320):  JavaThread "main" [_thread_in_native, id=3934, stack(0x00007fb3e2c1f000,0x00007fb3e2d1f000)]

Stack: [0x00007fb3e2c1f000,0x00007fb3e2d1f000],  sp=0x00007fb3e2d1bfe0,  free space=1011k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libwebkit2gtk-4.0.so.37+0xdb6260]
C  [libwebkit2gtk-4.0.so.37+0xdb63a0]
C  [libwebkit2gtk-4.0.so.37+0xb29309]
C  [libwebkit2gtk-4.0.so.37+0xbf3e82]
C  [libwebkit2gtk-4.0.so.37+0xb20f55]
C  [libwebkit2gtk-4.0.so.37+0xb2302b]
C  [libjavascriptcoregtk-4.0.so.18+0x16fc195]
C  [libjavascriptcoregtk-4.0.so.18+0x175a83d]
C  [libjavascriptcoregtk-4.0.so.18+0x175b23d]
C  [libglib-2.0.so.0+0x5be5c]
C  [libglib-2.0.so.0+0xb6f18]
C  [libglib-2.0.so.0+0x59ad3]  g_main_context_iteration+0x33
C  [libgtk-3.so.0+0x206c8d]  gtk_main_iteration_do+0x1d
C  [libswt-pi3-gtk-4963r5.so+0x5563c]  Java_org_eclipse_swt_internal_gtk3_GTK3_gtk_1main_1iteration_1do+0xc

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 13312  org.eclipse.swt.internal.gtk3.GTK3.gtk_main_iteration_do(Z)Z (0 bytes) @ 0x00007fb3cd1d0ce9 [0x00007fb3cd1d0ca0+0x0000000000000049]
J 19781 c2 org.eclipse.swt.widgets.Display.readAndDispatch()Z (88 bytes) @ 0x00007fb3ccc66cf4 [0x00007fb3ccc66c00+0x00000000000000f4]
j  org.eclipse.jface.internal.text.html.BrowserInformationControl.setVisible(Z)V+58

...

Comment 1 Michael Catanzaro 2024-03-26 13:09:21 UTC
I'm going to assume this is probably bug #2271072.

If you disagree, then please post a backtrace taken with gdb that shows where it's crashing, following the instructions from https://handbook.gnome.org/issues/stack-traces.html

*** This bug has been marked as a duplicate of bug 2271072 ***


Note You need to log in before you can comment on or make changes to this bug.