Chaosforge Forum

  • October 02, 2025, 21:25
  • Welcome, Guest
Please login or register.



Login with username, password and session length

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - GrantMoyer

Pages: [1]
1
Bug Reports / Re: CTD on Linux Native
« on: Yesterday at 18:30 »
OS: Arch Linux
Kernel: 6.16.8
Desktop: Sway 1.11
Graphic backend: Wayland (wlroots)
CPU: AMD Ryzen 7 7730U
GPU: AMD Radeon Graphics (RADV RENOIR)

I see this same issue, and my crash log is effectively identical to that posted by xman1, including the game version 1.8h. I took an strace of the game, and found the following suspicious call:

Code: [Select]
openat(AT_FDCWD, "/usr/lib/libfmod.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
Note that it tries to load libfmod from the absolute path "/usr/lib/libfmod.so", so the libfmod shipped with the game is not found. LD_LIBRARY_PATH appears to be ignored too.

Next, I tried temporarily copying the libfmod shipped with the game to the specified system path. However, the game still crashes trying to load libfmod, with the same crash log (including the same line number in the same file). The strace reveals that the file is opened successfully, but for whatever reason, the game still logs the error and quits immediately after without any particularly suspicious syscalls in between.

Code: [Select]
openat(AT_FDCWD, "/usr/lib/libfmod.so", O_RDONLY|O_CLOEXEC) = 6
read(6, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300>\2\0\0\0\0\0"..., 832) = 832
fstat(6, {st_mode=S_IFREG|0755, st_size=1565896, ...}) = 0
mmap(NULL, 6006048, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_DENYWRITE, -1, 0) = 0x7fb5ee445000
mmap(0x7fb5ee600000, 3908896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0) = 0x7fb5ee600000
munmap(0x7fb5ee445000, 1814528)         = 0
munmap(0x7fb5ee9bb000, 279840)          = 0
mprotect(0x7fb5ee76d000, 2093056, PROT_NONE) = 0
mmap(0x7fb5ee96c000, 73728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x16c000) = 0x7fb5ee96c000
mmap(0x7fb5ee97e000, 247072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb5ee97e000
close(6)                                = 0
munmap(0x7fb5ee600000, 3908896)         = 0
munmap(0x7fb5ef511000, 152019)          = 0
gettimeofday({tv_sec=1759364040, tv_usec=64144}, NULL) = 0
write(5, "00:00:02.23 [NOTICE  ] library \""..., 62) = 62
gettimeofday({tv_sec=1759364040, tv_usec=64269}, NULL) = 0
gettimeofday({tv_sec=1759364040, tv_usec=64324}, NULL) = 0
write(5, "00:00:02.23 [CRITICAL] library \""..., 62) = 62
gettimeofday({tv_sec=1759364040, tv_usec=64441}, NULL) = 0
gettimeofday({tv_sec=1759364040, tv_usec=64496}, NULL) = 0
write(5, "00:00:02.23 [CRITICAL] Abort cal"..., 58) = 58
gettimeofday({tv_sec=1759364040, tv_usec=64624}, NULL) = 0
gettimeofday({tv_sec=1759364040, tv_usec=64679}, NULL) = 0
write(5, "00:00:02.23 [CRITICAL]   in ../."..., 105) = 105
gettimeofday({tv_sec=1759364040, tv_usec=64793}, NULL) = 0
gettimeofday({tv_sec=1759364040, tv_usec=64846}, NULL) = 0
write(5, "00:00:02.23 [CRITICAL] Aborting."..., 35) = 35

ldd shows all of libfmod's dependencies can be found:

Code: [Select]
linux-vdso.so.1 (0x00007f11850d5000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f11850a2000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007f118509d000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f1184800000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f1184af2000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f1185098000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f1184400000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007f11850d7000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f1185069000)

Pages: [1]