widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #11989
Re: [Merge] lp:~widelands-dev/widelands/Mission4 into lp:widelands
OK, using the absoulte path did the trick, thanks.
./widelands --scenario=/Users/klaus/develop/widelands-repo/Mission4/data/campaigns/emp04.wmf/
When did you last merge with trunk?
I still get an Asan crash when tearing down the frist building whiel the building
statistics is open:
=================================================================
==62345==ERROR: AddressSanitizer: heap-use-after-free on address 0x6160001b90a8 at pc 0x00010e20273c bp 0x7ffee20f5c20 sp 0x7ffee20f5c18
READ of size 4 at 0x6160001b90a8 thread T0
#0 0x10e20273b in Widelands::MapObject::serial() const map_object.h:264
#1 0x10ef7dee9 in BuildingWindow::on_building_note(Widelands::NoteBuilding const&) buildingwindow.cc:69
...
0x6160001b90a8 is located 40 bytes inside of 536-byte region [0x6160001b9080,0x6160001b9298)
freed by thread T0 here:
#0 0x1122d96ab in wrap__ZdlPv (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x646ab)
#1 0x10e5b1d71 in Widelands::ProductionSite::~ProductionSite() productionsite.cc:250
previously allocated by thread T0 here:
#0 0x1122d90ab in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x640ab)
#1 0x10e5ab3ef in Widelands::ProductionSiteDescr::create_object() const productionsite.cc:224
#2 0x10e487a22 in Widelands::BuildingDescr::create(Widelands::EditorGameBase&, Widelands::Player&, Widelands::Coords, bool, bool, std::__1::vector<unsigned char, std::__1::allocato
Mybe I tried to iterate to a building that was already freed?
--
https://code.launchpad.net/~widelands-dev/widelands/Mission4/+merge/334279
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/Mission4.
References