#2259 closed defect (fixed)
BS2: failed assertion at end of ending credits
Reported by: | wjp | Owned by: | eriktorbjorn |
---|---|---|---|
Priority: | normal | Component: | Engine: Sword2 |
Version: | Keywords: | ||
Cc: | Game: | Broken Sword 2 |
Description
After watching the ending credits for Broken Sword 2, I get the following failed assertion:
scummvm: sword2/resman.cpp:525: void Sword2::ResourceManager::closeResource(unsigned int): Assertion `_resList[res].refCount > 0' failed.
CVS from this morning (sat. 15 oct.), gentoo linux, Broken Sword 2 english CD version, with mpeg2 movies.
Savegame at very end of the game attached.
Ticket imported from: #1327650. Ticket imported from: bugs/2259.
Attachments (1)
Change History (6)
by , 19 years ago
Attachment: | sword2.019 added |
---|
comment:1 by , 19 years ago
I can reproduce it, but annoyingly enough only when I'm *not* running it in a debugger. In a debugger, it crashes in a different way instead. Memory corrpution, perhaps? I'll take a closer look later today, when I have better debugging tools at my disposal.
comment:2 by , 19 years ago
Owner: | set to |
---|
comment:3 by , 19 years ago
Here's what valgrind reports:
http://www.math.leidenuniv.nl/~wpalenst/sword2_credits.valgrind
comment:4 by , 19 years ago
I believe this bug has been fixed in CVS now. Thanks for the report!
By the way, I would go nuts trying to Valgrind Broken Sword 2 on my 450 MHz PIII. I probably get about two frames per second. Fortunately, electric fence proved just as useful in this case. :-)
comment:5 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
sword2.019