Sorry still got it 

SaveHandler::save_game() took 2536ms
Reloading the game from replay
=================================================================
==99248==ERROR: AddressSanitizer: heap-use-after-free on address 0x603000c71568 
at pc 0x0001102296de bp 0x7ffee2224ef0 sp 0x7ffee2224ee8
    #2 0x110214b23 in Widelands::PortDock::cleanup(Widelands::EditorGameBase&) 
portdock.cc:200
    #3 0x10f8c9822 in Widelands::MapObject::remove(Widelands::EditorGameBase&) 
map_object.cc:465
    #4 0x10fc7d67c in Widelands::Warehouse::cleanup(Widelands::EditorGameBase&) 
warehouse.cc:638
    #5 0x10f8c9822 in Widelands::MapObject::remove(Widelands::EditorGameBase&) 
map_object.cc:465
    #6 0x10f8c9436 in 
Widelands::ObjectManager::cleanup(Widelands::EditorGameBase&) map_object.cc:167
    #7 0x10db4f8f4 in Widelands::EditorGameBase::cleanup_objects() 
editor_game_base.h:170
    #8 0x10e2d1b08 in Widelands::EditorGameBase::cleanup_for_load() 
editor_game_base.cc:510
    #9 0x10e304d5f in Widelands::Game::cleanup_for_load() game.cc:615
    #10 0x10e3eee66 in Widelands::ReplayWriter::ReplayWriter(Widelands::Game&, 
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::alloca

freed by thread T0 here:
...
    std::__1::__tree_node<Widelands::OPtr<Widelands::Ship>, void*>*, long>) 
set:647
    #6 0x11021740f in Widelands::PortDock::ship_coming(Widelands::Ship&, bool) 
portdock.cc:336
    #7 0x10fafac3b in Widelands::Ship::pop_destination(Widelands::Game&, 
Widelands::PortDock&) ship.cc:777

No idea what this replay writer does, no time for debugging right now
-- 
https://code.launchpad.net/~widelands-dev/widelands/new-shipping/+merge/371155
Your team Widelands Developers is subscribed to branch 
lp:~widelands-dev/widelands/new-shipping.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to