[Scummvm-tracker] [ScummVM :: Bugs] #11715: AUDIO: Games crash on launch with FluidSynth and no soundfont (was: SKY: Game crashes on launch when FluidSynth and no soundfont)

ScummVM :: Bugs trac at scummvm.org
Sun Feb 12 18:33:25 UTC 2023


#11715: AUDIO: Games crash on launch with FluidSynth and no soundfont
-------------------------------------------------+-------------------------
Reporter:  antoniou79                            |       Owner:  (none)
    Type:  defect                                |      Status:  new
Priority:  normal                                |   Component:  --Unset--
 Version:                                        |  Resolution:
Keywords:  soundfont, FluidSynth, crash, Loom,   |        Game:
  Beneath a Steel Sky                            |
-------------------------------------------------+-------------------------
Changes (by antoniou79):

 * keywords:  soundfont, FluidSynth, crash => soundfont, FluidSynth, crash,
     Loom, Beneath a Steel Sky
 * game:  Beneath a Steel Sky =>
 * component:  Engine: Sky => --Unset--
 * summary:  SKY: Game crashes on launch when FluidSynth and no soundfont =>
     AUDIO: Games crash on launch with FluidSynth and no soundfont


Old description:

> Before commit:
> https://github.com/scummvm/scummvm/commit/858954eec1fa7ebbcea5227ee6dbb24672eec453
>
> games would just exit without a warning if FluidSynth was set as Audio
> device (Audio Tab) but no soundfont was specified in the Midi tab.
>
> We now have a warning:"FluidSynth requires a 'soundfont' setting. Please
> specify it in ScummVM GUI on MIDI tab. Music is off"
>
> However at least in the case of SKY engine (Beneath a Steel Sky), that I
> tested, after the warning is displayed the game shows the debugger
> console with the error:
>  ERROR: Can't open midi device. Errorcode: 3!
>
> Exiting the debugger (with "exit" command) exits the game (and ScummVM).
>
> I'm reporting this for Beneath a Steel Sky that I've tested with. It
> could be an issue with other engines that don't handle this situation.

New description:

 Before commit:
 https://github.com/scummvm/scummvm/commit/858954eec1fa7ebbcea5227ee6dbb24672eec453

 games would just exit without a warning if FluidSynth was set as Audio
 device (Audio Tab) but no soundfont was specified in the Midi tab.

 We now have a warning:"FluidSynth requires a 'soundfont' setting. Please
 specify it in ScummVM GUI on MIDI tab. Music is off"

 However at least in the case of SKY engine (Beneath a Steel Sky), that I
 tested, after the warning is displayed the game shows the debugger console
 with the error:
  ERROR: Can't open midi device. Errorcode: 3!

 Exiting the debugger (with "exit" command) exits the game (and ScummVM).

 Update (12 Feb 2023):
 - The issue still persists on ScummVM 2.8git (latest build from master, on
 Windows 10)
 - On the SCUMM engine, at least on LOOM EGA that I've tested, we get a
 similar crash, after the warning prompt, but the text for the error is
 different. In the case of LOOM it is:
  ERROR: IMuse initialization - Device not available

--
Comment:

 Updated the ticker information and title to include that the crash indeed
 happens to engines other than SKY as well. This time I've tested with LOOM
 EGA (English) and ScummVM 2.6git, and got a crash with "ERROR: IMuse
 initialization - Device not available".

 The warning about the missing soundfont and "Music is off" is still
 displayed.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/11715#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list