Version: gzdoom-git 1.9pre.r2309.g4e1723e-1 (happened on older builds too)
OS: ArchLinux x86_64
Bug:
How to trigger the segfault on my system:
Happens also in vanilla (reliably by using the chainsaw on an imp
With custom wads, happens as soon as you get one of the zombies in pain status.
[linux] Fmod segfaults.
Moderator: Graf Zahl
-
- Developer
- Posts: 197
- Joined: Sun Nov 29, 2009 16:36
Re: [linux] Fmod segfaults.
Is gzdoom built with just fmod or also with openal? I saw crashes caused by the interaction between fmod and openal sound libraries (happens also in zdoom). This can be fixed by building it with either fmod or openal.
-
- Posts: 2
- Joined: Tue Sep 22, 2015 15:29
Re: [linux] Fmod segfaults.
I built it with both. Will disable OpenAL as a compile option and report back.
One thing to note:
Selecting openal as the sound backend still crashes the game.
If built without fmod and with openal as the backend, it doesn't crash anymore. (I've been playing like this for the longest time).
Will look in the cmake now and disable openal.
EDIT:
passed DNO_OPENAL=ON as one of the flags
the build was succesfull
As expected, I can only select the fmod backend now.
The easily reproducable crashes I could trigger before disappeared.
This was driving me nuts for weeks. What about inserting a condition in the cmake file where if it detects linux it doesn't compile gzdoom with openal?
Thanks for the suggestion.
One thing to note:
Selecting openal as the sound backend still crashes the game.
If built without fmod and with openal as the backend, it doesn't crash anymore. (I've been playing like this for the longest time).
Will look in the cmake now and disable openal.
EDIT:
passed DNO_OPENAL=ON as one of the flags
the build was succesfull
As expected, I can only select the fmod backend now.
The easily reproducable crashes I could trigger before disappeared.
This was driving me nuts for weeks. What about inserting a condition in the cmake file where if it detects linux it doesn't compile gzdoom with openal?
Thanks for the suggestion.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: [linux] Fmod segfaults.
Since there is not the slightest hint of info here, I cannot do anything about this.