Hello,
I wanted to submit a bug I've been having with Ubuntu, but it seems like my account has been banned from the bug tracker.
Every time I exit the game using the OpenGL Renderer, it crashes before my settings are saved to my .ini file, meaning I have to manually set any settings i want to change every time I start the game. I have this issue with both the dev builds and the latest release.
Doesn't matter if I'm in game, in menu, in console, OpenGL Renderer crashes on exit.
If I manually edit my zandronum.ini file to vid_renderer=0 (software renderer), I can edit the settings in the menu and they will save just fine, but if I set the renderer to OpenGL, I won't be able to save any settings until I go back and edit the zandronum.ini file again to use software rendering.
I'm running the following:
OS: Kubuntu 24.04
CPU: AMD Ryzen 9 7950X
GFX: AMD Radeon RX 7900 XTX
RAM: 62.0 GiB
Here is the output I get from the command, and the crash log: https://pastebin.com/dvuH8tAn
I can post the core dump as well if needed, but I don't want to overload my post with links.
Ubuntu 24.04 Exit Crash
- Sean
- IRC Operator
- Posts: 982
- Joined: Thu Jan 16, 2014 9:09 pm
- Location: United Kingdom
- Clan: Zandronum
- Clan Tag: [Za]
- Contact:
Re: Ubuntu 24.04 Exit Crash
The game has a habit of segfaulting while it's destroying OpenGL objects; I'm not sure why or how to fix it, I'd like to investigate it more when I have the time.
In the meantime you can workaround the ini not being saved by using writeini in the console. There's no other harm in allowing it to crash (though for me it does hang Pipewire audio mixing for a few seconds).
If you're willing to dive into the source code and compile Zandronum yourself you could also comment out the lines it crashes in.
In the meantime you can workaround the ini not being saved by using writeini in the console. There's no other harm in allowing it to crash (though for me it does hang Pipewire audio mixing for a few seconds).
If you're willing to dive into the source code and compile Zandronum yourself you could also comment out the lines it crashes in.
<capodecima> i dont say any more word without my loyer jenova
Re: Ubuntu 24.04 Exit Crash
Sweet, I didn't know about that command, exactly what I was looking for!Sean wrote: ↑Thu Sep 05, 2024 2:19 pmThe game has a habit of segfaulting while it's destroying OpenGL objects; I'm not sure why or how to fix it, I'd like to investigate it more when I have the time.
In the meantime you can workaround the ini not being saved by using writeini in the console. There's no other harm in allowing it to crash (though for me it does hang Pipewire audio mixing for a few seconds).
If you're willing to dive into the source code and compile Zandronum yourself you could also comment out the lines it crashes in.
I'll see if I can play with the source this weekend and get some more info.
Re: Ubuntu 24.04 Exit Crash
Removing line 209 from gl_shaders.cpp and recompiling allows Zandronum to shut down without core dumping:
https://foss.heptapod.net/zandronum/zan ... heads#L209
https://foss.heptapod.net/zandronum/zan ... heads#L209