Open Surge Forum

A fun 2D retro platformer inspired by Sonic games and a game creation system

You are not logged in.

Announcement

Our community has moved to Discord! https://discord.gg/w8JqM7m

#1 2018-10-10 18:48:50

MirceaKitsune
Member
From: Romania, Bucharest
Registered: 2015-08-03
Posts: 25

[Bug] Crash at end of level due to missing silence.ogg

There seems to be an issue in latest Git master which causes the engine to crash. The crash always occurs when any level ends, right after you touch the pole and its song / animation play. Below is my console output and a pastebin of the logfile.txt file. It seems to be caused by the engine looking for a non-existing music file called "samples/silence.ogg".

mircea@linux-qz0r:~/Games/OpenSurge/OpenSurge_GIT> /home/mircea/Games/OpenSurge/OpenSurge_GIT/opensurge --basedir ./
Error loading libdumb.so: libdumb.so: cannot open shared object file: No such file or directory
Error loading libfluidsynth.so.1: libfluidsynth.so.1: cannot open shared object file: No such file or directory
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Shutting down Allegro due to signal #8
Floating point exception (core dumped)

https://pastebin.com/raw/itaFfyRa

Last edited by MirceaKitsune (2018-10-10 18:49:25)

Offline

#2 2018-10-10 19:31:30

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,279
Website

Re: [Bug] Crash at end of level due to missing silence.ogg

Please git pull smile

Offline

#3 2018-10-10 20:06:42

MirceaKitsune
Member
From: Romania, Bucharest
Registered: 2015-08-03
Posts: 25

Re: [Bug] Crash at end of level due to missing silence.ogg

Alexandre wrote:

Please git pull smile

Just pulled, did a clean recompile, and tried again. The result is interesting: The missing song error is gone, but I still get the same crash!

https://pastebin.com/raw/zYwKb1Jt

Offline

#4 2018-10-10 20:31:55

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,279
Website

Re: [Bug] Crash at end of level due to missing silence.ogg

I'll ask you two things:

1. What happens if you delete file musics/silence.ogg and just run the game?

2. If it doesn't work, recompile without OpenAL (CMake flag USE_OPENAL=OFF)

Possibly, you'll need to run Open Surge with padsp:

padsp ./opensurge

I haven't been using OpenAL in my setup.

Offline

#5 2018-10-11 10:54:41

MirceaKitsune
Member
From: Romania, Bucharest
Registered: 2015-08-03
Posts: 25

Re: [Bug] Crash at end of level due to missing silence.ogg

Alexandre wrote:

I'll ask you two things:

1. What happens if you delete file musics/silence.ogg and just run the game?

2. If it doesn't work, recompile without OpenAL (CMake flag USE_OPENAL=OFF)

Possibly, you'll need to run Open Surge with padsp:

padsp ./opensurge

I haven't been using OpenAL in my setup.

1 - Exact same issue, except the additional error about the missing file also comes back in logfile.txt.

2 - Compiling without the USE_OPENAL flag does indeed make the crash go away. I also seem to get flawless sound without running OpenSurge through padsp which I wasn't expecting either. I'll disable OpenAL support in my setup too since there's no advantage.

Offline

Board footer

Powered by FluxBB  hosted by tuxfamily.org