#5922 TINSEL: DW Crash in Subtitle Menu

Discworld
closed-fixed
7
2012-07-15
2011-12-15
misterhands
No

When I click in the subtitles menu on the subtitles speed slider, and then hit the OK button, SCUMMVM crashes on me,
and gives the following error message :

Assertion failed: ((unsigned int) lang) < NUM_LANGUAGES, file engines/tinsel/tinsel.cpp, line 1266

I have the multilang GRA files version of Discworld, and use SCUMMVM 1.4 Win32.

Thanks !

Discussion

1 2 > >> (Page 1 of 2)
  • It would be nice to know what language you selected in your ScummVM configuration.

     
    • summary: Discworld menu crash --> DW: menu crash
     
  • misterhands
    misterhands
    2011-12-15

    You got it : its French !

     
  • Paul Gilbert
    Paul Gilbert
    2011-12-17

    I'd make a guess that since the assert is explicitly checking that the unsigned value of the passed language (Tinsel language list, not Common) against NUM_LANGUAGES value, it's either getting a value of 'UNK_LANG', or a language value not actually supported by the Tinsel engine. Though French at least is one of the explicitly supported languages, so I'm not sure why it would assert out like this.

     
  • Paul Gilbert
    Paul Gilbert
    2011-12-17

    Actually, maybe not. Passed languages are only meant to be one of the valid values of the LANGUAGE enum anyway. So I'm not sure why an invalid value would be passed to the method. I think it'll take a developer with the French version to backtrack to see where the invalid language gets passed from, and if it's from the _language global, how it got set to an invalid value.

     
  • digitall
    digitall
    2011-12-23

    misterhands: Thanks for this bug report. To ensure that we can identify your exact version, could you please attach a listing (and preferably MD5sums) of your Discworld datafiles as a text file to this bug?
    The output of a tool such as http://md5summer.org/ would be optimal.

     
  • misterhands
    misterhands
    2011-12-23

     
    Attachments
  • misterhands
    misterhands
    2011-12-23

    OK here's the file you requested.
    I don't think my version of Discworld is particularly rare or exotic though, but I could be wrong...

     
  • digitall
    digitall
    2011-12-23

    • summary: DW: menu crash --> TINSEL: DW Crash in Subtitle Menu
     
  • digitall
    digitall
    2011-12-23

    misterhands: Thanks for the attached file. The format is perfect.

    Your multilanguage version is probably not rare or exotic, but it helps to have file listing with full MD5s for the developer who investigates to know your exact version, exclude any crashes due to corrupted files from defective, old or scratched media and to be sure that you don't have an odd variant (some translations were bad for file naming oddities).

    I have compared this to my DW1 version, but I have the UK version with SCN files, so can't look at investigating this myself...

     
1 2 > >> (Page 1 of 2)