I got 3.8 working on Ubuntu back in 2019 (only supported windows by default), but I don't remember exactly how I did it. It still runs fine today.
However I was curious to try out the new version, but none of the Linux releases will run (I tried 4.3 and 4.5). It tries to launch, and then the java runtime crashes with what looks like a segmentation fault. It generates a log file that I am not able to attach to this post (unsupported file type error with .log and .txt extensions, character count exceeds post limit for a code snippet).
I'm not a programmer, but this seems like an issue with a native Java library or some other feature of the JRE that is being called by the GuideMe script. I assume there is added functionality or library(ies) used in version 4.5 that are not present in version 3.8, which is why I can run the older GuideMe.
I'd appreciate any suggestions on how to troubleshoot. Or if anyone has this running on another Java version and can share details on their setup I could try downgrading to an older Java. Thanks!
Code: Select all
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fbcf1e44fc4, pid=317323, tid=317324
#
# JRE version: OpenJDK Runtime Environment (11.0.19+7) (build 11.0.19+7-post-Ubuntu-0ubuntu120.04.1)
# Java VM: OpenJDK 64-Bit Server VM (11.0.19+7-post-Ubuntu-0ubuntu120.04.1, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libpthread.so.0+0xafc4] pthread_mutex_lock+0x4
#
# Core dump will be written. Default location: Core dumps may be processed with "/lib/systemd/systemd-coredump %P %u %g %s %t 9223372036854775808 %h" (or dumping to /media/kristoffer/Stash/Milovana/GuideMe-v0.4.5/core.317323)
#
# If you would like to submit a bug report, please visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
# 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: -Xms1024m -Xmx1024m GuideMe.jar
Host: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz, 8 cores, 22G, Linux Mint 20.3 Una
Time: Mon May 22 23:24:41 2023 PDT elapsed time: 8.848506 seconds (0d 0h 0m 8s)
--------------- T H R E A D ---------------
Current thread (0x00007fbcec016800): JavaThread "main" [_thread_in_native, id=317324, stack(0x00007fbcf0723000,0x00007fbcf0824000)]
Stack: [0x00007fbcf0723000,0x00007fbcf0824000], sp=0x00007fbcf081e4e8, free space=1005k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libpthread.so.0+0xafc4] pthread_mutex_lock+0x4
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(J)V+0
j org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(J)V+8
j org.eclipse.swt.widgets.Display.eventProc(JJ)J+149
v ~StubRoutines::call_stub
J 2642 org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(JZ)Z (0 bytes) @ 0x00007fbcdc3d0c94 [0x00007fbcdc3d0c40+0x0000000000000054]
J 2653 c1 org.eclipse.swt.widgets.Display.readAndDispatch()Z (73 bytes) @ 0x00007fbcd525190c [0x00007fbcd5251720+0x00000000000001ec]
j org.guideme.guideme.App.main([Ljava/lang/String;)V+509
v ~StubRoutines::call_stub
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000010
Register to memory mapping:
RAX=0x00007fbcf1e44fc0: pthread_mutex_lock+0x0000000000000000 in /lib/x86_64-linux-gnu/libpthread.so.0 at 0x00007fbcf1e3a000
RBX=0x00007fbcecb8f220 points into unknown readable memory: 0x00007fbcecb9f8e0 | e0 f8 b9 ec bc 7f 00 00
RCX=0x000000000000014c is an unknown value
RDX=0x00007fbcf081e56c is pointing into the stack for thread: 0x00007fbcec016800
RSP=0x00007fbcf081e4e8 is pointing into the stack for thread: 0x00007fbcec016800
RBP=0x00007fbcf081e550 is pointing into the stack for thread: 0x00007fbcec016800
RSI=0x00007fbcf081e560 is pointing into the stack for thread: 0x00007fbcec016800
RDI=0x0 is NULL
R8 =0x00007fbcf081e550 is pointing into the stack for thread: 0x00007fbcec016800
R9 =0x00000000000001fd is an unknown value
R10=0x00007fbceccb6f00 points into unknown readable memory: 0x00007fbcecc05400 | 00 54 c0 ec bc 7f 00 00
R11=0x00007fbcecc078ce points into unknown readable memory: 4e 61
R12=0x00007fbcf081e560 is pointing into the stack for thread: 0x00007fbcec016800
R13=0x00007fbcf081e54c is pointing into the stack for thread: 0x00007fbcec016800
R14=0x00007fbcf081e56c is pointing into the stack for thread: 0x00007fbcec016800
R15=0x0000000000000001 is an unknown value
Registers:
RAX=0x00007fbcf1e44fc0, RBX=0x00007fbcecb8f220, RCX=0x000000000000014c, RDX=0x00007fbcf081e56c
RSP=0x00007fbcf081e4e8, RBP=0x00007fbcf081e550, RSI=0x00007fbcf081e560, RDI=0x0000000000000000
R8 =0x00007fbcf081e550, R9 =0x00000000000001fd, R10=0x00007fbceccb6f00, R11=0x00007fbcecc078ce
R12=0x00007fbcf081e560, R13=0x00007fbcf081e54c, R14=0x00007fbcf081e56c, R15=0x0000000000000001
RIP=0x00007fbcf1e44fc4, EFLAGS=0x0000000000010206, CSGSFS=0x002b000000000033, ERR=0x0000000000000004
TRAPNO=0x000000000000000e
Top of Stack: (sp=0x00007fbcf081e4e8)
0x00007fbcf081e4e8: 00007fbc8bf0a51f 0000000081dad980
0x00007fbcf081e4f8: 0000000000000004 00007fbc81dc8940
0x00007fbcf081e508: e41096c0a00b9e00 00007fbcec9feff0
0x00007fbcf081e518: 00007fbcc439cfe1 00007fbcc439e7f4
Instructions: (pc=0x00007fbcf1e44fc4)
0x00007fbcf1e44ec4: 00 00 48 8d 35 2d c7 00 00 48 8d 3d 43 c7 00 00
0x00007fbcf1e44ed4: e8 57 b8 ff ff 8b 45 00 89 c2 e9 2e fa ff ff 48
0x00007fbcf1e44ee4: 8d 0d 86 c8 00 00 ba a7 01 00 00 48 8d 35 04 c7
0x00007fbcf1e44ef4: 00 00 48 8d 3d 33 c6 00 00 e8 2e b8 ff ff 66 0f
0x00007fbcf1e44f04: 1f 44 00 00 c7 45 04 00 00 00 00 45 31 d2 31 d2
0x00007fbcf1e44f14: 48 89 ef be 07 00 00 00 b8 ca 00 00 00 0f 05 48
0x00007fbcf1e44f24: 3d 00 f0 ff ff 77 37 64 48 c7 04 25 f0 02 00 00
0x00007fbcf1e44f34: 00 00 00 00 41 bf 83 00 00 00 e9 5b fa ff ff 48
0x00007fbcf1e44f44: 8d 0d 26 c8 00 00 ba 48 02 00 00 48 8d 35 a4 c6
0x00007fbcf1e44f54: 00 00 48 8d 3d d0 c6 00 00 e8 ce b7 ff ff 83 f8
0x00007fbcf1e44f64: 92 74 c4 83 c0 26 83 f8 26 0f 87 30 ff ff ff 83
0x00007fbcf1e44f74: f8 25 0f 87 27 ff ff ff 48 8d 15 49 c7 00 00 48
0x00007fbcf1e44f84: 63 04 82 48 01 d0 3e ff e0 c7 45 04 00 00 00 00
0x00007fbcf1e44f94: 87 55 00 83 fa 01 7e 8f 45 31 d2 ba 01 00 00 00
0x00007fbcf1e44fa4: be 01 00 00 00 48 89 ef b8 ca 00 00 00 0f 05 e9
0x00007fbcf1e44fb4: 73 ff ff ff e8 13 b7 ff ff 0f 1f 00 f3 0f 1e fa
0x00007fbcf1e44fc4: 8b 47 10 89 c2 81 e2 7f 01 00 00 90 83 e0 7c 75
0x00007fbcf1e44fd4: 7b 53 48 83 ec 10 85 d2 75 7a 8b 0d f4 73 01 00
0x00007fbcf1e44fe4: 85 c9 75 38 31 c0 ba 01 00 00 00 f0 0f b1 17 0f
0x00007fbcf1e44ff4: 85 97 00 00 00 8b 57 08 85 d2 0f 85 41 01 00 00
0x00007fbcf1e45004: 64 8b 04 25 d0 02 00 00 89 47 08 83 47 0c 01 90
0x00007fbcf1e45014: 31 c0 48 83 c4 10 5b c3 0f 1f 40 00 8b 47 10 f6
0x00007fbcf1e45024: c4 03 74 08 f6 c4 01 74 bb eb 07 90 80 cc 01 89
0x00007fbcf1e45034: 47 10 8b 57 10 48 83 c4 10 48 8d 77 16 5b 81 e2
0x00007fbcf1e45044: 80 00 00 00 e9 73 b2 00 00 0f 1f 00 e9 4b f8 ff
0x00007fbcf1e45054: ff 0f 1f 00 81 fa 00 01 00 00 74 d6 8b 57 10 83
0x00007fbcf1e45064: e2 7f 83 fa 01 75 5f 64 8b 0c 25 d0 02 00 00 39
0x00007fbcf1e45074: 4f 08 75 35 8b 47 04 83 f8 ff 0f 84 b7 00 00 00
0x00007fbcf1e45084: 83 c0 01 89 47 04 31 c0 eb 88 66 90 8b 77 10 48
0x00007fbcf1e45094: 89 7c 24 08 81 e6 80 00 00 00 e8 9d 80 00 00 48
0x00007fbcf1e450a4: 8b 7c 24 08 e9 4c ff ff ff f0 0f b1 17 75 6b 8b
0x00007fbcf1e450b4: 47 08 85 c0 0f 85 cc 00 00 00 c7 47 04 01 00 00
Stack slot to memory mapping:
stack at sp + 0 slots: 0x00007fbc8bf0a51f: XrmQGetResource+0x000000000000004f in /lib/x86_64-linux-gnu/libX11.so.6 at 0x00007fbc8bec3000
stack at sp + 1 slots: 0x0000000081dad980 is an unknown value
stack at sp + 2 slots: 0x0000000000000004 is an unknown value
stack at sp + 3 slots: 0x00007fbc81dc8940 is pointing into metadata
stack at sp + 4 slots: 0xe41096c0a00b9e00 is an unknown value
stack at sp + 5 slots: 0x00007fbcec9feff0 points into unknown readable memory: 0x0000000000000000 | 00 00 00 00 00 00 00 00
stack at sp + 6 slots: 0x00007fbcc439cfe1: <offset 0x00000000000ecfe1> in /lib/x86_64-linux-gnu/libcairo.so.2 at 0x00007fbcc42b0000
stack at sp + 7 slots: 0x00007fbcc439e7f4: <offset 0x00000000000ee7f4> in /lib/x86_64-linux-gnu/libcairo.so.2 at 0x00007fbcc42b0000
--------------- P R O C E S S ---------------
Threads class SMR info:
_java_thread_list=0x00007fbb9003f940, length=24, elements={
0x00007fbcec016800, 0x00007fbcec42e800, 0x00007fbcec431000, 0x00007fbcec437000,
0x00007fbcec439000, 0x00007fbcec43b000, 0x00007fbcec43d000, 0x00007fbcec43f000,
0x00007fbcec4a6800, 0x00007fbceceb5800, 0x00007fbcede1f800, 0x00007fbcede27000,
0x00007fbcee0c2800, 0x00007fbcee18f000, 0x00007fbcee192800, 0x00007fbca0239000,
0x00007fbcee1bd800, 0x00007fbcee2bf000, 0x00007fbcee2d3000, 0x00007fbb90009000,
0x00007fbca005f000, 0x00007fbb9003a800, 0x00007fbb9003c800, 0x00007fbb9003e000
}
Java Threads: ( => current thread )
=>0x00007fbcec016800 JavaThread "main" [_thread_in_native, id=317324, stack(0x00007fbcf0723000,0x00007fbcf0824000)]
0x00007fbcec42e800 JavaThread "Reference Handler" daemon [_thread_blocked, id=317331, stack(0x00007fbccc5ed000,0x00007fbccc6ee000)]
0x00007fbcec431000 JavaThread "Finalizer" daemon [_thread_blocked, id=317332, stack(0x00007fbccc4ec000,0x00007fbccc5ed000)]
0x00007fbcec437000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=317333, stack(0x00007fbccc3eb000,0x00007fbccc4ec000)]
0x00007fbcec439000 JavaThread "Service Thread" daemon [_thread_blocked, id=317334, stack(0x00007fbccc2ea000,0x00007fbccc3eb000)]
0x00007fbcec43b000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=317335, stack(0x00007fbccc1e9000,0x00007fbccc2ea000)]
0x00007fbcec43d000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=317336, stack(0x00007fbccc0e8000,0x00007fbccc1e9000)]
0x00007fbcec43f000 JavaThread "Sweeper thread" daemon [_thread_blocked, id=317337, stack(0x00007fbcc598f000,0x00007fbcc5a90000)]
0x00007fbcec4a6800 JavaThread "Common-Cleaner" daemon [_thread_blocked, id=317339, stack(0x00007fbcc578c000,0x00007fbcc588d000)]
0x00007fbceceb5800 JavaThread "process reaper" daemon [_thread_blocked, id=317347, stack(0x00007fbc880dd000,0x00007fbc880ff000)]
0x00007fbcede1f800 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=317367, stack(0x00007fbc81ed7000,0x00007fbc81fd8000)]
0x00007fbcede27000 JavaThread "Direct Clip" daemon [_thread_blocked, id=317369, stack(0x00007fbc81dd6000,0x00007fbc81ed7000)]
0x00007fbcee0c2800 JavaThread "pool-2-thread-1" [_thread_blocked, id=317401, stack(0x00007fbcc558a000,0x00007fbcc568b000)]
0x00007fbcee18f000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=317403, stack(0x00007fbcc568b000,0x00007fbcc578c000)]
0x00007fbcee192800 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=317404, stack(0x00007fbbda4a8000,0x00007fbbda5a9000)]
0x00007fbca0239000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=317405, stack(0x00007fbbda1a7000,0x00007fbbda2a8000)]
0x00007fbcee1bd800 JavaThread "AWT-Shutdown" [_thread_blocked, id=317406, stack(0x00007fbbda0a6000,0x00007fbbda1a7000)]
0x00007fbcee2bf000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=317408, stack(0x00007fbbd97a4000,0x00007fbbd98a5000)]
0x00007fbcee2d3000 JavaThread "threadMetronome" [_thread_blocked, id=317409, stack(0x00007fbbd96a3000,0x00007fbbd97a4000)]
0x00007fbb90009000 JavaThread "Timer-0" daemon [_thread_blocked, id=317410, stack(0x00007fbbd95a2000,0x00007fbbd96a3000)]
0x00007fbca005f000 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=317411, stack(0x00007fbbd92a1000,0x00007fbbd93a2000)]
0x00007fbb9003a800 JavaThread "JitterCorrector" daemon [_thread_blocked, id=317428, stack(0x00007fbbd819e000,0x00007fbbd829f000)]
0x00007fbb9003c800 JavaThread "AudioPusher" daemon [_thread_blocked, id=317429, stack(0x00007fbbd809d000,0x00007fbbd819e000)]
0x00007fbb9003e000 JavaThread "Java Sound Sequencer" [_thread_blocked, id=317430, stack(0x00007fbb7aefd000,0x00007fbb7affe000)]
Other Threads:
0x00007fbcec42c000 VMThread "VM Thread" [stack: 0x00007fbccc6f0000,0x00007fbccc7f0000] [id=317330]
0x00007fbcec4a3800 WatcherThread [stack: 0x00007fbcc588f000,0x00007fbcc598f000] [id=317338]
0x00007fbcec02e800 GCTaskThread "GC Thread#0" [stack: 0x00007fbcf03e2000,0x00007fbcf04e2000] [id=317325]
0x00007fbcb8001000 GCTaskThread "GC Thread#1" [stack: 0x00007fbc834ff000,0x00007fbc835ff000] [id=317348]
0x00007fbcb8002800 GCTaskThread "GC Thread#2" [stack: 0x00007fbc833fd000,0x00007fbc834fd000] [id=317349]
0x00007fbcb8004000 GCTaskThread "GC Thread#3" [stack: 0x00007fbc832fb000,0x00007fbc833fb000] [id=317350]
0x00007fbcb8005800 GCTaskThread "GC Thread#4" [stack: 0x00007fbc831f9000,0x00007fbc832f9000] [id=317351]
0x00007fbcb8007800 GCTaskThread "GC Thread#5" [stack: 0x00007fbc830f7000,0x00007fbc831f7000] [id=317352]
0x00007fbcb8009000 GCTaskThread "GC Thread#6" [stack: 0x00007fbc82ff5000,0x00007fbc830f5000] [id=317353]
0x00007fbcb800a800 GCTaskThread "GC Thread#7" [stack: 0x00007fbc82ef3000,0x00007fbc82ff3000] [id=317354]
0x00007fbcec04a800 ConcurrentGCThread "G1 Main Marker" [stack: 0x00007fbccdb00000,0x00007fbccdc00000] [id=317326]
0x00007fbcec04c800 ConcurrentGCThread "G1 Conc#0" [stack: 0x00007fbccd9fe000,0x00007fbccdafe000] [id=317327]
0x00007fbcc8001000 ConcurrentGCThread "G1 Conc#1" [stack: 0x00007fbc804b6000,0x00007fbc805b6000] [id=317374]
0x00007fbcec39b800 ConcurrentGCThread "G1 Refine#0" [stack: 0x00007fbccd0f4000,0x00007fbccd1f4000] [id=317328]
0x00007fbcec39d800 ConcurrentGCThread "G1 Young RemSet Sampling" [stack: 0x00007fbcccff2000,0x00007fbccd0f2000] [id=317329]
Threads with active compile tasks:
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap address: 0x00000000c0000000, size: 1024 MB, Compressed Oops mode: 32-bit
Narrow klass base: 0x0000000800000000, Narrow klass shift: 3
Compressed class space size: 1073741824 Address: 0x0000000840000000
END.