box64: Slay the Spire (Native) A fatal error has been detected by the Java Runtime Environment

Description

Slay the Spire, v2.2 2020-12-15, Linux x64, GOG, Engine: libGDX

Box64 with Dynarec v0.2.3 2017ef1

Rock 5B, LFS, BSP kernel 5.10.160+ rkr4, Gnome 44.1 PAN_MESA_DEBUG=gofaster,gl3 1080p, default game setting

NOT working.

Tested sideload common x64 libs (icu ssl faudio etc.) Also tested -force-opengl, no luck.

Seb’s version seems the latest 2.3.4. I’ll further test steam version.

box64 log,

rico [ /opt/games/indoorlands ]$ ./box64-start.sh 
rico [ /opt/games/slay_the_spire ]$ ./box64-start.sh 
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Params database has 23 entries
Box64 with Dynarec v0.2.3 2017ef1 built on May 31 2023 03:48:17
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 59 Env var
Looking for ./SlayTheSpire
Rename process to "SlayTheSpire"
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using emulated jre/lib/amd64/server/libjvm.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libverify.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libjava.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libzip.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libmanagement.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libnet.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libnio.so
05:09:35.707 INFO desktop.DesktopLauncher> time: 1685509775684
05:09:35.776 INFO desktop.DesktopLauncher> version: 2020-12-13
05:09:35.776 INFO desktop.DesktopLauncher> libgdx:  1.9.5
05:09:35.777 INFO desktop.DesktopLauncher> default_locale: en_US
05:09:35.777 INFO desktop.DesktopLauncher> default_charset: UTF-8
05:09:35.777 INFO desktop.DesktopLauncher> default_encoding: UTF-8
05:09:35.778 INFO desktop.DesktopLauncher> java_version: 1.8.0_131
05:09:35.778 INFO desktop.DesktopLauncher> os_arch: amd64
05:09:35.778 INFO desktop.DesktopLauncher> os_name: Linux
05:09:35.779 INFO desktop.DesktopLauncher> os_version: 5.10.160
05:09:35.786 INFO core.SystemStats> MEMORY STATS:
Free Memory: 195Mb
Max Memory: 910Mb
Allocated Memory: 236Mb
Unallocated Memory: 674Mb
Total Free Memory: 869Mb
Used Memory: 40Mb

05:09:35.789 INFO core.SystemStats> DISK STATS:
Total Space: 301,274Mb
Usable Space: 56,717Mb
Free Space: 72,093Mb

05:09:36.462 INFO core.DisplayConfig> Reading info.displayconfig
05:09:36.482 INFO core.DisplayConfig> File info.displayconfig not found, creating with defaults.
05:09:36.483 INFO core.DisplayConfig> Creating new config with default values...
05:09:36.560 INFO core.DisplayConfig> DisplayConfig successfully read.
05:09:36.561 INFO desktop.DesktopLauncher> Settings successfully loaded
05:09:36.562 INFO desktop.DesktopLauncher> Launching application...
Using emulated /tmp/libgdxrico/6ef2d459/libgdx64.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libawt.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libawt_xawt.so
Using native(wrapped) libXext.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXtst.so.6
Using native(wrapped) libXi.so.6
Using native(wrapped) libXinerama.so.1
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libfontmanager.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libjawt.so
Using emulated /tmp/libgdxrico/31ce78a2/liblwjgl64.so
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXxf86vm.so.1
Using emulated /tmp/libgdxrico/31ce78a2/libopenal64.so
Using native(wrapped) libpulse.so.0
Using native(wrapped) libGL.so.1
Look for glXEnumerateVideoDevicesNV in loaded elfs
Warning, function glXEnumerateVideoDevicesNV not found in lib libGL.so.1
Look for glXEnumerateVideoDevicesNV in loaded elfs
Warning, function glXEnumerateVideoDevicesNV not found in lib libGL.so.1
Look for glXEnumerateVideoDevicesNV in loaded elfs
Warning, function glXEnumerateVideoDevicesNV not found in lib libGL.so.1
Look for glXEnumerateVideoDevicesNV in loaded elfs
Warning, function glXEnumerateVideoDevicesNV not found in lib libGL.so.1
Look for glXBindVideoCaptureDeviceNV in loaded elfs
Warning, function glXBindVideoCaptureDeviceNV not found in lib libGL.so.1
Look for glXBindVideoCaptureDeviceNV in loaded elfs
Warning, function glXBindVideoCaptureDeviceNV not found in lib libGL.so.1
Look for glXBindVideoCaptureDeviceNV in loaded elfs
Warning, function glXBindVideoCaptureDeviceNV not found in lib libGL.so.1
Look for glXBindVideoCaptureDeviceNV in loaded elfs
Warning, function glXBindVideoCaptureDeviceNV not found in lib libGL.so.1
05:09:43.062 INFO ststwitch.TwitchConfig> The 'twitchconfig.txt' does not exist, creating it from this example : twitchconfig.txt
05:09:43.072 INFO core.CardCrawlGame> DistributorPlatform=gog
05:09:43.073 INFO core.CardCrawlGame> isModded=false
05:09:43.073 INFO core.CardCrawlGame> isBeta=false
05:09:43.091 INFO core.CardCrawlGame> New player, no migration.
05:09:43.303 INFO core.Settings> Initializing display settings...
05:09:43.303 INFO core.DisplayConfig> Reading info.displayconfig
05:09:43.308 INFO core.DisplayConfig> DisplayConfig successfully read.
05:09:43.309 INFO core.Settings> Initializing sound settings...
05:09:43.313 INFO core.Settings> Initializing game settings...
refreshProtection(0x103690f80): 0x103690000/0x13 (ret=0/ok)
refreshProtection(0x103690880): 0x103690000/0x13 (ret=0/ok)
05:09:43.936 INFO localization.LocalizedStrings> Loc Strings load time: 535ms
05:09:44.195 INFO audio.MusicMaster> Music Volume: 0.5
05:09:44.211 INFO audio.SoundMaster> Sound Effect Volume: 0.5
05:09:44.212 INFO audio.SoundMaster> Loaded 368 Sound Effects
05:09:44.213 INFO audio.SoundMaster> SFX load time: 9ms
05:09:48.627 INFO cards.AbstractCard> Card Image load time: 4377ms
refreshProtection(0x103db2bf0): 0x103db2000/0x17 (ret=0/ok)
05:09:50.858 INFO helpers.ImageMaster> Texture load time: 2212ms
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000103b91f0a, pid=1119, tid=0x0000007f5eecefc0
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# J 654 C2 java.util.concurrent.ConcurrentHashMap.putVal(Ljava/lang/Object;Ljava/lang/Object;Z)Ljava/lang/Object; (362 bytes) @ 0x0000000103b91f0a [0x0000000103b91700+0x80a]
#
# Core dump written. Default location: /opt/games/slay_the_spire/core or core.1119
#
# An error report file with more information is saved as:
# /opt/games/slay_the_spire/hs_err_pid1119.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
NativeBT: ./SlayTheSpire() [0x349ec240]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7fbd0437cc]
NativeBT: /usr/lib/libc.so.6(+0x83bd0) [0x7fbced3bd0]
NativeBT: /usr/lib/libc.so.6(gsignal+0x1c) [0x7fbce8ddec]
NativeBT: /usr/lib/libc.so.6(abort+0xf0) [0x7fbce7a7bc]
NativeBT: ./SlayTheSpire() [0x34bb0f68]
NativeBT: ./SlayTheSpire() [0x349d2e04]
NativeBT: ./SlayTheSpire() [0x349eade4]
NativeBT: ./SlayTheSpire() [0x349eb464]
NativeBT: ./SlayTheSpire() [0x349ebee4]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7fbd0437cc]
NativeBT: ./SlayTheSpire() [0x34bb0944]
NativeBT: ./SlayTheSpire() [0x349d2e04]
NativeBT: ./SlayTheSpire() [0x349eade4]
NativeBT: ./SlayTheSpire() [0x349eb464]
NativeBT: ./SlayTheSpire() [0x349ebee4]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7fbd0437cc]
NativeBT: [0x65fa65b4]
EmulatedBT: ??? [0x50160]
EmulatedBT: jre/lib/amd64/server/libjvm.so(_ZN2os5abortEb+35) [0x102b663b5]
EmulatedBT: jre/lib/amd64/server/libjvm.so(_ZN7VMError14report_and_dieEv+6c3) [0x102d08673]
EmulatedBT: ??? [0x119aad8e8]
EmulatedBT: ??? [(nil)]
1195|SIGABRT @0x7fbced3bd0 (???(/usr/lib/libc.so.6+0x7fbced3bd0)) (x64pc=0x50173/???:"???", rsp=0x119aacbd8, stack=0x1199b0000:0x119ab0000 own=0x1199b0000 fp=0x119aacbf0), for accessing 0x3e80000045f (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000102b73209 RSP-0x18:0x0000000000000001 RSP-0x10:0x00000000634cad10 RSP-0x08:0x0000000000000034
RSP+0x00:0x0000000102b663b5 RSP+0x08:0x0000007f498939c0 RSP+0x10:0x0000000119aacc00 RSP+0x18:0x0000000119aacd70
RAX:0x0000000000000000 RCX:0x0000000000000001 RDX:0x0000000000000000 RBX:0x0000000000000001 
RSP:0x0000000119aacbd8 RBP:0x0000000119aacbf0 RSI:0x0000000000000008 RDI:0x0000000000000000 
 R8:0x0000000000000001  R9:0x0000000119aaca28 R10:0x0000000000000031 R11:0x0000000102b72e30 
R12:0x0000007f498939c0 R13:0x00000001031bba00 R14:0x0000000119aace00 R15:0x00000001031f6f05 
./box64-start.sh: line 8:  1119 Aborted                 (core dumped) box64 ./"SlayTheSpire"

my native java:

rico [ ~ ]$ java -version
openjdk version "20.0.1" 2023-04-18
OpenJDK Runtime Environment (build 20.0.1+9-29)
OpenJDK 64-Bit Server VM (build 20.0.1+9-29, mixed mode, sharing)

and log attatched /opt/games/slay_the_spire/hs_err_pid1119.log hs_err_pid1119.log

Tested on

Box64 with Dynarec v0.2.3 2017ef1

Rock 5B, LFS, BSP kernel 5.10.160+ rkr4, Gnome 44.1 PAN_MESA_DEBUG=gofaster,gl3 1080p, default game setting

Status

Previous behavior:

None reported

Current behavior:

NOT working.

Screenshots

OpenGL

Additional Information

https://www.pcgamingwiki.com/wiki/Slay_the_Spire

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 23 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks! I guess we can close the ticket now?

You fixed it. Just tested and the game boots and runs smoothly. muahahahaha, you made my day. Almighty Gaming God ❤️ Best International Children’s Day gifts 😃 Thank you!