[ scummvm-Bugs-3046800 ] SCI Fallback detector crashes with several games

SourceForge.net noreply at sourceforge.net
Tue Aug 17 07:33:51 CEST 2010


Bugs item #3046800, was opened at 2010-08-16 22:33
Message generated for change (Tracker Item Submitted) made by ssburnout
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3046800&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: MD5 checksums / Detector
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: burnout (ssburnout)
Assigned to: Nobody/Anonymous (nobody)
Summary: SCI Fallback detector crashes with several games

Initial Comment:
rev 52133 compiled with MSVC 2010 for Win32.

Crashes with the following games which aren't in the detection tables yet:

Police Quest 3 DOS 1.0 EGA (6 x 3.5" disks)
Conquests of the Longbow DOS 1.0 EGA (4 x 5.25" disks)
Space Quest I 2.0 EGA DOS (6 x 3.5" disks)
Leisure Suit Larry 5 1.0 EGA (8 x 3.5" disks)

Crashes on line 2065 in resource.cpp, it seems like a problem with the global variable g_sci

if ((g_sci->getGameId() == GID_LSL1) && (g_sci->getLanguage() == Common::ES_ESP)) {

Here is the call stack:

>	scummvm.exe!Sci::ResourceManager::detectSciVersion()  Line 2065 + 0xb bytes	C++
 	scummvm.exe!Sci::ResourceManager::init()  Line 839	C++
 	scummvm.exe!Sci::SciMetaEngine::fallbackDetect(const Common::FSList & fslist)  Line 517	C++
 	scummvm.exe!AdvancedMetaEngine::detectGames(const Common::FSList & fslist)  Line 223 + 0x13 bytes	C++
 	scummvm.exe!EngineManager::detectGames(const Common::FSList & fslist)  Line 410 + 0x30 bytes	C++


>	scummvm.exe!Sci::ResourceManager::detectSciVersion()  Line 2065 + 0xb bytes	C++
 	scummvm.exe!Sci::ResourceManager::init()  Line 839	C++
 	scummvm.exe!Sci::SciMetaEngine::fallbackDetect(const Common::FSList & fslist)  Line 517	C++
 	scummvm.exe!AdvancedMetaEngine::detectGames(const Common::FSList & fslist)  Line 223 + 0x13 bytes	C++
 	scummvm.exe!EngineManager::detectGames(const Common::FSList & fslist)  Line 410 + 0x30 bytes	C++
 	scummvm.exe!GUI::LauncherDialog::addGame()  Line 738	C++
 	scummvm.exe!GUI::LauncherDialog::handleCommand(GUI::CommandSender * sender, unsigned int cmd, unsigned int data)  Line 925 + 0xf bytes	C++
 	scummvm.exe!GUI::CommandSender::sendCommand(unsigned int cmd, unsigned int data)  Line 54 + 0x23 bytes	C++
 	scummvm.exe!GUI::ButtonWidget::handleMouseUp(int x, int y, int button, int clickCount)  Line 297 + 0x1c bytes	C++
 	scummvm.exe!GUI::Dialog::handleMouseUp(int x, int y, int button, int clickCount)  Line 202 + 0x63 bytes	C++
 	scummvm.exe!GUI::GuiManager::runLoop()  Line 353 + 0x2a bytes	C++
 	scummvm.exe!GUI::Dialog::runModal()  Line 80	C++
 	scummvm.exe!launcherDialog()  Line 84 + 0xb bytes	C++
 	scummvm.exe!scummvm_main(int argc, const char * const * argv)  Line 390	C++
 	scummvm.exe!SDL_main(int argc, char * * argv)  Line 66 + 0xd bytes	C++
 	scummvm.exe!WinMain(HINSTANCE__ * __formal, HINSTANCE__ * __formal, HINSTANCE__ * __formal, HINSTANCE__ * __formal)  Line 51 + 0x12 bytes	C++
 	scummvm.exe!__tmainCRTStartup()  Line 275 + 0x2c bytes	C
 	scummvm.exe!WinMainCRTStartup()  Line 189	C


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

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




More information about the Scummvm-tracker mailing list