You are not logged in.

#1 2023-05-12 10:08:59

float
Member
Registered: 2012-10-05
Posts: 23

Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

I've been having this issue since quite some time now and it survived many updates. It even happens if I install the apps and the runtime via Flatpak. I couldn't find much about this online either so you guys are my last resort. The GTK library and the Java runtime are from the official repository. It happens no matter which version of the JRE I choose. I'm using cinnamon (which is GTK3 based) but that shouldn't be related to the bug, I guess.

As a workaround, I tried to change jdk.gtk.version but that doesn't do anything, it's using GTK3 no matter the value of that setting.

This is a dump from one of the apps that trigger the bug (portfolio-performance):

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fa5df337f8e, pid=304653, tid=304654
#
# JRE version: OpenJDK Runtime Environment (20.0.1+9) (build 20.0.1+9)
# Java VM: OpenJDK 64-Bit Server VM (20.0.1+9, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libgtk-3.so.0+0x337f8e]  gtk_widget_is_sensitive+0x1e
#
[...]

---------------  S U M M A R Y ------------

Command Line: -XX:+IgnoreUnrecognizedVMOptions -Dosgi.requiredJavaVersion=17 --add-modules=ALL-SYSTEM -XX:+UseG1GC -XX:+UseStringDeduplication -Xms512m -Xmx1g -Djdk.gtk.version=3 /opt/portfolio-performance-bin//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /opt/portfolio-performance-bin/PortfolioPerformance -name PortfolioPerformance --launcher.library /opt/portfolio-performance-bin//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.700.v20221108-1024/eclipse_11801.so -startup /opt/portfolio-performance-bin//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.overrideVmargs -exitdata f000a -vm /usr/bin/java -vmargs -XX:+IgnoreUnrecognizedVMOptions -Dosgi.requiredJavaVersion=17 --add-modules=ALL-SYSTEM -XX:+UseG1GC -XX:+UseStringDeduplication -Xms512m -Xmx1g -Djdk.gtk.version=3 -jar /opt/portfolio-performance-bin//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar

Host: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 8 cores, 23G, Arch Linux
Time: Fri May 12 11:42:41 2023 CEST elapsed time: 28.948907 seconds (0d 0h 0m 28s)

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

Current thread (0x00007fa648018660):  JavaThread "main" [_thread_in_native, id=304654, stack(0x00007fa64e300000,0x00007fa64e400000)]

Stack: [0x00007fa64e300000,0x00007fa64e400000],  sp=0x00007fa64e3fda30,  free space=1014k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libgtk-3.so.0+0x337f8e]  gtk_widget_is_sensitive+0x1e
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 4654  org.eclipse.swt.internal.gtk3.GTK3.gtk_main_iteration_do(Z)Z (0 bytes) @ 0x00007fa6384eb0f9 [0x00007fa6384eb0a0+0x0000000000000059]
j  org.eclipse.swt.widgets.Display.readAndDispatch()Z+54
j  org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run()V+564
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.e4.ui.internal.workbench.swt.E4Application.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+139
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
j  java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+11 java.base@20.0.1
j  java.lang.invoke.LambdaForm$MH+0x0000000801007800.invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+54 java.base@20.0.1
j  java.lang.invoke.LambdaForm$MH+0x0000000801007c00.invokeExact_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+22 java.base@20.0.1
j  jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+72 java.base@20.0.1
j  jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+23 java.base@20.0.1
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+102 java.base@20.0.1
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 0x00007fa637d37cc6

Thanks a lot!

Last edited by float (2023-05-24 07:01:32)

Offline

#2 2023-05-12 10:34:00

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,038

Re: Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

The log shows many occurences of Eclipse, suggesting this may not be a standard java app .

Maybe [https://wiki.archlinux.org/title/Eclipse  helps ?

Last edited by Lone_Wolf (2023-05-12 10:36:14)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2023-05-13 20:23:43

float
Member
Registered: 2012-10-05
Posts: 23

Re: Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

Thanks for your reply!
I'm not sure what you mean by "not a standard java app" but the wiki article is about the Eclipse IDE. I tried to set the environment variables mentioned in the article but it doesn't help unfortunately.
I tried different java runtimes like jdk17-temurin but the error remains the same.
Since the SWT framework seems to be part of Eclipse I could try to file a bugreport there.

Offline

#4 2023-05-13 20:40:54

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

I tried to set the environment variables mentioned in the article

When, where and how?

"-Djdk.gtk.version=3" (See "Command Line:" in the summary) could be an issue, so make sure that's set to v2.
The eclipse ini might not be relevant to https://aur.archlinux.org/packages/port … rmance-bin

Offline

#5 2023-05-14 08:15:54

float
Member
Registered: 2012-10-05
Posts: 23

Re: Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

I tried to set SWT_GTK3=0 as an env var and different options in /opt/portfolio-performance-bin/PortfolioPerformance.ini but SWT already dropped support for GTK2 so that workaround is not possible anymore. Changing jdk.gtk.version=3 to 2 or 2.2 didn't do anything either. It still uses libgtk-3 and triggers the segfault.

Offline

#6 2023-05-14 09:32:05

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

Ok, let's focus on the bug then.
Are you running cinnamon on wayland or x11? Does it matter?
Is the actual eclipse IDE affected as well?
When did this start to be a prolem? (Roundabout - mostly whether this is an outfall of the glib2-broke-malloc situation)

Offline

#7 2023-05-14 10:22:11

float
Member
Registered: 2012-10-05
Posts: 23

Re: Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

Cinnamon does not support Wayland yet so it's the Xorg server for now.
I have not installed the Eclipse IDE, since the SWT framework triggers the bug I guess it would also be affected.
First time I noticed this bug is a few months ago with dbeaver. But that was just sporadically (maybe not even the same function, I'm not sure).
Now I can reporoduce it with a single click. Happens every single time.

Offline

#8 2023-05-14 12:48:24

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

I have not installed the Eclipse IDE, since the SWT framework triggers the bug I guess it would also be affected.

Don't guess, check. Right now you're running some binary release of something - god knows what that might do to the stack.

Does it still/also affect dbeaver?

Offline

#9 2023-05-14 13:18:18

float
Member
Registered: 2012-10-05
Posts: 23

Re: Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

Right now you're running some binary release of something

I also tried the portfolio AUR package which compiles the whole thing (which takes forever thanks to the dependency hell).
The backtrace is slightly different here:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f07dc735161, pid=425297, tid=425298
#
# JRE version: OpenJDK Runtime Environment (17.0.7+7) (build 17.0.7+7)
# Java VM: OpenJDK 64-Bit Server VM (17.0.7+7, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libgobject-2.0.so.0+0x39161]  g_type_check_instance_is_a+0x41
#

---------------  S U M M A R Y ------------

Command Line: -XX:+IgnoreUnrecognizedVMOptions -Dosgi.requiredJavaVersion=17 --add-modules=ALL-SYSTEM -XX:+UseG1GC -XX:+UseStringDeduplication -Xms512m -Xmx1g -Djdk.gtk.version=3 /usr/share/portfolio//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /usr/share/portfolio/PortfolioPerformance -name PortfolioPerformance --launcher.library /usr/share/portfolio//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.700.v20221108-1024/eclipse_11801.so -startup /usr/share/portfolio//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.overrideVmargs -exitdata 178011 -vm /usr/bin/java -vmargs -XX:+IgnoreUnrecognizedVMOptions -Dosgi.requiredJavaVersion=17 --add-modules=ALL-SYSTEM -XX:+UseG1GC -XX:+UseStringDeduplication -Xms512m -Xmx1g -Djdk.gtk.version=3 -jar /usr/share/portfolio//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar

Host: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 8 cores, 23G, Arch Linux
Time: Sun May 14 15:15:14 2023 CEST elapsed time: 14.566012 seconds (0d 0h 0m 14s)

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

Current thread (0x00007f07f8014800):  JavaThread "main" [_thread_in_native, id=425298, stack(0x00007f07fdb00000,0x00007f07fdc00000)]

Stack: [0x00007f07fdb00000,0x00007f07fdc00000],  sp=0x00007f07fdbfd678,  free space=1013k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libgobject-2.0.so.0+0x39161]  g_type_check_instance_is_a+0x41

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 5389  org.eclipse.swt.internal.gtk3.GTK3.gtk_main_iteration_do(Z)Z (0 bytes) @ 0x00007f07e8e1ab61 [0x00007f07e8e1ab20+0x0000000000000041]
J 7266 c1 org.eclipse.swt.widgets.Display.readAndDispatch()Z (88 bytes) @ 0x00007f07e1ddcaac [0x00007f07e1ddc8e0+0x00000000000001cc]
j  org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run()V+564
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.e4.ui.internal.workbench.swt.E4Application.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+139
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@17.0.7
j  jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+133 java.base@17.0.7
j  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base@17.0.7
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base@17.0.7
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: 0x00007f000913087e

Does it still/also affect dbeaver

It does (community/dbeaver):

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fa823b37f8e, pid=417232, tid=417233
#
# JRE version: OpenJDK Runtime Environment (17.0.7+7) (build 17.0.7+7)
# Java VM: OpenJDK 64-Bit Server VM (17.0.7+7, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libgtk-3.so.0+0x337f8e]  gtk_widget_is_sensitive+0x1e
#

---------------  S U M M A R Y ------------

Command Line: -XX:+IgnoreUnrecognizedVMOptions -Dosgi.requiredJavaVersion=17 --add-modules=ALL-SYSTEM --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.vm=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED --add-opens=java.base/sun.security.util=ALL-UNNAMED -Xms64m -Xmx1024m /usr/lib/dbeaver//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /usr/lib/dbeaver/dbeaver -name Dbeaver --launcher.library /usr/lib/dbeaver//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.700.v20221108-1024/eclipse_11801.so -startup /usr/lib/dbeaver//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.overrideVmargs -exitdata 138057 -vm /usr/bin/java -vmargs -XX:+IgnoreUnrecognizedVMOptions -Dosgi.requiredJavaVersion=17 --add-modules=ALL-SYSTEM --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.vm=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED --add-opens=java.base/sun.security.util=ALL-UNNAMED -Xms64m -Xmx1024m -jar /usr/lib/dbeaver//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar

Host: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 8 cores, 23G, Arch Linux
Time: Sun May 14 15:06:35 2023 CEST elapsed time: 21.324880 seconds (0d 0h 0m 21s)

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

Current thread (0x00007fa88c015b20):  JavaThread "main" [_thread_in_native, id=417233, stack(0x00007fa893900000,0x00007fa893a00000)]

Stack: [0x00007fa893900000,0x00007fa893a00000],  sp=0x00007fa8939fd3e0,  free space=1012k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libgtk-3.so.0+0x337f8e]  gtk_widget_is_sensitive+0x1e

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 7093  org.eclipse.swt.internal.gtk3.GTK3.gtk_main_iteration_do(Z)Z (0 bytes) @ 0x00007fa87d0e6861 [0x00007fa87d0e6820+0x0000000000000041]
J 8416 c1 org.eclipse.swt.widgets.Display.readAndDispatch()Z (88 bytes) @ 0x00007fa876131b3c [0x00007fa8761319c0+0x000000000000017c]
j  org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run()V+564
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$248+0x00000001003821c0.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.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+645
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@17.0.7
j  jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+133 java.base@17.0.7
j  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base@17.0.7
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base@17.0.7
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

Don't guess, check.

I tried the Flatpak because the AUR packages will take even longer to build. Same thing (the gtk_widget_is_sensitive one).

Offline

#10 2023-05-14 13:57:49

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

https://github.com/dbeaver/dbeaver/issues/19362 - issue seems to be some screen reader orca)
Globally (/etc/profile.d)

export NO_AT_BRIDGE=1

and re-login.

https://forum.portfolio-performance.inf … n-ab/23670 - user removed .config/dconf/user
No idea whether that related to a screenreader as well.

Offline

#11 2023-05-14 15:23:47

float
Member
Registered: 2012-10-05
Posts: 23

Re: Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

Setting NO_AT_BRIDGE=1 does seem to help indeed, thanks a lot!
I'll test a bit more and mark this as resolved when it doesn't happen anymore.
Again, thanks a lot!

Offline

#12 2023-05-24 07:00:10

float
Member
Registered: 2012-10-05
Posts: 23

Re: Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

I've tested it for some time now and it seems to work. The only problem is that Cinnamon unsets that variable when it starts (see here) so I cannot use ~/.xprofile and all these..
I'll figure out a way to solve this. The problem I described in this thread is solved, thanks again!

Offline

#13 2023-05-24 07:21:57

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

https://github.com/linuxmint/cinnamon/b … ain.c#L342 is an obvious bug, the intention is to create a specific environment around the "meta_init();" call, but would require to store and restore the status quo ante.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#14 2023-05-24 08:33:50

float
Member
Registered: 2012-10-05
Posts: 23

Re: Java apps crash with a segfault in gtk_widget_is_sensitive [solved]

I'll file a bug in the Cinnamon GitHub project soon and create a PR as soon as I have some spare time. Should be easy to fix.

I've marked the thread as solved.
Thanks!

----
GitHub issue for cinnamon: https://github.com/linuxmint/cinnamon/issues/11673

Last edited by float (2023-06-05 18:50:01)

Offline

Board footer

Powered by FluxBB