[ scummvm-Bugs-2960238 ] RTZ: crash when using original GUI to quit

SourceForge.net noreply at sourceforge.net
Sat Feb 27 16:36:37 CET 2010


Bugs item #2960238, was opened at 2010-02-27 15:36
Message generated for change (Tracker Item Submitted) made by criezy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=2960238&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Unknown Crash/Other
Group: Return to Zork
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thierry Crozat (criezy)
Assigned to: Nobody/Anonymous (nobody)
Summary: RTZ: crash when using original GUI to quit

Initial Comment:
Using the original GUI to quit Return to Zork crashes ScummVM. It works when using the GMM to either return to the launcher or quit ScummVM, but since load and save (currently) only work through the original GUI, I would expect quitting the game to also work.

It crashes on line 496 of script.cpp (in engine/made/) because the Object pointer is NULL. I don't know what the function ScriptInterpreter::cmd_objectp() is supposed to do if the Object pointer is Null. I tried several things. Changing line 496 to

    if (obj != NULL && obj->isObject())

 fixes the crash but I get a stack overflow warning. Everything else I have tried causes a segmentation fault.

I am using ScummVM 1.1.0svn r48146 on MacOS X 10.4 Intel.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=2960238&group_id=37116




More information about the Scummvm-tracker mailing list