Opened 2 years ago

Closed 2 years ago

#13320 closed defect (fixed)

SCUMM: FT: DiMUSE crash when exiting "screensaver"

Reported by: criezy Owned by: AndywinXp
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game:

Description

In Full Throttle, if you wait a few minutes without doing anything, you get a "screensaver" with a rotating motor vehicle. Clicking to exit that screen cases a crash.

You can get that right at the start of the game, so I am not going to attach a savegame.

ScummVM: macOS M1 (compiled by myself) current master
Game: Full Throttle French Mac version

Call stack for the crash:

3   __assert_rtn + 292
4   Common::File::open(Common::Path const&, Common::Archive&) + 444 (file.cpp:45)
5   Common::File::open(Common::Path const&) + 164 (file.cpp:41)
6   Scumm::ScummFile::open(Common::Path const&) + 36 (file.cpp:53)
7   Scumm::ScummEngine::openFile(Scumm::BaseScummFile&, Common::String const&, bool) + 1044 (resource.cpp:198)
8   Scumm::Sound::restoreDiMUSESpeechFile(char const*) + 468 (sound.cpp:1165)
9   Scumm::IMuseDigiFilesHandler::saveLoad(Common::Serializer&) + 1424 (dimuse_files.cpp:92)
10  Scumm::IMuseDigital::cmdsSaveLoad(Common::Serializer&) + 88 (dimuse_cmds.cpp:177)
11  Scumm::IMuseDigital::diMUSESaveLoad(Common::Serializer&) + 32 (dimuse_engine.cpp:686)
12  Scumm::IMuseDigital::saveLoadEarly(Common::Serializer&) + 2140 (dimuse_engine.cpp:273)
13  Scumm::ScummEngine_v7::saveLoadWithSerializer(Common::Serializer&) + 104 (saveload.cpp:1614)
14  Scumm::ScummEngine::loadState(int, bool, Common::String&) + 4516 (saveload.cpp:450)
15  Scumm::ScummEngine::scummLoop_handleSaveLoad() + 2712 (scumm.cpp:2759)
16  Scumm::ScummEngine::scummLoop(int) + 3824 (scumm.cpp:2566)
17  Scumm::ScummEngine::go() + 2416 (scumm.cpp:2455)
18  Scumm::ScummEngine::run() + 468 (scumm.h:335)

Attachments (1)

Screenshot 2022-02-25 at 20.50.47.png (229.6 KB ) - added by criezy 2 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by criezy, 2 years ago

I forgot to indicate the crash is caused by the following assert:

Assertion failed: (!filename.empty()), function open, file file.cpp, line 45.

comment:2 by AndywinXp, 2 years ago

Thanks! This was such a stupid mistake on my end, glad you found it :)

comment:3 by AndywinXp, 2 years ago

Owner: set to AndywinXp
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.