Opened 6 years ago

Closed 6 years ago

#10619 closed defect (fixed)

LAB: Gui load crash

Reported by: dafioram Owned by: dafioram
Priority: high Component: Engine: Lab
Version: Keywords:
Cc: Game: Labyrinth of Time

Description

Game: Labyrinth of Time Windows/English/GOG

  1. Start scummvm gui
  2. select labyrinthn of time and hit Load

crash.

#0  0x00007ffff412198d in __GI___libc_free (mem=0x7fff00000005)
    at malloc.c:3103
#1  0x0000555557921bf3 in Graphics::Surface::free() (this=0x7ffffffb7630)
    at graphics/surface.cpp:80
#2  0x00005555560a376b in Graphics::SurfaceDeleter::operator()(Graphics::Surface*) (this=0x55555940c250, ptr=0x7ffffffb7630) at ./graphics/surface.h:340
#3  0x0000555557888d71 in Common::SharedPtrDeletionDeleterImpl<Graphics::Surface, Graphics::SurfaceDeleter>::~SharedPtrDeletionDeleterImpl() (this=0x55555940c240, __in_chrg=<optimized out>) at ./common/ptr.h:54
#4  0x0000555557888d98 in Common::SharedPtrDeletionDeleterImpl<Graphics::Surface, Graphics::SurfaceDeleter>::~SharedPtrDeletionDeleterImpl() (this=0x55555940c240, __in_chrg=<optimized out>) at ./common/ptr.h:54
#5  0x00005555559b400e in Common::SharedPtr<Graphics::Surface>::decRef() (this=0x7ffffffb77b8) at ./common/ptr.h:208
#6  0x00005555559b29c6 in Common::SharedPtr<Graphics::Surface>::~SharedPtr() (this=0x7ffffffb77b8, __in_chrg=<optimized out>) at ./common/ptr.h:124
#7  0x00005555559b252e in SaveStateDescriptor::~SaveStateDescriptor() (this=0x7ffffffb7708, __in_chrg=<optimized out>) at ./engines/savestate.h:45
#8  0x000055555655f63c in Lab::SaveGameHeader::~SaveGameHeader() (this=0x7ffffffb7700, __in_chrg=<optimized out>) at ./engines/lab/lab.h:70
#9  0x000055555655f1f3 in LabMetaEngine::listSaves(char const*) const (this=
    0x555558ceb0c0, target=0x555558dc52a8 "lab-win")
    at engines/lab/detection.cpp:167
#10 0x000055555780b89e in GUI::SaveLoadChooserDialog::listSaves() (this=0x555558dc5210) at gui/saveload-dialog.cpp:292
#11 0x000055555780b835 in GUI::SaveLoadChooserDialog::updateSaveList() (this=0x555558dc5210) at gui/saveload-dialog.cpp:287
#12 0x000055555780da10 in GUI::SaveLoadChooserSimple::updateSaveList() (this=0x555558dc5210) at gui/saveload-dialog.cpp:639
#13 0x000055555780c46c in GUI::SaveLoadChooserSimple::runIntern() (this=0x555558dc5210) at gui/saveload-dialog.cpp:402
#14 0x000055555780b55a in GUI::SaveLoadChooserDialog::run(Common::String const&, MetaEngine const*) (this=0x555558dc5210, target=..., metaEngine=0x555558ceb0c0) at gui/saveload-dialog.cpp:191
#15 0x000055555780af07 in GUI::SaveLoadChooser::runModalWithPluginAndTarget(Plugin const*, Common::String const&) (this=0x555559273fa0, plugin=0x555558ceb150, target=...) at gui/saveload.cpp:101
#16 0x00005555577f2036 in GUI::LauncherDialog::loadGame(int) (this=0x7ffffffb8500, item=7) at gui/launcher.cpp:518
#17 0x00005555577f19c7 in GUI::LauncherDialog::loadGameButtonPressed(int) (this=0x7ffffffb8500, item=7) at gui/launcher.cpp:465
#18 0x00005555577f2a21 in GUI::LauncherDialog::handleCommand(GUI::CommandSender*, unsigned int, unsigned int) (this=0x7ffffffb8500, sender=0x555559405128, cmd=1280262468, data=0) at gui/launcher.cpp:642
#19 0x00005555570741d3 in GUI::CommandSender::sendCommand(unsigned int, unsigned int) (this=0x555559405128, cmd=1280262468, data=0)
    at ./gui/object.h:55
#20 0x000055555782dcec in GUI::ButtonWidget::handleMouseUp(int, int, int, int) (this=0x555559405060, x=16, y=7, button=1, clickCount=1)
    at gui/widget.cpp:332
#21 0x00005555577e7566 in GUI::Dialog::handleMouseUp(int, int, int, int) (this=0x7ffffffb8500, x=525, y=148, button=1, clickCount=1)
    at gui/dialog.cpp:226
#22 0x00005555577eecce in GUI::GuiManager::processEvent(Common::Event const&, GUI::Dialog*) (this=0x555558e29170, event=..., activeDialog=0x7ffffffb8500) at gui/gui-manager.cpp:588
#23 0x00005555577ee092 in GUI::GuiManager::runLoop() (this=0x555558e29170) at gui/gui-manager.cpp:359
#24 0x00005555577e6ee4 in GUI::Dialog::runModal() (this=0x7ffffffb8500) at gui/dialog.cpp:80
#25 0x00005555559a3b12 in launcherDialog() () at base/main.cpp:106
#26 0x00005555559a5927 in scummvm_main(int, char const* const*) (argc=1, argv=0x7fffffffdfb8) at base/main.cpp:501
#27 0x00005555559a2a7c in main(int, char**) (argc=1, argv=0x7fffffffdfb8) at backends/platform/sdl/posix/posix-main.cpp:45

Change History (2)

comment:1 by dafioram, 6 years ago

Ubuntu 18.04
SDL: 2.0.7

comment:2 by dafioram, 6 years ago

Owner: set to dafioram
Resolution: fixed
Status: newclosed

Fixed in 75587c3c669d37.

Note: See TracTickets for help on using tickets.