Pathway

Pathway

View Stats:
arcane Jul 12, 2020 @ 3:29pm
Immediately crashes in Linux
From the log:

**************************************** Stacktrace: **************************************** java.lang.UnsatisfiedLinkError: com.badlogic.gdx.dico.DicoLibIO.nativePakOpen(Ljava/lang/String;Ljava/lang/String;)J at com.badlogic.gdx.dico.DicoLibIO.nativePakOpen(Native Method) at com.badlogic.gdx.dico.DicoLibIO.pakOpen(DicoLibIO.java:82) at com.robotality.game.assets.PakFileReader.openArchives(PakFileReader.java:169) at com.robotality.pulp.PulpHeroAdapter.create(PulpHeroAdapter.java:35) at com.robotality.game.adapter.GameApplicationAdapter.create(GameApplicationAdapter.java:82) at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.notifyNewWindow(Lwjgl3Window.java:229) at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.renderThreadFunction(Lwjgl3Application.java:161) at java.lang.Thread.run(Thread.java:748)

Using Nvidia blob drivers.
< >
Showing 1-7 of 7 comments
Jack_Skater  [developer] Jul 14, 2020 @ 12:21am 
Hi,

can you please try installing libSDL2? For example, on Ubuntu, sudo apt install libsdl2-2.0-0 should do.
arcane Jul 14, 2020 @ 4:28am 
Hmm shows it is already installed.

sudo apt list --installed | grep libsdl ⏎ WARNING: apt does not have a stable CLI interface. Use with caution in scripts. libsdl-image1.2/oldstable,now 1.2.12-5+deb9u1 amd64 [installed,upgradable to: 1.2.12-5+deb9u2] libsdl-net1.2/oldstable,oldstable,now 1.2.8-4 amd64 [installed,automatic] libsdl-sound1.2/oldstable,oldstable,now 1.0.3-7+b3 amd64 [installed,automatic] libsdl-ttf2.0-0/oldstable,oldstable,now 2.0.11-3+b1 amd64 [installed,automatic] libsdl1.2debian/oldstable,oldstable,now 1.2.15+dfsg1-4 amd64 [installed,automatic] libsdl2-2.0-0/oldstable,oldstable,now 2.0.5+dfsg1-2 amd64 [installed]

pathways LDD

ldd .steam/steam/steamapps/common/Pathway/Pathway ⏎ linux-vdso.so.1 (0x00007ffd247d9000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f31bce54000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f31bcad2000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f31bc8b5000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f31bc516000) /lib64/ld-linux-x86-64.so.2 (0x00007f31bd058000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f31bc212000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f31bbffb000)

Honestly I'm not sure how dynamic linking works in steam, if it overwrites LD_LIBRARY_PATH tho.

strace shows its looking for libgdx-backend-dico.so I think? But I don't see that available in package repos.

select(17, [14 16], NULL, NULL, {tv_sec=0, tv_usec=50000}07:23:36 INFO [Game Render] Game - GeForce GTX 660/PCIe/SSE2 (3.2.0 NVIDIA 390.116) ) = 0 (Timeout) read(16, 0x7ffd80f6b5d0, 16384) = -1 EAGAIN (Resource temporarily unavailable) recvmsg(14, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) recvmsg(14, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) recvmsg(14, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) select(17, [14 16], NULL, NULL, {tv_sec=0, tv_usec=50000}07:23:36 ERROR [Game Render] GdxSnippets - Couldn't load shared library 'libgdx-backend-dico.so' for target: Linux, 64-bit [Lwjgl3Application] Exception caught in render thread. java.lang.UnsatisfiedLinkError: com.badlogic.gdx.dico.DicoLibIO.nativePakOpen(Ljava/lang/String;Ljava/lang/String;)J ) = 1 (in [14], left {tv_sec=0, tv_usec=25645}) at com.badlogic.gdx.dico.DicoLibIO.nativePakOpen(Native Method) at com.badlogic.gdx.dico.DicoLibIO.pakOpen(DicoLibIO.java:82) at com.robotality.game.assets.PakFileReader.openArchives(PakFileReader.java:169) at com.robotality.pulp.PulpHeroAdapter.create(PulpHeroAdapter.java:35) recvmsg(14, at com.robotality.game.adapter.GameApplicationAdapter.create(GameApplicationAdapter.java:82) at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.notifyNewWindow(Lwjgl3Window.java:229) at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.renderThreadFunction(Lwjgl3Application.java:161) at java.lang.Thread.run(Thread.java:748) {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\241 \v\1\1\0@\5\241\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32 recvmsg(14, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) futex(0x15631b0, FUTEX_WAKE_PRIVATE, 1) = 1 read(16, 0x7ffd80f6b5d0, 16384) = -1 EAGAIN (Resource temporarily unavailable) stat("/home/arcane/.local/share/Steam/steamapps/common/Pathway/com/badlogic/gdx/utils/IntMap$Values.class", 0x7ffd80f6d7f0) = -1 ENOENT (No such file or directory) lseek(4, 3433140, SEEK_SET) = 3433140


Last edited by arcane; Jul 14, 2020 @ 4:29am
Jack_Skater  [developer] Jul 14, 2020 @ 7:06am 
libgdx-backend-dico.so is extracted, among other libraries, from pathway-game.jar, into a subfolder in /tmp/libgdx{username}.

It's possible that extracting or loading of this library fails for some reason.
i_nive Jul 14, 2020 @ 1:24pm 
Originally posted by Jack_Skater:
libgdx-backend-dico.so is extracted, among other libraries, from pathway-game.jar, into a subfolder in /tmp/libgdx{username}.

It's possible that extracting or loading of this library fails for some reason.
* Certain tmp watchers might "clean" content if older than certain age, just a word of warning of using /tmp.
* Certain /tmp-mounted filesystems are not persisting on reboot (cause its tmpfs filesystem, `man 5 tmpfs')
"""
The tmpfs facility allows the creation of filesystems whose contents
reside in virtual memory. Since the files on such filesystems typi‐
cally reside in RAM, file access is extremely fast.
"""
arcane Jul 14, 2020 @ 2:51pm 
Might be my fault.. looks like libm / glibc versions arent matching?

Libraries are there:
ls /tmp/libgdxarcane/* /tmp/libgdxarcane/122c0c66: libgdx64.so /tmp/libgdxarcane/672ee7c4: libgdx-backend-dico.so /tmp/libgdxarcane/8109499b: libgdx-snippets64.so
Buuuut if I copy them to the current dir and try to force loading, LD preload whines

LD_PRELOAD=libgdx-backend-dico.so ./Pathway ./Pathway: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /home/arcane/.steam/steam/steamapps/common/Pathway/libgdx-backend-dico.so) ldd --version ⏎ ldd (Debian GLIBC 2.24-11+deb9u3) 2.24

Too lazy/afraid to upgrade glibc at the moment, it does work in Proton so that's good enough for me!
Last edited by arcane; Jul 14, 2020 @ 2:52pm
i_nive Jul 16, 2020 @ 3:35am 
Originally posted by arcane:
Might be my fault.. looks like libm / glibc versions arent matching?

Libraries are there:
ls /tmp/libgdxarcane/* /tmp/libgdxarcane/122c0c66: libgdx64.so /tmp/libgdxarcane/672ee7c4: libgdx-backend-dico.so /tmp/libgdxarcane/8109499b: libgdx-snippets64.so
Buuuut if I copy them to the current dir and try to force loading, LD preload whines

LD_PRELOAD=libgdx-backend-dico.so ./Pathway ./Pathway: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /home/arcane/.steam/steam/steamapps/common/Pathway/libgdx-backend-dico.so) ldd --version ⏎ ldd (Debian GLIBC 2.24-11+deb9u3) 2.24

Too lazy/afraid to upgrade glibc at the moment, it does work in Proton so that's good enough for me!
That is not (just 2.5 yo) extremely old release: https://en.wikipedia.org/wiki/Debian_version_history#Debian_9_(Stretch)

https://en.wikipedia.org/wiki/Ubuntu_version_history#Ubuntu_16.04_LTS_(Xenial_Xerus) (per Store Page requirements) was released Apr 2016.

Just curious: provided "./Pathway" is a dynamic executable (not a script), what does
$ ldd .../Pathway
return?
arcane Jul 17, 2020 @ 3:02pm 
its an executable as above. it's gone now tho since i switched to the Proton version.

ldd .steam/steam/steamapps/common/Pathway/Pathway ⏎ linux-vdso.so.1 (0x00007ffd247d9000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f31bce54000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f31bcad2000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f31bc8b5000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f31bc516000) /lib64/ld-linux-x86-64.so.2 (0x00007f31bd058000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f31bc212000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f31bbffb000)
< >
Showing 1-7 of 7 comments
Per page: 1530 50