Opened 3 weeks ago

Closed 12 days ago

#16683 closed defect (fixed)

NANCY: Failed assert saving the 9th file

Reported by: tunnelsociety Owned by: Filippos Karapetis <bluegr@…>
Priority: high Component: Engine: Nancy
Version: Keywords:
Cc: Game: Nancy Drew: The Haunted Carousel

Description (last modified by tunnelsociety)

ScummVM 2026.2.1git3639-g9495bc24f39 (Apr 17 2026 20:34:49)

Assert failure while saving the 9th save file.

scummvm: ./common/array.h:275: T &Common::Array<bool>::operator[](size_type) [T = bool]: Assertion `idx < _size' failed.

#4  0x0000555556f9724f in Common::Array<bool>::operator[] (this=0x5190000747d0, idx=9) at ./common/array.h:275
No locals.
#5  0x00005555574ac85f in Nancy::State::LoadSaveMenu_V2::save (this=0x519000074480) at engines/nancy/state/loadsave.cpp:1226
        finalDesc = {<Common::BaseString<char>> = {static npos = 4294967295, static _builtinCapacity = 20, _size = 20, 
            _str = 0x50400016c450 "Carousel3\n4\n5\n6\n78\n9", {
              _storage = "h\255\v\000\020S\000\000(\000\000\000\000\000\000\000H\210\255", <incomplete sequence \364>, 
              _extern = {_refCount = 0x5310000bad68, _capacity = 40}}}, <No data fields>}
        foundMatch = false
#6  0x0000555557467dac in Nancy::State::LoadSaveMenu::process (this=0x519000074480) at engines/nancy/state/loadsave.cpp:77
No locals.
#7  0x00005555573b9c6c in Nancy::NancyEngine::run (this=0x519000062780) at engines/nancy/nancy.cpp:322
        frameEndTime = 18780
        s = 0x519000074480
        graphicsWereSuppressed = false
#8  0x0000555556d7fd98 in runGame (enginePlugin=0x503000006c10, system=..., game=..., meDescriptor=0x5150001a5700)
    at base/main.cpp:324

Change History (4)

comment:1 by tunnelsociety, 3 weeks ago

Description: modified (diff)
Game: Nancy Drew: The Haunted Carousel

comment:2 by tunnelsociety, 2 weeks ago

Priority: normalhigh

comment:3 by tunnelsociety, 2 weeks ago

Description: modified (diff)
Summary: NANCY: Assert saving the 9th fileNANCY: Failed assert saving the 9th file

comment:4 by Filippos Karapetis <bluegr@…>, 12 days ago

Owner: set to Filippos Karapetis <bluegr@…>
Resolution: fixed
Status: newclosed

In 7b833ce:

NANCY: Properly handle saved slots when changing page in Nancy8+

Fix #16683

Note: See TracTickets for help on using tickets.