[Scummvm-tracker] [ScummVM] #10188: SCI: Torin RU: Access violation on startup

Max Tabachenko trac at scummvm.org
Wed Sep 20 07:49:26 CEST 2017


#10188: SCI: Torin RU: Access violation on startup
------------------------------+-------------------------
  Reporter:  CrazyMax         |      Owner:  CrazyMax
      Type:  defect           |     Status:  pending
  Priority:  normal           |  Component:  Engine: SCI
Resolution:  worksforme       |   Keywords:  sci32
      Game:  Torin's Passage  |
------------------------------+-------------------------

Comment (by CrazyMax):

 i cant run debug a command "diskdump map 38140" because scummvm crash
 before debugger init.
 i'm trying run with --debug-flags=onstartup in command line, same "Access
 violation" before the debugger init.

 crash in sci.cpp at line 810 ("source->scanSource(this);"):
 {{{
 #!c
 void ResourceManager::scanNewSources() {
         _hasBadResources = false;

         for (Common::List<ResourceSource *>::iterator it =
 _sources.begin(); it != _sources.end(); ++it) {
                 ResourceSource *source = *it;

                 if (!source->_scanned) {
                         source->_scanned = true;
                         source->scanSource(this);
                 }
         }

         // The warning dialog is shown here instead of someplace more
 obvious like
         // SciEngine::run because resource sources can be dynamically
 added
         // (e.g. KQ5 via kDoAudio, MGDX via kSetLanguage), and users
 really should
         // be warned of bad resources in this situation (KQ Collection
 1997 has a
         // bad copy of KQ5 on CD 1; the working copy is on CD 2)
         if (!_detectionMode && _hasBadResources) {
                 showScummVMDialog(_("Missing or corrupt game resources
 have been detected. "
                                                         "Some game
 features may not work properly. Please check "
                                                         "the console for
 more information, and verify that your "
                                                         "game files are
 valid."));
         }
 }
 }}}

--
Ticket URL: <https://bugs.scummvm.org/ticket/10188#comment:3>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list