Skip to content

[GTK] Eclipse crashes in gdk_window_get_screen starting with GTK 3.24.44Β #1937

@LorenzoBettini

Description

@LorenzoBettini

Both when I try to "Configure" the custom Cleanup dialog (with context menu, "Source", "Cleanup") and "Edit" in the corresponding Eclipse preference, Eclipse hangs and then crashes with this:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007d9ca4049b36, pid=33033, tid=33034
#
# JRE version: OpenJDK Runtime Environment (21.0.6+7) (build 21.0.6+7)
# Java VM: OpenJDK 64-Bit Server VM (21.0.6+7, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libgdk-3.so.0+0x36b36]  gdk_window_get_screen+0x26
#
# 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 /media/bettini/common/eclipse/xtext-latest/eclipse/core.33033)
#
# An error report file with more information is saved as:
# /media/bettini/common/eclipse/xtext-latest/eclipse/hs_err_pid33033.log
[144,728s][warning][os] Loading hsdis library failed
#

Note that I had reported that here eclipse-jdt/eclipse.jdt.ui#2107 but I was told it is an SWT issue.

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux
    • macOS
  1. Additional OS info (e.g. OS version, Linux Desktop, etc)

Arch Linux, KDE, Wayland (but Eclipse runs with Xwayland)

  1. JRE/JDK version

openjdk version "21.0.6" 2025-01-21

Version since
Eclipse 2025-03

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions