[Ohrrpgce] [ohrrpgce/ohrrpgce] music_sdl/Debian: crashes when Humoresque.mid stops playing (#1201)

Ralph Versteegen notifications at github.com
Thu Apr 15 05:18:07 PDT 2021


franzilmast reported the official full release of Vikings of Midgard (downloaded from itch.io) nearly always crashing at certain points in the game, on x86_64 Debian, using music_sdl. [Recording on Youtube](https://www.youtube.com/watch?v=JXOX40lxyDE&t=4757s) Switching to a music_sdl2 nightly solved the problem. I can't reproduce it, may be due to the specific version of SDL_mixer or fluidsynth on the machine.  I'm just filing this bug for reference.

To begin with the game crashed several times on the line `show text box (1973)` in the olaf1 script. This is the last of a chain of textboxes playing while song 50 (Humoresque) is playing, which is the only MIDI file in the game, so stops it and resumes the map music. Song 50 was accidentally not converted to .ogg like all the others. Fenrir has now converted it to .ogg and updated the game. Note that this is not the same as import/Humoresque.mid, and I have no idea whether it's just this specific MIDI file that's a problem or not.

He managed to get past that but it crashed on another point where that track plays, when you learn Red Shift. Here's a save (walk down a couple tiles)

[Viking_Redshift_rsav.zip](https://github.com/ohrrpgce/ohrrpgce/files/6317361/Viking_Redshift_rsav.zip)

```
OHRRPGCE wip 20200812.11949 gfx_sdl+fb/music_sdl FreeBASIC 1.05.0 (01-31-2016) gcc 4.9.2 x86_64 portable  Built on ixrat -gen gcc Linux 64-bit
gfx_sdl "SDL 1.2.15 (0 joysticks) Driver:x11"
music_sdl, SDL_Mixer 1.2.12 (22050Hz, Music decoders:WAVE,MIKMOD,FLUIDSYNTH,OGG,FLAC,MP3 Sample decoders:WAVE,AIFF,VOC,OGG,FLAC)
```



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1201
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20210415/3fd280bf/attachment.html>


More information about the Ohrrpgce mailing list