Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: GUI crash - fatal error with gtk in Linux (openSUSE Tumbleweed) #1315

Open
dhdeangelis opened this issue Feb 10, 2025 · 4 comments
Open
Labels

Comments

@dhdeangelis
Copy link

Describe the bug
Hale 5.4.0 GUI crashes with following message in two different machines using openSUSE Tumbleweed (20250109):

> /usr/local/hale-studio-5.4.0-linux.gtk.x86_64/HALE
10.02.2025 19:17:45 WARN  o.e.g.b.e.i.s.ExtenderConfiguration.addDefaultDependencyFactories(334) - Gemini Blueprint extensions bundle not present, annotation processing disabled.
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
Feb 10, 2025 7:17:46 PM com.orientechnologies.common.log.OLogManager log
WARNING: Cannot find default script language for javascript
10.02.2025 19:17:46 WARN  c.o.c.l.OLogManager.log(49) - Cannot find default script language for javascript
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fa9ca348879, pid=224919, tid=224920
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.5+8 (17.0.5+8) (build 17.0.5+8)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.5+8 (17.0.5+8, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libgdk-3.so.0+0x49879]  gdk_window_get_screen+0x19
#
# 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/hernan/GeoNatura/proy/StnReg/harmonisering/20250210/core.224919)

To Reproduce
Steps to reproduce the behavior:

  1. open Hale 5.4.0
  2. Click on icon "Open project" or "Load input schema"
  3. GUI crashes
  4. if Hale is started from a terminal the above trace can be seen

Expected behavior
GUI works normally

Additional context

  • Hale can still be run in command line mode using existing projects. It is the GUI that crashes.
  • There are recent reports of problems with gdk_window_* libraries (see below), so there is a chance that this problem is not caused by Hale but some faulty interaction between it and the system's GTK libraries.

(*)
https://gitlab.gnome.org/GNOME/gtk/-/issues/7299
https://bugzilla.opensuse.org/show_bug.cgi?id=1236631
-> note that the cited solution to update to gtk-layer-shell >= 0.9.0 seems not to be sufficient, as I have 0.9.0-1 and still see the problem.

@dhdeangelis
Copy link
Author

Note: 5.3.0 fails too with the same error. I recall using this version so problem is very probably originated by some upstream package. Still worth knowing that it happens IMO.

@dhdeangelis dhdeangelis changed the title [BUG]: fatal error with gtk in Linux (openSUSE Tumbleweed) [BUG]: GUI crash - fatal error with gtk in Linux (openSUSE Tumbleweed) Feb 10, 2025
@florianesser
Copy link
Member

Hi @dhdeangelis, thanks for reaching out and reporting the problem! I can't reproduce this on Ubuntu 24.10, neither using Wayland nor Xorg. So it indeed appears likely that this is caused by a dependency of openSUSE.

@dhdeangelis
Copy link
Author

Thank you for your feedback @florianesser . I also tested with Xorg and Wayland in both KDE and Xfce. All four combinations fail with same error. So it is indeed as you write.

May I ask you what version of gtk3 does Ubuntu 24.10 use at the moment? My machines currently use 3.24.48-4.1. Thank you.

@dhdeangelis
Copy link
Author

dhdeangelis commented Feb 12, 2025

I have dug more on this issue and got a recommendation from the GTK folks that the problem likely has nothing to do with GTK, but that Hale and the OS should avoid using "private data", which I guess means GTK's internal types and functions. Could this be the root of the issue?

See more here: https://discourse.gnome.org/t/test-suite-for-gtk3/27006/2?u=dhdeangelis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants