Zandronum 3.0.1 core dumps on Arch Linux

General help and assistance forum.
Post Reply
User avatar
SP_FACE1
New User
Posts: 13
Joined: Sun Mar 27, 2016 11:54 pm

Zandronum 3.0.1 core dumps on Arch Linux

#1

Post by SP_FACE1 » Sun Mar 22, 2020 7:08 pm

I cannot get Zandronum to launch. It coredumps when I run

Code: Select all

$ zandronum
Zandronum 3.0.1 - 191013-1938 - SDL version
Compiled on Oct 13 2019
Using video driver x11

M_LoadDefaults: Load system defaults.
Gameinfo scan took 0 ms
W_Init: Init WADfiles.
 adding /usr/share/zandronum/zandronum.pk3, 689 lumps
 adding /home/SP_FACE1/games/DooM/doom2.wad, 2919 lumps
I_Init: Setting up machine state.
CPU Vendor ID: GenuineIntel
  Name: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
  Family 6, Model 60, Stepping 3
  Features: MMX SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
I_InitSound: Initializing FMOD
FMOD Sound System, copyright  Firelight Technologies Pty, Ltd., 1994-2009.
Loaded FMOD version 4.24.16
OSS could not be initialized. Trying ALSA.
double free or corruption (!prev)
[1]    4873 abort (core dumped)  zandronum
I'm running Arch Linux (5.5.10-arch1-1) on a Thinkpad T440p. Intel i7-4700MQ, NVIDIA GeForce GT 730M. Xorg 1.20.7-1 with modesetting driver.

I have tried the official version from the home page and the AUR package. Both core dump with similar output. zandronum-server works flawlessly.

Core dump below:

Code: Select all

           PID: 4873 (zandronum)
           UID: 1000 (SP_FACE1)
           GID: 1000 (SP_FACE1)
        Signal: 6 (ABRT)
     Timestamp: Sun 2020-03-22 20:42:05 EET (1min 40s ago)
  Command Line: /usr/share/zandronum/zandronum
    Executable: /usr/share/zandronum/zandronum
 Control Group: /user.slice/user-1000.slice/user@1000.service/apps.slice/apps-org.gnome.T>
          Unit: user@1000.service
     User Unit: vte-spawn-d2c91460-f5f6-4f33-b8ef-5fe2e869f2d0.scope
         Slice: user-1000.slice
     Owner UID: 1000 (SP_FACE1)
       Boot ID: 27ae41e4649b934ca495991b7852b855
    Machine ID: e3b0c44298fc1c149afbf4c8996fb924
      Hostname: mterebus
       Storage: /var/lib/systemd/coredump/core.zandronum.1000.0a3b68ea4e6e4d33ae4c1b236b5>
       Message: Process 4873 (zandronum) of user 1000 dumped core.
                
                Stack trace of thread 4873:
                #0  0x00007fedb2708ce5 raise (libc.so.6 + 0x3bce5)
                #1  0x00007fedb26f2857 abort (libc.so.6 + 0x25857)
                #2  0x00007fedb274c2b0 __libc_message (libc.so.6 + 0x7f2b0)
                #3  0x00007fedb275374a malloc_printerr (libc.so.6 + 0x8674a)
                #4  0x00007fedb27555cc _int_free (libc.so.6 + 0x885cc)
                #5  0x00007fedb2f44a27 _ZN4FMOD7MemPool4freeEPvPKcij (libfmodex64-4.24.16>
                #6  0x00007fedb2f68b6b _ZN4FMOD10OutputALSA5closeEv (libfmodex64-4.24.16.>
                #7  0x00007fedb2f5d619 _ZN4FMOD7SystemI7closeExEb (libfmodex64-4.24.16.so>
                #8  0x00007fedb2f5f1aa _ZN4FMOD7SystemI4initEijPv (libfmodex64-4.24.16.so>
                #9  0x00007fedb2f5655b _ZN4FMOD6System4initEijPv (libfmodex64-4.24.16.so >
                #10 0x0000564700aeb62e _ZN17FMODSoundRenderer4InitEv (zandronum + 0x75862>
                #11 0x0000564700aeacbb _ZN17FMODSoundRendererC1Ev (zandronum + 0x757cbb)
                #12 0x0000564700af29c5 _Z11I_InitSoundv (zandronum + 0x75f9c5)
                #13 0x000056470064e1c4 _Z6I_Initv (zandronum + 0x2bb1c4)
                #14 0x00005647006db37c _Z10D_DoomMainv (zandronum + 0x34837c)
                #15 0x000056470064da72 main (zandronum + 0x2baa72)
                #16 0x00007fedb26f4023 __libc_start_main (libc.so.6 + 0x27023)
                #17 0x000056470064873a _start (zandronum + 0x2b573a)
                
                Stack trace of thread 4874:
                #0  0x00007fedb27942d1 clock_nanosleep@@GLIBC_2.17 (libc.so.6 + 0xc72d1)
                #1  0x00007fedb2799bf7 __nanosleep (libc.so.6 + 0xccbf7)
                #2  0x00007fedb3424f0c SDL_Delay (libSDL-1.2.so.0 + 0x53f0c)
                #3  0x00007fedb3424f63 n/a (libSDL-1.2.so.0 + 0x53f63)
                #4  0x00007fedb33e171b n/a (libSDL-1.2.so.0 + 0x1071b)
                #5  0x00007fedb34226ba n/a (libSDL-1.2.so.0 + 0x516ba)
                #6  0x00007fedb33b846f start_thread (libpthread.so.0 + 0x946f)
                #7  0x00007fedb27cc3d3 __clone (libc.so.6 + 0xff3d3)

User avatar
Sean
IRC Operator
Posts: 919
Joined: Thu Jan 16, 2014 9:09 pm
Location: England
Clan Tag: [TSPG]
Contact:

Re: Zandronum 3.0.1 core dumps on Arch Linux

#2

Post by Sean » Sun Mar 22, 2020 10:38 pm

Temporary workaround is to start with -nosound, go to sound options, and change your output type to SDL. Then restart normally.

It's a bug in FMOD that seems to happen with newer versions of distros. It's fixed by using a newer FMOD Ex, but the above is a good workaround in the meantime.
<capodecima> i dont say any more word without my loyer jenova

User avatar
SP_FACE1
New User
Posts: 13
Joined: Sun Mar 27, 2016 11:54 pm

Re: Zandronum 3.0.1 core dumps on Arch Linux

#3

Post by SP_FACE1 » Fri Mar 27, 2020 2:42 pm

Thanks, Sean!
That solved the issue.

Post Reply