Opened 7 years ago

Closed 10 months ago

#13624 closed bug (no change required)

Exult Ultima VII player (old BeOS app) crash due midi music

Reported by: Giova84 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Midi Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

hrev51307 gcc2 hybrid.

I installed, on Haiku, Exult (to play Ultima VII); I also had it on BeOS. However, after setting everything, I've found that whenever I select the version to play (eg Serpent Isle or Blackgate) the app will crash. I've found that if in the config file i set

  <midi>
   <enabled>
   no
   </enabled>

The game works (more or less) fine. So I have to disable midi music to properly play. I said that " works more or less fine" because, however, despite the fact that is playable if I disable midi, when I want to quit the game, Exult will hang and I have to kill it, eg from the Terminal.

I attach the debug report file, the one which I saved when the game crashed, due midi music.

Attachments (1)

exult-5201-debug-24-07-2017-23-17-18.report (18.3 KB ) - added by Giova84 7 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by Giova84, 7 years ago

patch: 01

comment:2 by pulkomandy, 7 years ago

The crash happens in SDL_SetColors which does not look like it is MIDI related.

Does the game bundle its own version of libSDL? If so, is it possible to replace it with links to the current version?

It could be a bug in libSDL that was already fixed since then.

Also, Exult is open source (http://exult.sourceforge.net/) so possibly we could just re-port it and see if that is enough to fix the problems?

comment:3 by Giova84, 7 years ago

The game was bundled with an old version of libSDL.so; now I replaced this library with a link to the current version of libSDL.so of Haiku: the game still crash if the midi in the exult.cfg is enabled, however with the link to the current libSDL.so no longer hangs when I quit the game.

comment:4 by korli, 7 years ago

patch: 10

comment:5 by begasus, 10 months ago

I don't have the older BeOS game so I can't check that, "found" an abondanware zip that I could check, with the latest release for exult I'm able to play the game without crashing (PR for that is up at haikuports) on R1B4 (64bit).

Last edited 10 months ago by begasus (previous) (diff)

comment:6 by begasus, 10 months ago

Switching midi output (default/fluidsynth/timidity/soundbanks) doesn't seem to crash also, so I guess this can be closed?

comment:7 by pulkomandy, 10 months ago

Resolution: no change required
Status: newclosed
Note: See TracTickets for help on using tickets.