Serious-Engine icon indicating copy to clipboard operation
Serious-Engine copied to clipboard

Segmentation fault on Linux 64

Open sdsddsd1 opened this issue 4 years ago • 3 comments

Hello, I am trying to get serious-engine running on my musl based box. The code is compiled with clang without problems. (Gcc11 failed btw).
The menu starts up. However when starting the actual game, after the loading screen, it crashes with segmentation fault. On a quick glance it looks related to https://github.com/ptitSeb/Serious-Engine/issues/20.
I made a strace from the process, maybe this is helpful. Apologies for not using an actual pastebin but the file is 16mb in size (: . I made my own build script but it is identical with the build-linux64.sh

cd Sources
cmake -B second \
    -DCMAKE_BUILD_TYPE=RelWithDebInfo

cd second
make ecc
make

strace.txt

sdsddsd1 avatar Jun 15 '21 00:06 sdsddsd1

Hi,

Seeing a similar issue on a Raspberry Pi4 running PiOS Bullseye, 64bit edition.

The game freezes halfway through the chain gun scene, it was built using the supplied build script.

Trotter73 avatar Nov 22 '21 16:11 Trotter73

Mmm, the freeze at the chain gun scene, I have seen this already. I have a fix for ARM 32 already in, it probably need to be extended to ARM64, I'll have to check.

But I don't think this is relevent to this ticket about a Segfault.

ptitSeb avatar Nov 22 '21 16:11 ptitSeb

Hi !

Cool, great stuff, if you need a tester I'm available...

Ah OK, I must admit I didn't actually see a segfault, the Pi locked up fairly hard and I needed to pull the plug..

Thanks again !

Trotter73 avatar Nov 22 '21 16:11 Trotter73