You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a SIGSEGV crash in the GTK Native Event Loop when clicking the system tray icon. The crash occurs in the native code, specifically in the pthread_mutex_lock function of libc.so.
val systemTray =SystemTray.get()
systemTray.setImage(DesktopResourceUtils.resourceInputStream("icon/XXXXX.png"))
systemTray.setTooltip("XXXXX")
systemTray.getMenu().add(
MenuItem("Open XXXXX") {
// todo
},
)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000763cff497ef4, pid=6371, tid=6558
#
# JRE version: OpenJDK Runtime Environment JBR-17.0.11+1-1312.2-nomod (17.0.11+1) (build 17.0.11+1-b1312.2)
# Java VM: OpenJDK 64-Bit Server VM JBR-17.0.11+1-1312.2-nomod (17.0.11+1-b1312.2, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [libc.so.6+0x97ef4] pthread_mutex_lock+0x4
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/lobachevsky/core.6371)
#
# If you would like to submit a bug report, please visit:
# https://youtrack.jetbrains.com/issues/JBR
# 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: --add-opens java.desktop/sun.awt=ALL-UNNAMED java.desktop/java.awt.peer=ALL-UNNAMED -DloggerLevel=info -DappEnv=PRODUCTION -DglobalListener=true -Dio.netty.maxDirectMemory=268435456 -DloggerDebugPackages=com.crosspaste.routing,com.crosspaste.net.clientapi,com.crosspaste.net.plugin java.desktop/sun.lwawt=ALL-UNNAMED java.desktop/sun.lwawt.macosx=ALL-UNNAMED -Dapple.awt.enableTemplateImages=true -Dmac.bundleID=com.crosspaste.mac --add-opens=java.base/sun.security.x509=ALL-UNNAMED -Dapp.fsname=crosspaste -Dapp.displayName=CrossPaste -Djava.net.useSystemProxies=true -Dapp.repositoryUrl=https://github.com/CrossPaste/crosspaste-desktop/releases/latest/download -Dskiko.library.path=/usr/lib/crosspaste/lib/app/../runtime/lib/ -Dcompose.application.resources.dir=/usr/lib/crosspaste/lib/app -Dapp.revision=862 -Dpicocli.ansi=tty -Djna.nosys=false -Dapp.version=1.0.6 -Dapp.dir=/usr/lib/crosspaste/lib/app -Djava.library.path=/usr/lib/crosspaste/lib/app/../runtime/lib/:/usr/lib/crosspaste/lib/app -Dfile.encoding=UTF-8 com.crosspaste.CrossPaste
Host: Intel(R) Xeon(R) W-2245 CPU @ 3.90GHz, 16 cores, 62G, Ubuntu 22.04.2 LTS
Time: Wed Aug 21 11:06:55 2024 CST elapsed time: 6.855077 seconds (0d 0h 0m 6s)
--------------- T H R E A D ---------------
Current thread (0x0000763cf9ad2930): JavaThread "GTK Native Event Loop" [_thread_in_native, id=6558, stack(0x0000763c48100000,0x0000763c48200000)]
Stack: [0x0000763c48100000,0x0000763c48200000], sp=0x0000763c481fa748, free space=1001k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libc.so.6+0x97ef4] pthread_mutex_lock+0x4
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j dorkbox.jna.linux.Gtk3.g_main_loop_run(Ldorkbox/jna/linux/GMainLoop;)V+0
j dorkbox.jna.linux.GtkEventDispatch$2.run()V+89
v ~StubRoutines::call_stub
siginfo: si_signo: 11 (SIGSEGV), si_code: 128 (SI_KERNEL), si_addr: 0x0000000000000000
Registers:
RAX=0x0000763ca6420210, RBX=0x0000763bd0023420, RCX=0x00000000000000ab, RDX=0x0000763c481fa7c0
RSP=0x0000763c481fa748, RBP=0x0000763c481fa7b0, RSI=0x0000763c481fa7cc, RDI=0xd885de30af9b1844
R8 =0x0000763c481fa7b0, R9 =0x0000000000000000, R10=0xaaaaaaaaaaaaaaab, R11=0x0000763bd01a6a68
R12=0x0000763c481fa7ac, R13=0x0000763c481fa7cc, R14=0x0000763c481fa7c0, R15=0x0000000000000001
RIP=0x0000763cff497ef4, EFLAGS=0x0000000000010202, CSGSFS=0x002b000000000033, ERR=0x0000000000000000
TRAPNO=0x000000000000000d
Register to memory mapping:
RAX=0x0000763ca6420210: <offset 0x0000000000027210> in /lib/x86_64-linux-gnu/libX11.so.6 at 0x0000763ca63f9000
RBX=0x0000763bd0023420 points into unknown readable memory: 0x0000763bd0023b60 | 60 3b 02 d0 3b 76 00 00
RCX=0x00000000000000ab is an unknown value
RDX=0x0000763c481fa7c0 is pointing into the stack for thread: 0x0000763cf9ad2930
RSP=0x0000763c481fa748 is pointing into the stack for thread: 0x0000763cf9ad2930
RBP=0x0000763c481fa7b0 is pointing into the stack for thread: 0x0000763cf9ad2930
RSI=0x0000763c481fa7cc is pointing into the stack for thread: 0x0000763cf9ad2930
RDI=0xd885de30af9b1844 is an unknown value
R8 =0x0000763c481fa7b0 is pointing into the stack for thread: 0x0000763cf9ad2930
R9 =0x0 is NULL
R10=0xaaaaaaaaaaaaaaab is an unknown value
R11=0x0000763bd01a6a68 points into unknown readable memory: 0x0000763bd011f408 | 08 f4 11 d0 3b 76 00 00
R12=0x0000763c481fa7ac is pointing into the stack for thread: 0x0000763cf9ad2930
R13=0x0000763c481fa7cc is pointing into the stack for thread: 0x0000763cf9ad2930
R14=0x0000763c481fa7c0 is pointing into the stack for thread: 0x0000763cf9ad2930
R15=0x0000000000000001 is an unknown value
I encountered a SIGSEGV crash in the GTK Native Event Loop when clicking the system tray icon. The crash occurs in the native code, specifically in the pthread_mutex_lock function of libc.so.
hs_err_pid6371.log
Environment:
OS: Ubuntu 22.04.2 LTS
Java Version: OpenJDK 17.0.11+1
The text was updated successfully, but these errors were encountered: