Serious-Engine
Serious-Engine copied to clipboard
Segmentation fault (core dumped) using GOG version
Manjaro Linux, using git version, 64bit.
'/home/manjaro/Serious-Engine/Bin/ssam'
STUBBED: load window icon in /home/manjaro/Serious-Engine/Sources/SeriousSam/MainWindow.cpp, line 168.
STUBBED: Need SDL invisible window or something in /home/manjaro/Serious-Engine/Sources/SeriousSam/MainWindow.cpp, line 327.
STUBBED: !!! FIXME: get the code back in from Ryan's original port. in /home/manjaro/Serious-Engine/Sources/Engine/Base/Stream.cpp, line 921.
STUBBED: Report actual SDL device name? in /home/manjaro/Serious-Engine/Sources/Engine/Sound/SoundLibrary.cpp, line 269.
STUBBED: co-opt the existing T-buffer support for multisampling? in /home/manjaro/Serious-Engine/Sources/Engine/Graphics/SDL/SDLOpenGL.cpp, line 113.
STUBBED: this can't possibly be right, yeah? in /home/manjaro/Serious-Engine/Sources/Engine/Base/SDL/SDLEvents.cpp, line 147.
STUBBED: SDL2 can handle these events in /home/manjaro/Serious-Engine/Sources/SeriousSam/SeriousSam.cpp, line 1027.
STUBBED: Not 64-bit clean in /home/manjaro/Serious-Engine/Sources/EntitiesMP/Player.es, line 6561.
Segmentation fault (core dumped)
I can get to the menu without the .gro files from the gog install.
I have isolated the cause to the MusicMP folder from the SE1_00_Music.GRO
M̶i̶g̶h̶t̶ ̶b̶e̶ ̶r̶e̶l̶a̶t̶e̶d̶ ̶t̶o̶ ̶l̶i̶b̶o̶g̶g̶ Almost certantly related to libogg. 🤔
@ptitSeb Which version of libogg are you using? Or is libogg included in Serious engine?
On Pyra, the one from the system (debian os). Nothing fancy. An Pandora I use tremor. But sure to NOT use that option (it mostly for Pandora build).
Something wierd is that if I extract the music gro and convert ogg to mp3 and back to ogg it works.
False alert. This is only a part fix (it only gets me to the menu.)
Are there any special instructions for GOG version?
This issue happens on the CD version too...
Playing with different configurations I came across a warning that said something like this:
Cannot open ogg file decoder.
@ptitSeb What do you think it means(how can it be fixed?)
I have narrowed it down to the .txt files in the DataMP/Messages/Intro; Ignore the message from above.
Edit: nope. It is when it is loading the textures
i have the same exact issue on pop_OS
running the programm with gdb gives this output: Thread 1 "ssam-tfe" received signal SIGSEGV, Segmentation fault. CFogMarker::GetFog (this=0x0, fpFog=...) at /home/schatteneis/Serious-Engine/Sources/Entities/FogMarker.es:64 64 fpFog.fp_vFogDir(1) = m(1,2);
for now an easy fix would be to compile the 32 bit version
also this only seems to happen if you compile with clang
by the way make sure you have nasm installed, the build failed on my system with gcc so i assumed i had to use clang, turns out all i needed was nasm and gcc on 64 bit compiled fine
update: you need gcc 10, gcc 11 fails
Something wierd is that if I extract the music gro and convert ogg to mp3 and back to ogg it works.
I was able to fix the bug by compiling the game and the libraries, and I have music in the game. I share my compilations in case you need them.
https://github.com/q3aql/Serious-Engine/releases/