shadowm icon

Untitled

shadowm | PRO | 05/27/18 04:55:20 AM UTC | 0 ⭐ | 400 👁️ | Never ⏰ | []
text |

38.71 KB

|

None

|

0 👍

/

0 👎

==================
WARNING: ThreadSanitizer: data race (pid=29308)
  Write of size 8 at 0x7b1400189d18 by main thread:
    #0 operator delete(void*) <null> (libtsan.so.0+0x6f3d1)
    #1 __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned long const, gui2::timer> > >::deallocate(std::_Rb_tree_node<std::pair<unsigned long const, gui2::timer> >*, unsigned long) /usr/include/c++/7/ext/new_allocator.h:125 (wesnoth-debug+0x422bfc7)
    #2 std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<unsigned long const, gui2::timer> > > >::deallocate(std::allocator<std::_Rb_tree_node<std::pair<unsigned long const, gui2::timer> > >&, std::_Rb_tree_node<std::pair<unsigned long const, gui2::timer> >*, unsigned long) /usr/include/c++/7/bits/alloc_traits.h:462 (wesnoth-debug+0x422bd0b)
    #3 std::_Rb_tree<unsigned long, std::pair<unsigned long const, gui2::timer>, std::_Select1st<std::pair<unsigned long const, gui2::timer> >, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, gui2::timer> > >::_M_put_node(std::_Rb_tree_node<std::pair<unsigned long const, gui2::timer> >*) /usr/include/c++/7/bits/stl_tree.h:592 (wesnoth-debug+0x422b736)
    #4 std::_Rb_tree<unsigned long, std::pair<unsigned long const, gui2::timer>, std::_Select1st<std::pair<unsigned long const, gui2::timer> >, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, gui2::timer> > >::_M_drop_node(std::_Rb_tree_node<std::pair<unsigned long const, gui2::timer> >*) /usr/include/c++/7/bits/stl_tree.h:659 (wesnoth-debug+0x422a30f)
    #5 std::_Rb_tree<unsigned long, std::pair<unsigned long const, gui2::timer>, std::_Select1st<std::pair<unsigned long const, gui2::timer> >, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, gui2::timer> > >::_M_erase_aux(std::_Rb_tree_const_iterator<std::pair<unsigned long const, gui2::timer> >) /usr/include/c++/7/bits/stl_tree.h:2477 (wesnoth-debug+0x422b57b)
    #6 std::_Rb_tree<unsigned long, std::pair<unsigned long const, gui2::timer>, std::_Select1st<std::pair<unsigned long const, gui2::timer> >, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, gui2::timer> > >::erase[abi:cxx11](std::_Rb_tree_iterator<std::pair<unsigned long const, gui2::timer> >) <null> (wesnoth-debug+0x422a199)
    #7 std::map<unsigned long, gui2::timer, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, gui2::timer> > >::erase[abi:cxx11](std::_Rb_tree_iterator<std::pair<unsigned long const, gui2::timer> >) <null> (wesnoth-debug+0x42295b1)
    #8 gui2::remove_timer(unsigned long) src/gui/core/timer.cpp:170 (wesnoth-debug+0x42285f6)
    #9 gui2::dialogs::loading_screen::clear_timer() src/gui/dialogs/loading_screen.cpp:233 (wesnoth-debug+0x4277855)
    #10 gui2::dialogs::loading_screen::post_show(gui2::window&) src/gui/dialogs/loading_screen.cpp:138 (wesnoth-debug+0x427531e)
    #11 gui2::dialogs::modal_dialog::show(unsigned int) src/gui/dialogs/modal_dialog.cpp:108 (wesnoth-debug+0x42a38bb)
    #12 gui2::dialogs::loading_screen::display(std::function<void ()>) src/gui/dialogs/loading_screen.cpp:223 (wesnoth-debug+0x42771c8)
    #13 game_config_manager::load_game_config_with_loadscreen(game_config_manager::FORCE_RELOAD_CONFIG, game_classification const*) src/game_config_manager.cpp:138 (wesnoth-debug+0x40495bc)
    #14 game_config_manager::load_game_config_for_game(game_classification const&) src/game_config_manager.cpp:559 (wesnoth-debug+0x4050783)
    #15 saved_game::expand_scenario() src/saved_game.cpp:227 (wesnoth-debug+0x4991819)
    #16 ng::create_engine::prepare_for_new_level() src/game_initialization/create_engine.cpp:368 (wesnoth-debug+0x5eed048)
    #17 sp::enter_configure_mode(saved_game&, ng::create_engine&) src/game_initialization/singleplayer.cpp:133 (wesnoth-debug+0x567fc40)
    #18 sp::enter_create_mode(saved_game&, jump_to_campaign_info) src/game_initialization/singleplayer.cpp:112 (wesnoth-debug+0x567f661)
    #19 game_launcher::new_campaign() src/game_launcher.cpp:720 (wesnoth-debug+0x40f2656)
    #20 operator() src/gui/dialogs/title_screen.cpp:312 (wesnoth-debug+0x43563df)
    #21 _M_invoke /usr/include/c++/7/bits/std_function.h:316 (wesnoth-debug+0x4360263)
    #22 std::function<void ()>::operator()() const /usr/include/c++/7/bits/std_function.h:706 (wesnoth-debug+0x39a426d)
    #23 void std::__invoke_impl<void, std::function<void ()>&>(std::__invoke_other, std::function<void ()>&) /usr/include/c++/7/bits/invoke.h:60 (wesnoth-debug+0x4266736)
    #24 std::__invoke_result<std::function<void ()>&>::type std::__invoke<std::function<void ()>&>(std::function<void ()>&) /usr/include/c++/7/bits/invoke.h:95 (wesnoth-debug+0x4265e5f)
    #25 void std::_Bind<std::function<void ()> ()>::__call<void, gui2::widget&, gui2::event::ui_event&&, bool&, bool&>(std::tuple<gui2::widget&, gui2::event::ui_event&&, bool&, bool&>&&, std::_Index_tuple<>) /usr/include/c++/7/functional:467 (wesnoth-debug+0x4370e6c)
    #26 void std::_Bind<std::function<void ()> ()>::operator()<gui2::widget&, gui2::event::ui_event, bool&, bool&, void>(gui2::widget&, gui2::event::ui_event&&, bool&, bool&) /usr/include/c++/7/functional:551 (wesnoth-debug+0x436e96f)
    #27 std::_Function_handler<void (gui2::widget&, gui2::event::ui_event, bool&, bool&), std::_Bind<std::function<void ()> ()> >::_M_invoke(std::_Any_data const&, gui2::widget&, gui2::event::ui_event&&, bool&, bool&) /usr/include/c++/7/bits/std_function.h:316 (wesnoth-debug+0x436b11d)
    #28 std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&)>::operator()(gui2::widget&, gui2::event::ui_event, bool&, bool&) const /usr/include/c++/7/bits/std_function.h:706 (wesnoth-debug+0x419c4fd)
    #29 bool gui2::event::implementation::fire_event<std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&)>>(gui2::event::ui_event, std::vector<std::pair<gui2::widget*, gui2::event::ui_event>, std::allocator<std::pair<gui2::widget*, gui2::event::ui_event> > >&, gui2::widget*, gui2::widget*) src/gui/core/event/dispatcher_private.hpp:433 (wesnoth-debug+0x418dc61)
    #30 bool gui2::event::fire_event<std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&)>>(gui2::event::ui_event, gui2::event::dispatcher*, gui2::widget*) <null> (wesnoth-debug+0x4189543)
    #31 gui2::event::dispatcher::fire(gui2::event::ui_event, gui2::widget&) src/gui/core/event/dispatcher.cpp:137 (wesnoth-debug+0x41831db)
    #32 gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::mouse_button_click(gui2::widget*) <null> (wesnoth-debug+0x41fba1c)
    #33 gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::signal_handler_sdl_button_up(gui2::event::ui_event, bool&, point const&) src/gui/core/event/distributor.cpp:490 (wesnoth-debug+0x41e76b7)
    #34 void std::__invoke_impl<void, void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*&)(gui2::event::ui_event, bool&, point const&), gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*&, gui2::event::ui_event, bool&, point const&>(std::__invoke_memfun_deref, void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*&)(gui2::event::ui_event, bool&, point const&), gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*&, gui2::event::ui_event&&, bool&, point const&) /usr/include/c++/7/bits/invoke.h:73 (wesnoth-debug+0x420b8c5)
    #35 std::__invoke_result<void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*&)(gui2::event::ui_event, bool&, point const&), gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*&, gui2::event::ui_event, bool&, point const&>::type std::__invoke<void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*&)(gui2::event::ui_event, bool&, point const&), gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*&, gui2::event::ui_event, bool&, point const&>(void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*&)(gui2::event::ui_event, bool&, point const&), gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*&, gui2::event::ui_event&&, bool&, point const&) /usr/include/c++/7/bits/invoke.h:95 (wesnoth-debug+0x4209589)
    #36 void std::_Bind<void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*(gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*, boost::arg<2>, boost::arg<3>, boost::arg<5>))(gui2::event::ui_event, bool&, point const&)>::__call<void, gui2::widget&, gui2::event::ui_event&&, bool&, bool&, point const&, 0ul, 1ul, 2ul, 3ul>(std::tuple<gui2::widget&, gui2::event::ui_event&&, bool&, bool&, point const&>&&, std::_Index_tuple<0ul, 1ul, 2ul, 3ul>) /usr/include/c++/7/functional:467 (wesnoth-debug+0x42071b2)
    #37 void std::_Bind<void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*(gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*, boost::arg<2>, boost::arg<3>, boost::arg<5>))(gui2::event::ui_event, bool&, point const&)>::operator()<gui2::widget&, gui2::event::ui_event, bool&, bool&, point const&, void>(gui2::widget&, gui2::event::ui_event&&, bool&, bool&, point const&) /usr/include/c++/7/functional:551 (wesnoth-debug+0x420416a)
    #38 std::_Function_handler<void (gui2::widget&, gui2::event::ui_event, bool&, bool&, point const&), std::_Bind<void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*(gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*, boost::arg<2>, boost::arg<3>, boost::arg<5>))(gui2::event::ui_event, bool&, point const&)> >::_M_invoke(std::_Any_data const&, gui2::widget&, gui2::event::ui_event&&, bool&, bool&, point const&) <null> (wesnoth-debug+0x41fa701)
    #39 std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&, point const&)>::operator()(gui2::widget&, gui2::event::ui_event, bool&, bool&, point const&) const /usr/include/c++/7/bits/std_function.h:706 (wesnoth-debug+0x419d052)
    #40 bool gui2::event::implementation::fire_event<std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&, point const&)>, point const&>(gui2::event::ui_event, std::vector<std::pair<gui2::widget*, gui2::event::ui_event>, std::allocator<std::pair<gui2::widget*, gui2::event::ui_event> > >&, gui2::widget*, gui2::widget*, point const&) src/gui/core/event/dispatcher_private.hpp:433 (wesnoth-debug+0x418f1b7)
    #41 bool gui2::event::fire_event<std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&, point const&)>, point const&>(gui2::event::ui_event, gui2::event::dispatcher*, gui2::widget*, point const&) src/gui/core/event/dispatcher_private.hpp:505 (wesnoth-debug+0x41896e1)
    #42 gui2::event::dispatcher::fire(gui2::event::ui_event, gui2::widget&, point const&) src/gui/core/event/dispatcher.cpp:144 (wesnoth-debug+0x418326f)
    #43 gui2::event::sdl_event_handler::mouse(gui2::event::ui_event, point const&) src/gui/core/event/handler.cpp:586 (wesnoth-debug+0x4211efe)
    #44 gui2::event::sdl_event_handler::mouse_button_up(point const&, unsigned char) src/gui/core/event/handler.cpp:605 (wesnoth-debug+0x4212566)
    #45 gui2::event::sdl_event_handler::handle_event(SDL_Event const&) src/gui/core/event/handler.cpp:369 (wesnoth-debug+0x420db37)
    #46 events::pump() src/events.cpp:616 (wesnoth-debug+0x66b97ed)
    #47 gui2::window::show(bool, unsigned int) src/gui/widgets/window.cpp:550 (wesnoth-debug+0x3c46b24)
    #48 gui2::dialogs::modal_dialog::show(unsigned int) src/gui/dialogs/modal_dialog.cpp:89 (wesnoth-debug+0x42a3237)
    #49 do_gameloop src/wesnoth.cpp:860 (wesnoth-debug+0x3ca4971)
    #50 main src/wesnoth.cpp:1143 (wesnoth-debug+0x3ca5b33)
   Previous read of size 4 at 0x7b1400189d1c by thread T1:
    #0 timer_callback src/gui/core/timer.cpp:106 (wesnoth-debug+0x4227a37)
    #1 <null> <null> (libSDL2-2.0.so.0+0x67fc8)
   As if synchronized via sleep:
    #0 nanosleep <null> (libtsan.so.0+0x49490)
    #1 <null> <null> (libSDL2-2.0.so.0+0xdd914)
    #2 gui2::dialogs::modal_dialog::show(unsigned int) src/gui/dialogs/modal_dialog.cpp:89 (wesnoth-debug+0x42a3237)
    #3 gui2::dialogs::loading_screen::display(std::function<void ()>) src/gui/dialogs/loading_screen.cpp:223 (wesnoth-debug+0x42771c8)
    #4 game_config_manager::load_game_config_with_loadscreen(game_config_manager::FORCE_RELOAD_CONFIG, game_classification const*) src/game_config_manager.cpp:138 (wesnoth-debug+0x40495bc)
    #5 game_config_manager::load_game_config_for_game(game_classification const&) src/game_config_manager.cpp:559 (wesnoth-debug+0x4050783)
    #6 saved_game::expand_scenario() src/saved_game.cpp:227 (wesnoth-debug+0x4991819)
    #7 ng::create_engine::prepare_for_new_level() src/game_initialization/create_engine.cpp:368 (wesnoth-debug+0x5eed048)
    #8 sp::enter_configure_mode(saved_game&, ng::create_engine&) src/game_initialization/singleplayer.cpp:133 (wesnoth-debug+0x567fc40)
    #9 sp::enter_create_mode(saved_game&, jump_to_campaign_info) src/game_initialization/singleplayer.cpp:112 (wesnoth-debug+0x567f661)
    #10 game_launcher::new_campaign() src/game_launcher.cpp:720 (wesnoth-debug+0x40f2656)
    #11 operator() src/gui/dialogs/title_screen.cpp:312 (wesnoth-debug+0x43563df)
    #12 _M_invoke /usr/include/c++/7/bits/std_function.h:316 (wesnoth-debug+0x4360263)
    #13 std::function<void ()>::operator()() const /usr/include/c++/7/bits/std_function.h:706 (wesnoth-debug+0x39a426d)
    #14 void std::__invoke_impl<void, std::function<void ()>&>(std::__invoke_other, std::function<void ()>&) /usr/include/c++/7/bits/invoke.h:60 (wesnoth-debug+0x4266736)
    #15 std::__invoke_result<std::function<void ()>&>::type std::__invoke<std::function<void ()>&>(std::function<void ()>&) /usr/include/c++/7/bits/invoke.h:95 (wesnoth-debug+0x4265e5f)
    #16 void std::_Bind<std::function<void ()> ()>::__call<void, gui2::widget&, gui2::event::ui_event&&, bool&, bool&>(std::tuple<gui2::widget&, gui2::event::ui_event&&, bool&, bool&>&&, std::_Index_tuple<>) /usr/include/c++/7/functional:467 (wesnoth-debug+0x4370e6c)
    #17 void std::_Bind<std::function<void ()> ()>::operator()<gui2::widget&, gui2::event::ui_event, bool&, bool&, void>(gui2::widget&, gui2::event::ui_event&&, bool&, bool&) /usr/include/c++/7/functional:551 (wesnoth-debug+0x436e96f)
    #18 std::_Function_handler<void (gui2::widget&, gui2::event::ui_event, bool&, bool&), std::_Bind<std::function<void ()> ()> >::_M_invoke(std::_Any_data const&, gui2::widget&, gui2::event::ui_event&&, bool&, bool&) /usr/include/c++/7/bits/std_function.h:316 (wesnoth-debug+0x436b11d)
    #19 std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&)>::operator()(gui2::widget&, gui2::event::ui_event, bool&, bool&) const /usr/include/c++/7/bits/std_function.h:706 (wesnoth-debug+0x419c4fd)
    #20 bool gui2::event::implementation::fire_event<std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&)>>(gui2::event::ui_event, std::vector<std::pair<gui2::widget*, gui2::event::ui_event>, std::allocator<std::pair<gui2::widget*, gui2::event::ui_event> > >&, gui2::widget*, gui2::widget*) src/gui/core/event/dispatcher_private.hpp:433 (wesnoth-debug+0x418dc61)
    #21 bool gui2::event::fire_event<std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&)>>(gui2::event::ui_event, gui2::event::dispatcher*, gui2::widget*) <null> (wesnoth-debug+0x4189543)
    #22 gui2::event::dispatcher::fire(gui2::event::ui_event, gui2::widget&) src/gui/core/event/dispatcher.cpp:137 (wesnoth-debug+0x41831db)
    #23 gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::mouse_button_click(gui2::widget*) <null> (wesnoth-debug+0x41fba1c)
    #24 gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::signal_handler_sdl_button_up(gui2::event::ui_event, bool&, point const&) src/gui/core/event/distributor.cpp:490 (wesnoth-debug+0x41e76b7)
    #25 void std::__invoke_impl<void, void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*&)(gui2::event::ui_event, bool&, point const&), gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*&, gui2::event::ui_event, bool&, point const&>(std::__invoke_memfun_deref, void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*&)(gui2::event::ui_event, bool&, point const&), gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*&, gui2::event::ui_event&&, bool&, point const&) /usr/include/c++/7/bits/invoke.h:73 (wesnoth-debug+0x420b8c5)
    #26 std::__invoke_result<void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*&)(gui2::event::ui_event, bool&, point const&), gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*&, gui2::event::ui_event, bool&, point const&>::type std::__invoke<void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*&)(gui2::event::ui_event, bool&, point const&), gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*&, gui2::event::ui_event, bool&, point const&>(void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*&)(gui2::event::ui_event, bool&, point const&), gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*&, gui2::event::ui_event&&, bool&, point const&) /usr/include/c++/7/bits/invoke.h:95 (wesnoth-debug+0x4209589)
    #27 void std::_Bind<void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*(gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*, boost::arg<2>, boost::arg<3>, boost::arg<5>))(gui2::event::ui_event, bool&, point const&)>::__call<void, gui2::widget&, gui2::event::ui_event&&, bool&, bool&, point const&, 0ul, 1ul, 2ul, 3ul>(std::tuple<gui2::widget&, gui2::event::ui_event&&, bool&, bool&, point const&>&&, std::_Index_tuple<0ul, 1ul, 2ul, 3ul>) /usr/include/c++/7/functional:467 (wesnoth-debug+0x42071b2)
    #28 void std::_Bind<void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*(gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*, boost::arg<2>, boost::arg<3>, boost::arg<5>))(gui2::event::ui_event, bool&, point const&)>::operator()<gui2::widget&, gui2::event::ui_event, bool&, bool&, point const&, void>(gui2::widget&, gui2::event::ui_event&&, bool&, bool&, point const&) /usr/include/c++/7/functional:551 (wesnoth-debug+0x420416a)
    #29 std::_Function_handler<void (gui2::widget&, gui2::event::ui_event, bool&, bool&, point const&), std::_Bind<void (gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >::*(gui2::event::mouse_button<gui2::event::mouse_button_event_types_wrapper<(gui2::event::ui_event)8, (gui2::event::ui_event)9, (gui2::event::ui_event)10, (gui2::event::ui_event)11, (gui2::event::ui_event)12, (gui2::event::ui_event)13> >*, boost::arg<2>, boost::arg<3>, boost::arg<5>))(gui2::event::ui_event, bool&, point const&)> >::_M_invoke(std::_Any_data const&, gui2::widget&, gui2::event::ui_event&&, bool&, bool&, point const&) <null> (wesnoth-debug+0x41fa701)
    #30 std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&, point const&)>::operator()(gui2::widget&, gui2::event::ui_event, bool&, bool&, point const&) const /usr/include/c++/7/bits/std_function.h:706 (wesnoth-debug+0x419d052)
    #31 bool gui2::event::implementation::fire_event<std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&, point const&)>, point const&>(gui2::event::ui_event, std::vector<std::pair<gui2::widget*, gui2::event::ui_event>, std::allocator<std::pair<gui2::widget*, gui2::event::ui_event> > >&, gui2::widget*, gui2::widget*, point const&) src/gui/core/event/dispatcher_private.hpp:433 (wesnoth-debug+0x418f1b7)
    #32 bool gui2::event::fire_event<std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&, point const&)>, point const&>(gui2::event::ui_event, gui2::event::dispatcher*, gui2::widget*, point const&) src/gui/core/event/dispatcher_private.hpp:505 (wesnoth-debug+0x41896e1)
    #33 gui2::event::dispatcher::fire(gui2::event::ui_event, gui2::widget&, point const&) src/gui/core/event/dispatcher.cpp:144 (wesnoth-debug+0x418326f)
    #34 gui2::event::sdl_event_handler::mouse(gui2::event::ui_event, point const&) src/gui/core/event/handler.cpp:586 (wesnoth-debug+0x4211efe)
    #35 gui2::event::sdl_event_handler::mouse_button_up(point const&, unsigned char) src/gui/core/event/handler.cpp:605 (wesnoth-debug+0x4212566)
    #36 gui2::event::sdl_event_handler::handle_event(SDL_Event const&) src/gui/core/event/handler.cpp:369 (wesnoth-debug+0x420db37)
    #37 events::pump() src/events.cpp:616 (wesnoth-debug+0x66b97ed)
    #38 gui2::window::show(bool, unsigned int) src/gui/widgets/window.cpp:550 (wesnoth-debug+0x3c46b24)
    #39 gui2::dialogs::modal_dialog::show(unsigned int) src/gui/dialogs/modal_dialog.cpp:89 (wesnoth-debug+0x42a3237)
    #40 do_gameloop src/wesnoth.cpp:860 (wesnoth-debug+0x3ca4971)
    #41 main src/wesnoth.cpp:1143 (wesnoth-debug+0x3ca5b33)
   Thread T1 'SDLTimer' (tid=29310, running) created by main thread at:
    #0 pthread_create <null> (libtsan.so.0+0x2b6db)
    #1 <null> <null> (libSDL2-2.0.so.0+0xd8e36)
    #2 __libc_start_main <null> (libc.so.6+0x21a86)
 SUMMARY: ThreadSanitizer: data race (/usr/lib/x86_64-linux-gnu/libtsan.so.0+0x6f3d1) in operator delete(void*)
==================
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
20180527 00:54:59 error config: malformed user credentials (did you manually edit the preferences file?)
==================
WARNING: ThreadSanitizer: data race (pid=29308)
  Read of size 8 at 0x556f74061e08 by main thread:
    #0 std::vector<cache_item<surface>, std::allocator<cache_item<surface> > >::size() const /usr/include/c++/7/bits/stl_vector.h:671 (wesnoth-debug+0x67c1499)
    #1 image::cache_type<surface>::get_element(int) src/image.cpp:113 (wesnoth-debug+0x67bcb65)
    #2 bool image::locator::in_cache<surface>(image::cache_type<surface>&) const src/image.cpp:130 (wesnoth-debug+0x67b8431)
    #3 image::get_image(image::locator const&, image::TYPE) src/image.cpp:1058 (wesnoth-debug+0x67afb16)
    #4 gui2::image::calculate_best_size() const src/gui/widgets/image.cpp:46 (wesnoth-debug+0x39f6db6)
    #5 gui2::widget::get_best_size() const src/gui/widgets/widget.cpp:196 (wesnoth-debug+0x47c9033)
    #6 gui2::grid::child::get_best_size() const src/gui/widgets/grid.cpp:757 (wesnoth-debug+0x46ba9ff)
    #7 gui2::grid::calculate_best_size() const src/gui/widgets/grid.cpp:436 (wesnoth-debug+0x46b0172)
    #8 gui2::widget::get_best_size() const src/gui/widgets/widget.cpp:196 (wesnoth-debug+0x47c9033)
    #9 gui2::container_base::calculate_best_size() const src/gui/widgets/container_base.cpp:152 (wesnoth-debug+0x4391040)
    #10 gui2::widget::get_best_size() const src/gui/widgets/widget.cpp:196 (wesnoth-debug+0x47c9033)
    #11 gui2::window::layout() src/gui/widgets/window.cpp:892 (wesnoth-debug+0x3c4d087)
    #12 gui2::window::draw() src/gui/widgets/window.cpp:630 (wesnoth-debug+0x3c48843)
    #13 void std::__invoke_impl<void, void (gui2::window::*&)(), gui2::window*&>(std::__invoke_memfun_deref, void (gui2::window::*&)(), gui2::window*&) <null> (wesnoth-debug+0x3c92459)
    #14 std::__invoke_result<void (gui2::window::*&)(), gui2::window*&>::type std::__invoke<void (gui2::window::*&)(), gui2::window*&>(void (gui2::window::*&)(), gui2::window*&) <null> (wesnoth-debug+0x3c8c58a)
    #15 void std::_Bind<void (gui2::window::*(gui2::window*))()>::__call<void, gui2::widget&, gui2::event::ui_event&&, bool&, bool&, 0ul>(std::tuple<gui2::widget&, gui2::event::ui_event&&, bool&, bool&>&&, std::_Index_tuple<0ul>) <null> (wesnoth-debug+0x3c86e87)
    #16 void std::_Bind<void (gui2::window::*(gui2::window*))()>::operator()<gui2::widget&, gui2::event::ui_event, bool&, bool&, void>(gui2::widget&, gui2::event::ui_event&&, bool&, bool&) /usr/include/c++/7/functional:551 (wesnoth-debug+0x3c7bd37)
    #17 std::_Function_handler<void (gui2::widget&, gui2::event::ui_event, bool&, bool&), std::_Bind<void (gui2::window::*(gui2::window*))()> >::_M_invoke(std::_Any_data const&, gui2::widget&, gui2::event::ui_event&&, bool&, bool&) /usr/include/c++/7/bits/std_function.h:316 (wesnoth-debug+0x3c70610)
    #18 std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&)>::operator()(gui2::widget&, gui2::event::ui_event, bool&, bool&) const /usr/include/c++/7/bits/std_function.h:706 (wesnoth-debug+0x419c4fd)
    #19 bool gui2::event::implementation::fire_event<std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&)>>(gui2::event::ui_event, std::vector<std::pair<gui2::widget*, gui2::event::ui_event>, std::allocator<std::pair<gui2::widget*, gui2::event::ui_event> > >&, gui2::widget*, gui2::widget*) src/gui/core/event/dispatcher_private.hpp:433 (wesnoth-debug+0x418dc61)
    #20 bool gui2::event::fire_event<std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&)>>(gui2::event::ui_event, gui2::event::dispatcher*, gui2::widget*) <null> (wesnoth-debug+0x4189543)
    #21 gui2::event::dispatcher::fire(gui2::event::ui_event, gui2::widget&) src/gui/core/event/dispatcher.cpp:137 (wesnoth-debug+0x41831db)
    #22 gui2::event::sdl_event_handler::draw() src/gui/core/event/handler.cpp:537 (wesnoth-debug+0x4210854)
    #23 gui2::event::sdl_event_handler::draw_everything() src/gui/core/event/handler.cpp:553 (wesnoth-debug+0x4210e2c)
    #24 gui2::event::sdl_event_handler::handle_event(SDL_Event const&) src/gui/core/event/handler.cpp:389 (wesnoth-debug+0x420e0ee)
    #25 events::pump() src/events.cpp:570 (wesnoth-debug+0x66b9147)
    #26 gui2::window::show(bool, unsigned int) src/gui/widgets/window.cpp:550 (wesnoth-debug+0x3c46b24)
    #27 gui2::dialogs::modal_dialog::show(unsigned int) src/gui/dialogs/modal_dialog.cpp:89 (wesnoth-debug+0x42a3237)
    #28 gui2::dialogs::loading_screen::display(std::function<void ()>) src/gui/dialogs/loading_screen.cpp:223 (wesnoth-debug+0x42771c8)
    #29 game_launcher::launch_game(game_launcher::RELOAD_GAME_DATA) src/game_launcher.cpp:968 (wesnoth-debug+0x40f625d)
    #30 do_gameloop src/wesnoth.cpp:897 (wesnoth-debug+0x3ca4dcf)
    #31 main src/wesnoth.cpp:1143 (wesnoth-debug+0x3ca5b33)
   Previous write of size 8 at 0x556f74061e08 by thread T6:
    #0 std::vector<cache_item<surface>, std::allocator<cache_item<surface> > >::_M_erase_at_end(cache_item<surface>*) <null> (wesnoth-debug+0x67bf28b)
    #1 std::vector<cache_item<surface>, std::allocator<cache_item<surface> > >::clear() <null> (wesnoth-debug+0x67bb443)
    #2 image::cache_type<surface>::flush() src/image.cpp:120 (wesnoth-debug+0x67b6b1e)
    #3 image::flush_cache() src/image.cpp:240 (wesnoth-debug+0x67a6d8b)
    #4 game_config_manager::load_game_config_for_game(game_classification const&) src/game_config_manager.cpp:573 (wesnoth-debug+0x4050788)
    #5 operator() src/game_launcher.cpp:974 (wesnoth-debug+0x40f6052)
    #6 _M_invoke /usr/include/c++/7/bits/std_function.h:316 (wesnoth-debug+0x40f7cc1)
    #7 std::function<void ()>::operator()() const /usr/include/c++/7/bits/std_function.h:706 (wesnoth-debug+0x39a426d)
    #8 operator() src/gui/dialogs/loading_screen.cpp:116 (wesnoth-debug+0x427459d)
    #9 run /usr/include/boost/thread/detail/thread.hpp:116 (wesnoth-debug+0x4279c57)
    #10 <null> <null> (libboost_thread.so.1.62.0+0x11f95)
   Location is global '(anonymous namespace)::images_' of size 24 at 0x556f74061e00 (wesnoth-debug+0x00000c31ae08)
   Thread T6 (tid=29701, finished) created by main thread at:
    #0 pthread_create <null> (libtsan.so.0+0x2b6db)
    #1 boost::thread::start_thread_noexcept() <null> (libboost_thread.so.1.62.0+0x112f8)
    #2 thread<gui2::dialogs::loading_screen::pre_show(gui2::window&)::<lambda()> > /usr/include/boost/thread/detail/thread.hpp:265 (wesnoth-debug+0x4277da5)
    #3 gui2::dialogs::loading_screen::pre_show(gui2::window&) src/gui/dialogs/loading_screen.cpp:123 (wesnoth-debug+0x42748c1)
    #4 gui2::dialogs::modal_dialog::show(unsigned int) src/gui/dialogs/modal_dialog.cpp:85 (wesnoth-debug+0x42a2eca)
    #5 gui2::dialogs::loading_screen::display(std::function<void ()>) src/gui/dialogs/loading_screen.cpp:223 (wesnoth-debug+0x42771c8)
    #6 game_launcher::launch_game(game_launcher::RELOAD_GAME_DATA) src/game_launcher.cpp:968 (wesnoth-debug+0x40f625d)
    #7 do_gameloop src/wesnoth.cpp:897 (wesnoth-debug+0x3ca4dcf)
    #8 main src/wesnoth.cpp:1143 (wesnoth-debug+0x3ca5b33)
 SUMMARY: ThreadSanitizer: data race /usr/include/c++/7/bits/stl_vector.h:671 in std::vector<cache_item<surface>, std::allocator<cache_item<surface> > >::size() const
==================
20180527 00:54:59 info wml: [Naia] codename Naia version 20180525+dev initializing
20180527 00:54:59 info wml: [Naia] Init: loading ~add-ons/Naia/lua/package.lua
20180527 00:54:59 info wml: [Naia] Init: loading ~add-ons/Naia/lua/hex.lua
20180527 00:54:59 info wml: [Naia] Init: loading ~add-ons/Naia/lua/common.lua
20180527 00:54:59 info wml: [Naia] Init: loading ~add-ons/Naia/lua/npc.lua
20180527 00:54:59 info wml: [Naia] Init: loading ~add-ons/Naia/lua/optimizations.lua
20180527 00:54:59 info wml: [Naia] Init: loading ~add-ons/Naia/lua/patch.lua
20180527 00:54:59 info wml: [Naia] PATCH [remove_sound_source]: comma-separated id list
20180527 00:54:59 info wml: [Naia] PATCH [message]: [fallback_if]/[fallback_to]
20180527 00:54:59 info wml: [Naia] Init: loading ~add-ons/Naia/lua/spawner.lua
20180527 00:54:59 info wml: [Naia] Init: loading ~add-ons/Naia/lua/wlp.lua
20180527 00:54:59 info wml: [Naia] Init: loading ~add-ons/Naia/lua/gui/bug.lua
20180527 00:54:59 info wml: [Naia] Init: loading ~add-ons/Naia/lua/gui/transient_message.lua
20180527 00:54:59 info wml: [Naia] Init: loading ~add-ons/Naia/lua/compat.lua
20180527 00:54:59 info wml: [Naia] Invasion from the Unknown (project_ethea.Invasion_from_the_Unknown) version 2.1.0-dev (Naia 20180525+dev)
20180527 00:54:59 error wml: [IftU] BUG: This is an experimental port of Invasion from the Unknown to Wesnoth 1.14.x.
If you choose to continue, you must report any issues to the author on the project’s issue tracker:

Comments