Menu

#6979 Broken Sword 2.5 Crashes when the time-bomb on train should go off

Broken Sword 2.5
closed-fixed
None
7
2016-02-19
2015-12-08
albadross
No

ScummVM Version : 1.8.0 git5172-g7820bd5 (Dec 7 2015 04:25:06)

Problem : The game crashes at the end of the train scene when you click the whistle on the dog to activate the time-bomb - Lua error occurred. Code 2.

I attach a series of saves of the game on the train but unfortunately due to bug #6977 I cannot get them to re-load. The last save sword25.016 is when the whistle has to be clicked on the dog. The last save I can load is the first one attached to bug #6977

Language : English
Windows 7 Ultimate 64-bit

5 Attachments

Discussion

  • Strangerke

    Strangerke - 2016-02-01
    • Priority: 5 --> 7
     
  • Strangerke

    Strangerke - 2016-02-01

    It would be nice to fix it before the release of 1.8.0. Raising priority.

     
  • albadross

    albadross - 2016-02-02

    Now that bug #6977 has been fixed, I have a savegame at the problem point that will reload. To demonstrate the problem, click the whistle on the dog.

     
  • Willem Jan Palenstijn

    We seem to hide the actual script error message, but it appears to be this:

    rooms/uba/scripts/default.lua:1073: The renderobject with the handle 13031 does no longer exist.
    
     

    Last edit: Willem Jan Palenstijn 2016-02-02
  • Willem Jan Palenstijn

    My current guess is that this is what's happening.

    The background animations in this room (uba), such as DoLamp, update regularly until CurrentRoom changes, at which point they exit.

    The room changing code first unloads/deregisters bitmaps/animations, and only then calls OnLeave. The explosion movie is started in the OnLeave script of the uba room.

    While the movie is running, the background animations update because CurrentRoom is still valid, and dereference invalid handles.

     
  • Willem Jan Palenstijn

    I noticed you mentioned you did finish the game. Does that mean that this bug can be avoided, or only happens sometimes for you?

     
  • albadross

    albadross - 2016-02-15

    It was a freak occurrence (say, 1 in a 100) that I got past that scene and I doubt that I could do it again.

    I tried combinations of all of the following many times :

    1. Waiting to see if the time-bomb would go off by itself
    2. Exhausting conversation with everyone on the train
    3. Examining everything I could even if it wasn't needed for the story
    4. Waiting for a time doing nothing (to see if the program would sort itself out)

    Eventually I got lucky - once!

     

    Last edit: albadross 2016-02-15
  • Thierry Crozat

    Thierry Crozat - 2016-02-19
    • status: open --> closed-fixed
    • assigned_to: Eugene Sandulenko
     
  • Thierry Crozat

    Thierry Crozat - 2016-02-19

    This was fixed by commit 12fadf7 which restored original engine Lua error processor.