[Scummvm-tracker] [ScummVM] #10209: TITANIC: Memory leaks in CStarControl

dafioram trac at scummvm.org
Wed Sep 27 03:14:06 CEST 2017


#10209: TITANIC: Memory leaks in CStarControl
-------------------------------+-----------------------------
  Reporter:  csnover           |      Owner:  dreammaster
      Type:  defect            |     Status:  new
  Priority:  normal            |  Component:  Engine: Titanic
Resolution:                    |   Keywords:
      Game:  Starship Titanic  |
-------------------------------+-----------------------------
Changes (by dafioram):

 * status:  closed => new
 * resolution:  fixed =>


Comment:

 Load save on bridge in front of helmet:

 {{{
 ==10961== 408,288 (176 direct, 408,112 indirect) bytes in 1 blocks are
 definitely lost in loss record 2,329 of 2,329
 ==10961==    at 0x4C2E0EF: operator new(unsigned long) (in
 /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
 ==10961==    by 0x53320F: Titanic::OSScreenManager::createSurface(int,
 int, int) (screen_manager.cpp:321)
 ==10961==    by 0x526F1F:
 Titanic::CStarView::resizeSurface(Titanic::CScreenManager*, int, int,
 Titanic::CVideoSurface**) (star_view.cpp:516)
 ==10961==    by 0x526BD6: Titanic::CStarView::fn18(Titanic::CStarCamera*)
 (star_view.cpp:448)
 ==10961==    by 0x525693: Titanic::CStarView::reset() (star_view.cpp:78)
 ==10961==    by 0x514378:
 Titanic::CStarControl::load(Titanic::SimpleFile*) (star_control.cpp:72)
 ==10961==    by 0x43147E:
 Titanic::CProjectItem::loadData(Titanic::SimpleFile*)
 (project_item.cpp:295)
 ==10961==    by 0x430F86: Titanic::CProjectItem::loadGame(int)
 (project_item.cpp:201)
 ==10961==    by 0x551A80: Titanic::CMainGameWindow::applicationStarting()
 (main_game_window.cpp:91)
 ==10961==    by 0x423015: Titanic::TitanicEngine::initialize()
 (titanic.cpp:127)
 ==10961==    by 0x423199: Titanic::TitanicEngine::run() (titanic.cpp:154)
 ==10961==    by 0x40E05D: runGame(PluginSubclass<MetaEngine> const*,
 OSystem&, Common::String const&) (main.cpp:263)
 }}}

--
Ticket URL: <https://bugs.scummvm.org/ticket/10209#comment:2>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list