Menu

#5269 MOTHERGOOSE CD: Crashing with invalid rects - kCan(t)BeHere

closed-fixed
nobody
None
5
2010-09-24
2010-08-20
Scarlatti
No

The game crashes when approaching a room in the western portion of the map, and another one near the fiddler cat at the top left. Experienced several crashes, one random with the following output:

WARNING: kCan(t)BeHere - invalid rect 9853, 32767 -> 9878, -32766!
WARNING: kCan(t)BeHere - invalid rect 9543, 32767 -> 9568, -32766!
WARNING: kCan(t)BeHere - invalid rect 9233, 32767 -> 9258, -32766!
WARNING: kCan(t)BeHere - invalid rect 9854, 32766 -> 9879, -32767!
WARNING: kCan(t)BeHere - invalid rect 9543, 32766 -> 9568, -32767!
WARNING: kCan(t)BeHere - invalid rect 9232, 32766 -> 9257, -32767!
WARNING: kCan(t)BeHere - invalid rect 9855, 32765 -> 9880, -32768!
Assertion failed: isValidRect(), file ./common/rect.h, line 91

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

And others more consistent, happening every time. The console log:

Uninitialized read for temp 0 from method AIPath::init (script 992, room 23, localCall ffffffff)!

and

WARNING: No audio map found for language 101!
WARNING: Invalid offset inside sound resource 2: track 4, channel 0!
WARNING: Invalid offset inside sound resource 2: track 5, channel 0!
WARNING: Invalid offset inside sound resource 2: track 5, channel 0!
WARNING: Invalid offset inside sound resource 2: track 5, channel 0!
WARNING: Invalid offset inside sound resource 2: track 4, channel 0!
WARNING: Invalid offset inside sound resource 2: track 5, channel 0!
WARNING: Invalid offset inside sound resource 2: track 5, channel 0!
WARNING: Invalid offset inside sound resource 2: track 5, channel 0!
Uninitialized read for temp 0 from method AIPath::init (script 992, room 7, localCall ffffffff)!

Game: Mixed-Up Mother Goose VGA CD (SCI1)
Game Version: CD/DOS/English
ScummVM Version: 1.2.0svn52218
OS: Win32 (XP SP2)

Discussion

  • Filippos Karapetis

    Fixed in rev #52223

    Not sure what is causing the invalid rects, this is a known TODO and happens randomly in some games (e.g. Iceman, first screen, at the beginning)

     
  • Filippos Karapetis

    • assigned_to: nobody --> thebluegr
    • status: open --> closed-fixed
     
  • Filippos Karapetis

    Reopening and renaming, for the kCan(t)BeHere warnings/crash

     
  • Filippos Karapetis

    • summary: MOTHERGOOSE CD: Rooms 7, 23 crash --> MOTHERGOOSE CD: Crashing with invalid rects - kCan(t)BeHere
    • assigned_to: thebluegr --> nobody
    • status: closed-fixed --> open
     
  • clone2727

    clone2727 - 2010-08-22

    I'm a little confused here. r52223 didn't touch anything with invalid rects; it just changed the comment. I don't know how that could have been thought to fix the problem here. That if statement should return anything *but* NULL_REG because we changed the definition of GfxCompare::kernelCanBeHere() to return the value the object collided with (if any) - this really should be renamed. Try returning something else besides NULL_REG, such as SIGNAL_REG, and see if that fixes it.

     
  • Scarlatti

    Scarlatti - 2010-08-23

    As of svn52292, I'm not experiencing the invalid rects crashes anymore.

     
  • M. Kiewitz

    M. Kiewitz - 2010-08-29

    so the whole bug is "solved" and can get closed?

     
  • M. Kiewitz

    M. Kiewitz - 2010-09-05
    • status: open --> pending-fixed
     
  • Filippos Karapetis

    • status: pending-fixed --> closed-fixed
     
Auth0 Logo