[Scummvm-tracker] [ScummVM :: Bugs] #16683: NANCY: Assert saving the 9th file

ScummVM :: Bugs trac at scummvm.org
Sun Apr 19 00:16:19 UTC 2026


#16683: NANCY: Assert saving the 9th file
--------------------------+-----------------------------------------------
Reporter:  tunnelsociety  |       Owner:  (none)
    Type:  defect         |      Status:  new
Priority:  normal         |   Component:  Engine: Nancy
 Version:                 |  Resolution:
Keywords:                 |        Game:  Nancy Drew: The Haunted Carousel
--------------------------+-----------------------------------------------
Changes (by tunnelsociety):

 * game:   => Nancy Drew: The Haunted Carousel


Old description:

> ScummVM 2026.2.1git3639-g9495bc24f39 (Apr 17 2026 20:34:49)
>
> In the newer Nancy save/load screen (e.g. nancy8 CAR), hit an assert
> while saving the 9th 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
> }}}

New description:

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

 Hit an assert 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
 }}}

--
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/16683#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list