Opened 7 years ago
Closed 7 years ago
#10222 closed defect (fixed)
TITANIC: Invalid write in CMainGameWindow
Reported by: | dafioram | Owned by: | dreammaster |
---|---|---|---|
Priority: | normal | Component: | Engine: Titanic |
Version: | Keywords: | ||
Cc: | Game: | Starship Titanic |
Description
I loaded a saved game.
scummvm: 1.10.0git-4971-g8547c89b86
==16918== Invalid write of size 8 ==16918== at 0x222632: Titanic::CProjectItem::resetGameManager() (project_item.cpp:167) ==16918== by 0x3491E2: Titanic::CGameManager::~CGameManager() (game_manager.cpp:55) ==16918== by 0x34D59F: Titanic::CMainGameWindow::~CMainGameWindow() (main_game_window.cpp:54) ==16918== by 0x34D5D3: Titanic::CMainGameWindow::~CMainGameWindow() (main_game_window.cpp:55) ==16918== by 0x214741: Titanic::TitanicEngine::deinitialize() (titanic.cpp:134) ==16918== by 0x21485C: Titanic::TitanicEngine::run() (titanic.cpp:160) ==16918== by 0x1FF338: runGame(PluginSubclass<MetaEngine> const*, OSystem&, Common::String const&) (main.cpp:263) ==16918== by 0x200557: scummvm_main (main.cpp:529) ==16918== by 0x1FD435: main (posix-main.cpp:45) ==16918== Address 0x12f331a8 is 168 bytes inside a block of size 176 free'd ==16918== at 0x4C2F25B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==16918== by 0x22472B: Titanic::CProjectItem::~CProjectItem() (project_item.h:162) ==16918== by 0x34D55E: Titanic::CMainGameWindow::~CMainGameWindow() (main_game_window.cpp:52) ==16918== by 0x34D5D3: Titanic::CMainGameWindow::~CMainGameWindow() (main_game_window.cpp:55) ==16918== by 0x214741: Titanic::TitanicEngine::deinitialize() (titanic.cpp:134) ==16918== by 0x21485C: Titanic::TitanicEngine::run() (titanic.cpp:160) ==16918== by 0x1FF338: runGame(PluginSubclass<MetaEngine> const*, OSystem&, Common::String const&) (main.cpp:263) ==16918== by 0x200557: scummvm_main (main.cpp:529) ==16918== by 0x1FD435: main (posix-main.cpp:45) ==16918== Block was alloc'd at ==16918== at 0x4C2E19F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==16918== by 0x34DA35: Titanic::CMainGameWindow::getSavegameSlot() (main_game_window.cpp:113) ==16918== by 0x34D791: Titanic::CMainGameWindow::applicationStarting() (main_game_window.cpp:81) ==16918== by 0x2146A7: Titanic::TitanicEngine::initialize() (titanic.cpp:127) ==16918== by 0x21482B: Titanic::TitanicEngine::run() (titanic.cpp:154) ==16918== by 0x1FF338: runGame(PluginSubclass<MetaEngine> const*, OSystem&, Common::String const&) (main.cpp:263) ==16918== by 0x200557: scummvm_main (main.cpp:529) ==16918== by 0x1FD435: main (posix-main.cpp:45)
Change History (1)
comment:1 by , 7 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.