← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/bug-1690519-playercolor into lp:widelands

 

Sorry, I tried this with:

MallocGuardEdges=y
MallocStackLoggingNoCompact=y
export MallocScribble=y
export MallocCheckHeapStart=0
export MallocCheckHeapEach=100

but before I was able to open the Mutiplayer settings it already crashes
here:

VM Regions Near 0xfffffffffffffe1e:
--> shared memory          00007fffffe12000-00007fffffe13000 [    4K] r-x/r-x SM=SHM  
    

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_malloc.dylib        	0x00007fff8f0c0657 szone_check_all + 3160
1   libsystem_malloc.dylib        	0x00007fff8f0c4149 malloc_zone_check + 58
2   libsystem_malloc.dylib        	0x00007fff8f0c3ea2 internal_check + 17
3   libsystem_malloc.dylib        	0x00007fff8f0b5f3b free + 358
4   widelands                     	0x000000010fa65c32 EditorDecreaseHeightTool::~EditorDecreaseHeightTool() + 34 (sp_counted_impl.hpp:127)
5   widelands                     	0x000000010fa65cab boost::detail::sp_counted_base::destroy() + 43 (sp_counted_base_clang.hpp:93)
6   widelands                     	0x000000010fa65e59 boost::detail::sp_counted_base::weak_release() + 57 (sp_counted_base_clang.hpp:128)
7   widelands                     	0x000000010fa65df2 boost::detail::sp_counted_base::release() + 66 (sp_counted_base_clang.hpp:115)
8   widelands                     	0x000000010fa65d8a boost::detail::shared_count::~shared_count() + 42 (shared_count.hpp:467)
9   widelands                     	0x000000010fa65a25 boost::detail::shared_count::~shared_count() + 21 (shared_count.hpp:471)
10  widelands                     	0x000000010fa3e229 boost::shared_ptr<boost::re_detail::named_subexpressions>::~shared_ptr() + 25 (shared_ptr.hpp:756)
11  widelands                     	0x000000010fa3e125 boost::shared_ptr<boost::re_detail::named_subexpressions>::~shared_ptr() + 21 (shared_ptr.hpp:756)

SirVers Idea of nonunique usage of a unique ptr souns reassonalbe, can we trace such cases,
maybe I should dive more into the definition of this unique ptr thingees.

-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1690519-playercolor/+merge/324053
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug-1690519-playercolor into lp:widelands.


References