Menu

#6950 ScummVM: Failed to start

*None
closed-fixed
None
5
2015-11-12
2015-11-10
zanac
No

Daily build for Windows downloaded nearly 22:00 at Minsk time, Symbian - Builded yesterday from fresh sources
How reproduce:
Run stable version, 1.7.0 for example, select builtin theme in settings, save and exit
Run daily build - and one quick closes
How solve: from scummvm.ini remove "gui_theme=builtin" and ScummVM starts.
Then ScummVM starts with modern theme. If you choose and apply builting theme ScummVM closes again.

Os: Windows(daily build), Symbian - Builded yesterday from fresh sources with GCCE 4.4.1 and GCC 5.2

Log:
[2015-11-10 22:44:53] ScummVM 1.8.0git4838-gcf178e3 (Nov 10 2015 09:38:09)
[2015-11-10 22:44:53] TAINTED Vorbis FLAC MP3 RGB zLib MPEG2 FluidSynth Theora AAC FreeType2 JPEG PNG
[2015-11-10 22:44:53] --- Log opened.
[2015-11-10 22:44:53]
[2015-11-10 22:44:53] File <memory stream="">, line 1:
[2015-11-10 22:44:53]
[2015-11-10 22:44:53]
[2015-11-10 22:44:53] Parser error: Parser expecting key start.
[2015-11-10 22:44:53]
[2015-11-10 22:44:53] WARNING: Failed to load theme 'builtin'!
[2015-11-10 22:44:53]
[2015-11-10 22:44:53] File <memory stream="">, line 1:
[2015-11-10 22:44:53]
[2015-11-10 22:44:53]
[2015-11-10 22:44:53] Parser error: Parser expecting key start.
[2015-11-10 22:44:53]
[2015-11-10 22:44:53] WARNING: Failed to load theme 'builtin'!
[2015-11-10 22:44:53] Failed to load any GUI theme, aborting!
[2015-11-10 22:44:53] --- Log closed successfully.</memory></memory>

Discussion

  • zanac

    zanac - 2015-11-11

    Lokks like this is double-bug:
    First - look up
    Second - I expect attempt to find'n'load another theme - Modern theme for example

     
  • zanac

    zanac - 2015-11-11

    Here patch for gui-manager.cpp - add autoload modern theme if failed

     
  • Johannes Schickel

    There definitely shouldn't be a fallback to modern. Builtin is the fallback choice. What should be done is to fix the builtin theme loading.

     
    • zanac

      zanac - 2015-11-12

      Okay, accepted fallback to builtin. But best way fallback to another theme and raise critical warning in gui, isn't it? Using hardcoded staff isn't good - dynamic look up is best way.
      Looks like builtin theme dropped from app. I can't use it. If I choose app closes immediately. Can you say where look for definition builtin theme and how it embedded in app?

       
      • Willem Jan Palenstijn

        As LordHoto said, the builtin theme is the fallback. It hasn't been dropped, or removed, it just has a bug at the moment, which we just have to fix. Or maybe it already is fixed.

        Have you tried to update to latest git again?

         
        • zanac

          zanac - 2015-11-12

          Someone tried actual daily build for windows or Linux? It's important.
          I go home soon and rebuild app.

           
          • Johannes Schickel

            I tried it yesterday on a Linux/amd64 build and the builtin theme worked.

             
      • Johannes Schickel

        I am not sure how we are supposed to show any error/warning in GUI, when no theme is working. At this point we do not have any GUI.

        In theory when switching themes in the GUI it should fallback to the previously selected one in case the newly selected one does not load. But prior to a bug fix by Bertrand (see his comment) trying to load the builtin theme caused an assert to be triggered, thus closing ScummVM.

         
  • zanac

    zanac - 2015-11-12

    Windows and Symbian - bug fixed.

     
  • Johannes Schickel

    • status: open --> closed-fixed
    • assigned_to: Bertrand Augereau
     
MongoDB Logo MongoDB