Linux GzDoom v2.1 crashes with mods

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
PooshhMao
Posts: 135
Joined: Sun Oct 06, 2013 2:09 am

Linux GzDoom v2.1 crashes with mods

Post by PooshhMao »

Hi,

I upgraded my Linux GzDoom 2.04 build to v2.1 yesterday, via the Debian repository.
However, I'm experiencing problems with the new version. Running pwads appears to work fine, however attempting to run gameplay mods such as Brutal Doom v20b crashes GzDoom - unfortunately I'm not at my gaming computer so I won't be able to tell which one specifically (something to do with 'actors' iirc). Since I figure asking for help with Brutal Doom won't get me much help round these parts :roll: I tried running the latest Project MSX as well, and the same problem occurred.

If needed, I will post the exact error log here as soon as I can.

My apologies if this has been reported before.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Linux GzDoom v2.1 crashes with mods

Post by wildweasel »

The error log is pretty much essential at this point; without it, this report basically boils down to "it doesn't work."
PooshhMao
Posts: 135
Joined: Sun Oct 06, 2013 2:09 am

Re: Linux GzDoom v2.1 crashes with mods

Post by PooshhMao »

Yeah, I know. I'll post the log asap.
Guest

Re: Linux GzDoom v2.1 crashes with mods

Post by Guest »

*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x2

System: Linux Flex 3.19.0-49-generic #55-Ubuntu SMP Fri Jan 22 02:10:24 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

GZDoom version g2.1.0 (9e907086ebdcf8f8e0f16748c72daee6f71acb18)
Compiler version: 4.6.3

Command line: /opt/gzdoom/gzdoom -iwad /Games/linux/doom/iwad/doom2.wad -file /Games/linux/doom/mod/brutalv20b.pk3

Wad 0: gzdoom.pk3
Wad 1: doom2.wad
Wad 2: brutalv20b.pk3
Wad 3: brutalv20b.pk3:e2m8.wad
Wad 4: brutalv20b.pk3:e3m8.wad
Wad 5: brutalv20b.pk3:terrain.wad

Not in a level.

Executing: gdb --quiet --batch --command=gdb-respfile-WRisLn
[New LWP 4837]
[New LWP 4836]
[New LWP 4835]
[New LWP 4834]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f78f7f458ab in __waitpid (pid=5685, stat_loc=0xdea700, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40

* Loaded Libraries
From To Syms Read Shared Object Library
0x00007f78f8d06830 0x00007f78f8d3441d Yes (*) /usr/lib/x86_64-linux-gnu/libopenal.so.1
0x00007f78f871e430 0x00007f78f897694e Yes (*) /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0x00007f78f846d420 0x00007f78f849c696 Yes (*) /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0x00007f78f816d690 0x00007f78f81e4529 Yes (*) /lib/x86_64-linux-gnu/libglib-2.0.so.0
0x00007f78f7f3aa90 0x00007f78f7f47c41 Yes /lib/x86_64-linux-gnu/libpthread.so.0
0x00007f78f7cb38c0 0x00007f78f7d11b32 Yes (*) /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
0x00007f78f79be280 0x00007f78f7a94828 Yes (*) /opt/gzdoom/libfmodex64-4.26.36.so
0x00007f78f7759190 0x00007f78f775c167 Yes /lib/x86_64-linux-gnu/librt.so.1
0x00007f78f753ddf0 0x00007f78f754f029 Yes (*) /lib/x86_64-linux-gnu/libz.so.1
0x00007f78f72ead90 0x00007f78f7321520 Yes (*) /usr/lib/x86_64-linux-gnu/libjpeg.so.8
0x00007f78f70d83c0 0x00007f78f70e4092 Yes (*) /lib/x86_64-linux-gnu/libbz2.so.1.0
0x00007f78f6e740b0 0x00007f78f6eb5d3c Yes (*) /usr/lib/x86_64-linux-gnu/libsndfile.so.1
0x00007f78f6c175b0 0x00007f78f6c4f115 Yes (*) /usr/lib/x86_64-linux-gnu/libmpg123.so.0
0x00007f78f6a0fe60 0x00007f78f6a10a5e Yes /lib/x86_64-linux-gnu/libdl.so.2
0x00007f78f675b9a0 0x00007f78f67c85af Yes (*) /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0x00007f78f63fd5a0 0x00007f78f646ec61 Yes /lib/x86_64-linux-gnu/libm.so.6
0x00007f78f61e4ab0 0x00007f78f61f4805 Yes (*) /lib/x86_64-linux-gnu/libgcc_s.so.1
0x00007f78f5e374f0 0x00007f78f5f8a354 Yes /lib/x86_64-linux-gnu/libc.so.6
0x00007f78f5b7f9d0 0x00007f78f5bd657b Yes (*) /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
0x00007f78f595f1b0 0x00007f78f5960095 Yes (*) /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
0x00007f78f5755920 0x00007f78f575a616 Yes (*) /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0
0x00007f78f5430850 0x00007f78f54b51cc Yes (*) /usr/lib/x86_64-linux-gnu/libX11.so.6
0x00007f78f5213530 0x00007f78f5215756 Yes (*) /usr/lib/x86_64-linux-gnu/libXfixes.so.3
0x00007f78f4ff76b0 0x00007f78f5003cc3 Yes (*) /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0
0x00007f78f4ce8ca0 0x00007f78f4dac121 Yes (*) /usr/lib/x86_64-linux-gnu/libcairo.so.2
0x00007f78f4abb510 0x00007f78f4acdc99 Yes (*) /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
0x00007f78f4769db0 0x00007f78f483866b Yes (*) /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
0x00007f78f45263d0 0x00007f78f452e8db Yes (*) /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
0x00007f78f42dee80 0x00007f78f42fee76 Yes (*) /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
0x00007f78f4099ca0 0x00007f78f40b7c5d Yes (*) /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
0x00007f78f3e8c7e0 0x00007f78f3e90fec Yes (*) /usr/lib/x86_64-linux-gnu/libffi.so.6
0x00007f78f3c1f600 0x00007f78f3c6df85 Yes (*) /lib/x86_64-linux-gnu/libpcre.so.3
0x00007f78f8f5aaa0 0x00007f78f8f76590 Yes /lib64/ld-linux-x86-64.so.2
0x00007f78f39f8b90 0x00007f78f3a10fe9 Yes (*) /lib/x86_64-linux-gnu/libexpat.so.1
0x00007f78f37d48e0 0x00007f78f37de753 Yes (*) /usr/lib/x86_64-linux-gnu/libglapi.so.0
0x00007f78f35bc590 0x00007f78f35c639f Yes (*) /usr/lib/x86_64-linux-gnu/libXext.so.6
0x00007f78f33b6b90 0x00007f78f33b749b Yes (*) /usr/lib/x86_64-linux-gnu/libXdamage.so.1
0x00007f78f31b45e0 0x00007f78f31b46fb Yes (*) /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1
0x00007f78f2fa6fb0 0x00007f78f2facec5 Yes (*) /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0
0x00007f78f2d99860 0x00007f78f2d9a575 Yes (*) /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0
0x00007f78f2b95ce0 0x00007f78f2b962e3 Yes (*) /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0
0x00007f78f2992c40 0x00007f78f2993348 Yes (*) /usr/lib/x86_64-linux-gnu/libxcb-present.so.0
0x00007f78f278dea0 0x00007f78f278f70e Yes (*) /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1
0x00007f78f2576620 0x00007f78f25825e5 Yes (*) /usr/lib/x86_64-linux-gnu/libxcb.so.1
0x00007f78f236b990 0x00007f78f236bc4c Yes (*) /usr/lib/x86_64-linux-gnu/libxshmfence.so.1
0x00007f78f2165f40 0x00007f78f21686f6 Yes (*) /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1
0x00007f78f1f5b0d0 0x00007f78f1f61271 Yes (*) /usr/lib/x86_64-linux-gnu/libdrm.so.2
0x00007f78f1cec420 0x00007f78f1d4b33d Yes (*) /usr/lib/x86_64-linux-gnu/libFLAC.so.8
0x00007f78f1a44aa0 0x00007f78f1a470e7 Yes (*) /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2
0x00007f78f1828ad0 0x00007f78f182e9e5 Yes (*) /usr/lib/x86_64-linux-gnu/libXrender.so.1
0x00007f78f1624af0 0x00007f78f16253ec Yes (*) /usr/lib/x86_64-linux-gnu/libXinerama.so.1
0x00007f78f14161e0 0x00007f78f1420112 Yes (*) /usr/lib/x86_64-linux-gnu/libXi.so.6
0x00007f78f120bad0 0x00007f78f1210fd8 Yes (*) /usr/lib/x86_64-linux-gnu/libXrandr.so.2
0x00007f78f1002420 0x00007f78f1006e20 Yes (*) /usr/lib/x86_64-linux-gnu/libXcursor.so.1
0x00007f78f0dfdc40 0x00007f78f0dfe618 Yes (*) /usr/lib/x86_64-linux-gnu/libXcomposite.so.1
0x00007f78f0b60b90 0x00007f78f0bd1202 Yes (*) /usr/lib/x86_64-linux-gnu/libfreetype.so.6
0x00007f78f08b19e0 0x00007f78f093bba0 Yes (*) /usr/lib/x86_64-linux-gnu/libpixman-1.so.0
0x00007f78f0685ab0 0x00007f78f069f1e3 Yes (*) /lib/x86_64-linux-gnu/libpng12.so.0
0x00007f78f047fd80 0x00007f78f04805f3 Yes (*) /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0
0x00007f78f0279430 0x00007f78f027bedf Yes (*) /usr/lib/x86_64-linux-gnu/libxcb-render.so.0
0x00007f78f0057bc0 0x00007f78f006a95b Yes (*) /lib/x86_64-linux-gnu/libselinux.so.1
0x00007f78efe399d0 0x00007f78efe49051 Yes /lib/x86_64-linux-gnu/libresolv.so.2
0x00007f78efbe51b0 0x00007f78efc1adaa Yes (*) /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
0x00007f78ef9d7bd0 0x00007f78ef9db11c Yes (*) /usr/lib/x86_64-linux-gnu/libthai.so.0
0x00007f78ef7d2e50 0x00007f78ef7d3acc Yes (*) /usr/lib/x86_64-linux-gnu/libXau.so.6
0x00007f78ef5cd390 0x00007f78ef5cec97 Yes (*) /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
0x00007f78ef3c4a70 0x00007f78ef3c8c05 Yes (*) /usr/lib/x86_64-linux-gnu/libogg.so.0
0x00007f78ef199dd0 0x00007f78ef1b045d Yes (*) /usr/lib/x86_64-linux-gnu/libvorbis.so.0
0x00007f78eef7d410 0x00007f78eef8f722 Yes (*) /usr/lib/x86_64-linux-gnu/libgraphite2.so.3
0x00007f78eed75170 0x00007f78eed78274 Yes (*) /usr/lib/x86_64-linux-gnu/libdatrie.so.1
0x00007f78ee85bc80 0x00007f78ee86531d Yes (*) /lib/x86_64-linux-gnu/libudev.so.1
0x00007f78ee650340 0x00007f78ee655f36 Yes /lib/x86_64-linux-gnu/libnss_compat.so.2
0x00007f78ee4390f0 0x00007f78ee445ee1 Yes /lib/x86_64-linux-gnu/libnsl.so.1
0x00007f78ee22b130 0x00007f78ee231923 Yes /lib/x86_64-linux-gnu/libnss_nis.so.2
0x00007f78ee01e230 0x00007f78ee025393 Yes /lib/x86_64-linux-gnu/libnss_files.so.2
0x00007f78eddd8a30 0x00007f78ede05819 Yes (*) /usr/lib/x86_64-linux-gnu/libpulse.so.0
0x00007f78edbc4800 0x00007f78edbc9612 Yes (*) /lib/x86_64-linux-gnu/libjson-c.so.2
0x00007f78ed95acd0 0x00007f78ed99bef9 Yes (*) /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-6.0.so
0x00007f78ed7078b0 0x00007f78ed7324c4 Yes (*) /lib/x86_64-linux-gnu/libdbus-1.so.3
0x00007f78ed4de720 0x00007f78ed4f652e Yes (*) /lib/x86_64-linux-gnu/libsystemd.so.0
0x00007f78ed2d2d70 0x00007f78ed2d6798 Yes (*) /lib/x86_64-linux-gnu/libwrap.so.0
0x00007f78ed0cb300 0x00007f78ed0cd988 Yes (*) /usr/lib/x86_64-linux-gnu/libasyncns.so.0
0x00007f78eceaa0d0 0x00007f78ecebe24d Yes (*) /lib/x86_64-linux-gnu/liblzma.so.5
0x00007f78ecbcee00 0x00007f78ecc6fe48 Yes (*) /lib/x86_64-linux-gnu/libgcrypt.so.20
0x00007f78ec9b66d0 0x00007f78ec9bf0ca Yes (*) /lib/x86_64-linux-gnu/libgpg-error.so.0
0x00007f78e2140cd0 0x00007f78e2141a8c Yes (*) /usr/lib/x86_64-linux-gnu/libXss.so.1
0x00007f78e19e61d0 0x00007f78e1de8979 Yes (*) /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
0x00007f78e1786d70 0x00007f78e179b0e2 Yes (*) /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1
0x00007f78e157e580 0x00007f78e158153d Yes (*) /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2
0x00007f78e1371a00 0x00007f78e1379e84 Yes (*) /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1
0x00007f78e11690d0 0x00007f78e116d485 Yes (*) /usr/lib/x86_64-linux-gnu/libpciaccess.so.0
0x00007f78e0f2fbf0 0x00007f78e0f623c8 Yes (*) /usr/lib/x86_64-linux-gnu/libtxc_dxtn.so
(*): Shared library is missing debugging information.

* Threads
Id Target Id Frame
5 Thread 0x7f78ec9b3700 (LWP 4834) "threaded-ml" 0x00007f78f5f138dd in poll () at ../sysdeps/unix/syscall-template.S:81
4 Thread 0x7f78e81b1700 (LWP 4835) "gzdoom" 0x00007f78f7f4553d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
3 Thread 0x7f78e3fff700 (LWP 4836) "SDLTimer" 0x00007f78f7f440c9 in futex_abstimed_wait (cancel=true, private=<optimized out>, abstime=0x0, expected=0, futex=0x16e8a30) at sem_waitcommon.c:42
2 Thread 0x7f78f916e9c0 (LWP 4837) "gzdoom" 0x00007f78f775bdd7 in timer_helper_thread (arg=<optimized out>) at ../sysdeps/unix/sysv/linux/timer_routines.c:91
* 1 Thread 0x7f78f91339c0 (LWP 4831) "gzdoom" 0x00007f78f7f458ab in __waitpid (pid=5685, stat_loc=0xdea700, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40

* FPU Status
R7: Empty 0x00000000000000000000
R6: Empty 0x00000000000000000000
R5: Empty 0x00000000000000000000
R4: Empty 0x00000000000000000000
R3: Empty 0x00000000000000000000
R2: Empty 0x00000000000000000000
R1: Empty 0x00000000000000000000
=>R0: Empty 0x00000000000000000000

Status Word: 0x0000
TOP: 0
Control Word: 0x037f IM DM ZM OM UM PM
PC: Extended Precision (64-bits)
RC: Round to nearest
Tag Word: 0xffff
Instruction Pointer: 0x00:0x00000000
Operand Pointer: 0x00:0x00000000
Opcode: 0x0000

* Registers
rax 0xfffffffffffffe00 -512
rbx 0x1635 5685
rcx 0xffffffffffffffff -1
rdx 0x0 0
rsi 0xdea700 14591744
rdi 0x1635 5685
rbp 0xdea700 0xdea700
rsp 0xdea6c0 0xdea6c0
r8 0x0 0
r9 0x7f78f91339c0 140157551589824
r10 0x0 0
r11 0x246 582
r12 0x0 0
r13 0x1090 4240
r14 0x10 16
r15 0x7ffda1087c06 140727305141254
rip 0x7f78f7f458ab 0x7f78f7f458ab <__waitpid+107>
eflags 0x246 [ PF ZF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0

* Backtrace

Thread 5 (Thread 0x7f78ec9b3700 (LWP 4834)):
#0 0x00007f78f5f138dd in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x00007f78eddff601 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#2 0x00007f78eddf0b41 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#3 0x00007f78eddf11de in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#4 0x00007f78eddf1290 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#5 0x00007f78eddff596 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#6 0x00007f78ed9976c8 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-6.0.so
No symbol table info available.
#7 0x00007f78f7f3c6aa in start_thread (arg=0x7f78ec9b3700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7f78ec9b3700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140157342398208, -6225050542197287027, 0, 140727305142559, 8388608, 23996592, 6299960512561698701, 6299905192668190605}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#8 0x00007f78f5f1eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 4 (Thread 0x7f78e81b1700 (LWP 4835)):
#0 0x00007f78f7f4553d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x00007f78f8d26328 in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
No symbol table info available.
#2 0x00007f78f8d31ce3 in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
No symbol table info available.
#3 0x00007f78f8d259da in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
No symbol table info available.
#4 0x00007f78f7f3c6aa in start_thread (arg=0x7f78e81b1700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7f78e81b1700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140157266892544, -6225050542197287027, 0, 140727305142559, 140157266893248, 24387632, 6299970409240090509, 6299905192668190605}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#5 0x00007f78f5f1eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 3 (Thread 0x7f78e3fff700 (LWP 4836)):
#0 0x00007f78f7f440c9 in futex_abstimed_wait (cancel=true, private=<optimized out>, abstime=0x0, expected=0, futex=0x16e8a30) at sem_waitcommon.c:42
__ret = -512
err = <optimized out>
oldtype = 2
#1 do_futex_wait (sem=sem@entry=0x16e8a30, abstime=0x0) at sem_waitcommon.c:208
No locals.
#2 0x00007f78f7f44164 in __new_sem_wait_slow (sem=0x16e8a30, abstime=0x0) at sem_waitcommon.c:277
_buffer = {__routine = 0x7f78f7f44090 <__sem_wait_cleanup>, __arg = 0x16e8a30, __canceltype = 0, __prev = 0x0}
err = <optimized out>
d = 0
#3 0x00007f78f7f4420a in __new_sem_wait (sem=<optimized out>) at sem_wait.c:28
No locals.
#4 0x00000000009b3965 in ?? ()
No symbol table info available.
#5 0x00000000009729c0 in ?? ()
No symbol table info available.
#6 0x00000000009724cb in ?? ()
No symbol table info available.
#7 0x00000000009b3019 in ?? ()
No symbol table info available.
#8 0x00007f78f7f3c6aa in start_thread (arg=0x7f78e3fff700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7f78e3fff700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140157198006016, -6225050542197287027, 0, 140727305142767, 140157198006720, 1, 6299949274779768717, 6299905192668190605}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#9 0x00007f78f5f1eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 2 (Thread 0x7f78f916e9c0 (LWP 4837)):
#0 0x00007f78f775bdd7 in timer_helper_thread (arg=<optimized out>) at ../sysdeps/unix/sysv/linux/timer_routines.c:91
resultvar = <optimized out>
si = {si_signo = 32, si_errno = 0, si_code = -2, _sifields = {_pad = {1, 0, 23944112, 0 <repeats 25 times>}, _kill = {si_pid = 1, si_uid = 0}, _timer = {si_tid = 1, si_overrun = 0, si_sigval = {sival_int = 23944112, sival_ptr = 0x16d5bb0}}, _rt = {si_pid = 1, si_uid = 0, si_sigval = {sival_int = 23944112, sival_ptr = 0x16d5bb0}}, _sigchld = {si_pid = 1, si_uid = 0, si_status = 23944112, si_utime = 0, si_stime = 0}, _sigfault = {si_addr = 0x1, si_addr_lsb = 23472}, _sigpoll = {si_band = 1, si_fd = 23944112}, _sigsys = {_call_addr = 0x1, _syscall = 23944112, _arch = 0}}}
oldtype = 0
result = <optimized out>
ss = {__val = {2147483648, 0 <repeats 15 times>}}
#1 0x00007f78f7f3c6aa in start_thread (arg=0x7f78f916e9c0) at pthread_create.c:333
__res = <optimized out>
pd = 0x7f78f916e9c0
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140157551831488, -6225050542197287027, 0, 140727305142319, 140157551832192, 1, 6299937395495819149, 6299905192668190605}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#2 0x00007f78f5f1eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 1 (Thread 0x7f78f91339c0 (LWP 4831)):
#0 0x00007f78f7f458ab in __waitpid (pid=5685, stat_loc=0xdea700, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
resultvar = 18446744073709551104
oldtype = 0
result = <optimized out>
#1 0x0000000000531206 in ?? ()
No symbol table info available.
#2 <signal handler called>
No locals.
#3 __memset_avx2 () at ../sysdeps/x86_64/multiarch/memset-avx2.S:135
No locals.
#4 0x00007f78f7a84f48 in ?? () from /opt/gzdoom/libfmodex64-4.26.36.so
No symbol table info available.
#5 0x00007f78ef1a6783 in vorbis_info_clear () from /usr/lib/x86_64-linux-gnu/libvorbis.so.0
No symbol table info available.
#6 0x00007f78ef1a6b86 in vorbis_synthesis_headerin () from /usr/lib/x86_64-linux-gnu/libvorbis.so.0
No symbol table info available.
#7 0x00007f78f6e95505 in ?? () from /usr/lib/x86_64-linux-gnu/libsndfile.so.1
No symbol table info available.
#8 0x00007f78f6e959bd in ?? () from /usr/lib/x86_64-linux-gnu/libsndfile.so.1
No symbol table info available.
#9 0x00007f78f6e78ff8 in ?? () from /usr/lib/x86_64-linux-gnu/libsndfile.so.1
No symbol table info available.
#10 0x00000000008931fc in SndFileDecoder::open(FileReader*) ()
No symbol table info available.
#11 0x000000000087aaba in SoundRenderer::CreateDecoder(FileReader*) ()
No symbol table info available.
#12 0x000000000088c623 in OpenALSoundRenderer::LoadSound(unsigned char*, int) ()
No symbol table info available.
#13 0x0000000000709553 in S_LoadSound(sfxinfo_t*) ()
No symbol table info available.
#14 0x000000000070b14a in ?? ()
No symbol table info available.
#15 0x000000000070b9a7 in S_Sound(int, FSoundID, float, float) ()
No symbol table info available.
#16 0x00000000007b4c48 in DListMenu::MenuEvent(int, bool) ()
No symbol table info available.
#17 0x00000000007ba810 in M_Responder(event_t*) ()
No symbol table info available.
#18 0x0000000000593402 in D_ProcessEvents() ()
No symbol table info available.
#19 0x000000000059b532 in ?? ()
No symbol table info available.
#20 0x000000000059cc41 in TryRunTics() ()
No symbol table info available.
#21 0x0000000000594cc6 in D_DoomLoop() ()
No symbol table info available.
#22 0x0000000000596ec2 in D_DoomMain() ()
No symbol table info available.
#23 0x000000000051811e in main ()
No symbol table info available.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Linux GzDoom v2.1 crashes with mods

Post by Graf Zahl »

Do I read this correctly that the crash occurs in FModEx, although OpenAL has been selected as sound system? How can that happen?
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Linux GzDoom v2.1 crashes with mods

Post by Edward-san »

I see these crashes, too.
Probably fmod and openal share some function names in their libraries, hence fmod's function is executed instead of openal?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Linux GzDoom v2.1 crashes with mods

Post by Graf Zahl »

It wouldn't surprise me that FMod conflicts with how Linux loads function addresses. We had this before.
Sadly I don't think we can do much about this, it looks like for Linux it's either-or, but not both sound backends at the same time.
Guest

Re: Linux GzDoom v2.1 crashes with mods

Post by Guest »

Might be of interest -

- Setting the sound backend to 'none' 'fixes' the problem
- Setting the backend to FModEx and restarting the sound system sets it to OpenAL. Quitting and restarting GzDoom does the same.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Linux GzDoom v2.1 crashes with mods

Post by Graf Zahl »

Does this also happen if you build with only one sound system?
Blzut3
 
 
Posts: 3211
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Linux GzDoom v2.1 crashes with mods

Post by Blzut3 »

He didn't build it as stated in the original post.

Fixed build is uploaded. Newer versions of FMOD hide their internal symbols so this is isn't an issue.
Guest

Re: Linux GzDoom v2.1 crashes with mods

Post by Guest »

New build works fine. Thanks for the swift fix!
Post Reply

Return to “Closed Bugs [GZDoom]”