#14383 closed defect (fixed)

CGE2: Sfinx crashes on exit dialog under specific compile options

Reported by: mikrosk Owned by: mikrosk
Priority: normal Component: Engine: CGE2
Version: Keywords:
Cc: Game: Sfinx

Description

  1. Compile latest scummvm source code: ./configure --enable-optimizations --disable-mt32emu --disable-lua --disable-nuked-opl --disable-16bit --disable-scalers --disable-translation --disable-eventrecorder --disable-tts --disable-bink --opengl-mode=none --enable-verbose-build && make
  1. Download & unpack https://downloads.scummvm.org/frs/extras/Sfinx/sfinx-en-v1.1.zip
  1. Skip LK Avalon & Sfinx images (ESC). In the main game screen, click on the "main switch" (the joystick-like button) and point the mouse cursor to the dialog.
  1. Observe the crash.

Not sure what is causing it, it works on default ./configure (only it spits on me "WARNING: Couldn't initialize text to speech through speech-dispatcher!").

First I thought it is a bug in my backend code then I was able to replicate on Arch Linux + latest scummvm sources + this specific set of compile options.

Change History (3)

comment:1 by tag2015, 17 months ago

Summary: Sfinx crashes on exit dialog under specific compile optionsCGE2: Sfinx crashes on exit dialog under specific compile options

comment:2 by PushmePullyu, 16 months ago

Thanks for the report. I was able to reproduce this on Linux x86_64 using master 9d639aceebc814d659ebf5e13ae817f8788f9141.

The "--disable-tts" flag is enough to cause the crash. See https://github.com/scummvm/scummvm/pull/5143 for a potential fix.

comment:3 by mikrosk, 16 months ago

Owner: set to mikrosk
Resolution: fixed
Status: newclosed

Checked latest master -- I confirm that the issue has been fixed. Many thanks for looking into it!

Note: See TracTickets for help on using tickets.