[ scummvm-Bugs-1532649 ] ALL: Crash when launching undefined targets

SourceForge.net noreply at sourceforge.net
Tue Aug 1 20:54:40 CEST 2006


Bugs item #1532649, was opened at 2006-08-01 21:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1532649&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: None
Group: All Games
Status: Open
Resolution: None
Priority: 5
Submitted By: Ori Avtalion (salty-horse)
Assigned to: Nobody/Anonymous (nobody)
Summary: ALL: Crash when launching undefined targets

Initial Comment:
Using current svn.
When launching scummvm with a target name that is not
defined in .scummvmrc, it is searching the current
directory.

The following targets crash when trying to launch:
kyra2
engines/kyra/sequences_v2.cpp:55: void
Kyra::KyraEngine_v2::seq_menu(): Assertion
`title->opened()' failed.

fw
engines/cine/texte.cpp:50: void
Cine::loadTextData(const char*, byte*): Assertion
`pFileHandle.isOpen()' failed.

os
Same error as fw.

They should atleast check if the first file open
they're trying is successful.

The following engines create an entry in the launcher 
and return to it when failing to launch:
sword2
sword2alt
sword2demo
feeble
simon1
simon2
ite
ihnm

The agi just target just loads up an empty screen with
a green mouse cursor.

In comparison, the SCUMM games handle this nicely by
returning an appropriate error in detectGames() which 
the engine launcher catches:
WARNING: ScummEngine: unable to locate game data at
path '/tmp'!
WARNING: Failed to instantiate engine for target puttputt!

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

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




More information about the Scummvm-tracker mailing list