OpenChrom / openchrom

Visualization and Analysis of mass spectrometric and chromatographic data.
https://www.openchrom.net
Eclipse Public License 1.0
85 stars 24 forks source link

Native crash on Ubuntu Linux when switching to perspective with Data Explorer #317

Closed pramit57 closed 9 months ago

pramit57 commented 1 year ago

I originally opened a thread on the adoptium support page : https://github.com/adoptium/adoptium-support/issues/628

The software crashes when I try to do almost anything from the starting screen. More details, including log files are in the thread.

Mailaender commented 1 year ago

We will update Temurin with the upcoming release ETA on Friday.

Mailaender commented 1 year ago

I doubt just updating the JVM helped. Upon investigation, I think this is https://github.com/eclipse-platform/eclipse.platform.swt/issues/678. It crashes because the icons in the tree viewer are updated. So it happens almost anywhere because most perspective have a Data Explorer part.

[libgobject-2.0.so.0+0x395a1] g_type_check_instance_is_fundamentally_a+0x11

For me, it often happens, but not always. When I remove all labelling, it seems to be gone. It also seems to be related to the GTK theme in use. I use @KDE's default Breeze on Kubuntu 23.04.

Mailaender commented 11 months ago

I still get this crash consistently in a @flatpak environment.

Mailaender commented 11 months ago
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f06aaeda0a1, pid=22, tid=23
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.9+9 (17.0.9+9) (build 17.0.9+9)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.9+9 (17.0.9+9, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libgobject-2.0.so.0+0x3e0a1]  g_type_check_instance_is_fundamentally_a+0x11

tried both the 22.08 and 23.08 @freedesktop runtime with theme Breeze and Adwaita.

Mailaender commented 11 months ago

To reproduce, you have to delete your workspace. Then it always happens.

Mailaender commented 10 months ago

Still crashes in a flatpak environment

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f7527edb0a1, pid=22, tid=23
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.9+9 (17.0.9+9) (build 17.0.9+9)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.9+9 (17.0.9+9, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libgobject-2.0.so.0+0x3e0a1]  g_type_check_instance_is_fundamentally_a+0x11
Mailaender commented 9 months ago

I finally have a workaround: https://github.com/eclipse/chemclipse/pull/1624