Opened 7 years ago

Closed 7 years ago

#10526 closed defect (fixed)

MOHAWK: MYST ME: Crash when opening the map while using the Fortress Simulator

Reported by: lotharsm Owned by: bgK
Priority: normal Component: Engine: Mohawk
Version: Keywords:
Cc: Game: Myst

Description

Visit the Mechanical Age and look at the Fortress Simulator. *Before* the animation/video that appears when the Fortress Simulator starts, try to view the map. After a few seconds, ScummVM will crash.

gdb output:

Thread 1 received signal SIGSEGV, Segmentation fault.
Mohawk::MystAreaVideo::playMovie (this=0x21ec7440)
    at engines/mohawk/myst_areas.cpp:226
226             VideoEntryPtr handle = _vm->_video->findVideo(_videoFile);
(gdb) backtrace
#0  Mohawk::MystAreaVideo::playMovie (this=0x21ec7440)
    at engines/mohawk/myst_areas.cpp:226
#1  0x000000000113417a in Mohawk::MystStacks::Mechanical::fortressSimulation_run (this=0x219f0c80) at engines/mohawk/myst_stacks/mechanical.cpp:862
#2  0x000000000111cbf9 in Mohawk::MohawkEngine_Myst::doFrame (
    this=this@entry=0x1aa857a0) at engines/mohawk/myst.cpp:394
#3  0x000000000111d518 in Mohawk::MohawkEngine_Myst::run (this=0x1aa857a0)
    at engines/mohawk/myst.cpp:383
#4  0x00000000004081cf in runGame (edebuglevels=..., system=...,
    plugin=<optimized out>) at base/main.cpp:264
#5  scummvm_main (argc=argc@entry=1, argv=argv@entry=0x1aa62c00)
    at base/main.cpp:530

Attachments (3)

myst-000.mym (13.7 KB ) - added by lotharsm 7 years ago.
myst-000.mys (109 bytes ) - added by lotharsm 7 years ago.
timestamps (70 bytes ) - added by lotharsm 7 years ago.

Download all attachments as: .zip

Change History (6)

by lotharsm, 7 years ago

Attachment: myst-000.mym added

by lotharsm, 7 years ago

Attachment: myst-000.mys added

by lotharsm, 7 years ago

Attachment: timestamps added

comment:1 by lotharsm, 7 years ago

I noticed that the steps to reproduce this are misleading.

  1. Stand in front of the fortress simulator
  2. Start it, and *while* the fortress simulator startup animation is being played, view the map.
  3. Then, after a few seconds, the crash happens.
Last edited 7 years ago by lotharsm (previous) (diff)

comment:2 by dafioram, 7 years ago

The original engine (MYST ME) also does not handle this well. If you pull up the map in the original (ALT+F8) then the game show the fortress animation ontop of the map. The only difference is that scummvm also crashes at the end.

ScummVM will display the map immediately while the original will wait till the animation has started before showing the map.

Maybe just preventing the map from being opened during the simulation?

comment:3 by bgK, 7 years ago

Owner: set to bgK
Resolution: fixed
Status: newclosed

Thanks for your report, this was fixed in commit 6798f9c77ebe9c436c16cd1525554eb49bc1ba1d.

Note: See TracTickets for help on using tickets.