Admin users cannot host an internet game

Bug #1826750 reported by Toni Förster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
High
Unassigned

Bug Description

User with admin rights (green batch) cannot start a game from the lobby. The game stalls for some seconds and the user then loses connection and has to reconnect to the server. See the attached log.

Looks like a metaserver issue

https://github.com/widelands/widelands_metaserver/issues/46

Tags: network
Revision history for this message
Toni Förster (stonerl) wrote :
summary: - Admin ser cannot host an internet game
+ Admin users cannot host an internet game
Revision history for this message
GunChleoc (gunchleoc) wrote :

Hint from leak sanitizer:

Direct leak of 560 byte(s) in 1 object(s) allocated from:
    #0 0x7f86b5de9458 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe0458)
    #1 0x55f142e6138e in GameHost::GameHost(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) ../src/network/gamehost.cc:482
    #2 0x55f143078f57 in FullscreenMenuInternetLobby::clicked_hostgame() ../src/ui_fsmenu/internet_lobby.cc:430
    #3 0x55f1430857e4 in boost::_mfi::mf0<void, FullscreenMenuInternetLobby>::operator()(FullscreenMenuInternetLobby&) const /usr/include/boost/bind/mem_fn_template.hpp:70
    #4 0x55f1430843d5 in void boost::_bi::list1<boost::reference_wrapper<FullscreenMenuInternetLobby> >::operator()<boost::_mfi::mf0<void, FullscreenMenuInternetLobby>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, FullscreenMenuInternetLobby>&, boost::_bi::list0&, int) /usr/include/boost/bind/bind.hpp:259
    #5 0x55f1430830e7 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, FullscreenMenuInternetLobby>, boost::_bi::list1<boost::reference_wrapper<FullscreenMenuInternetLobby> > >::operator()() /usr/include/boost/bind/bind.hpp:1294
    #6 0x55f14308176f in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, FullscreenMenuInternetLobby>, boost::_bi::list1<boost::reference_wrapper<FullscreenMenuInternetLobby> > >, void>::invoke(boost::detail::function::function_buffer&) /usr/include/boost/function/function_template.hpp:159
    #7 0x55f142d4e53f in boost::function0<void>::operator()() const /usr/include/boost/function/function_template.hpp:759
    #8 0x55f142d4e438 in boost::signals2::detail::void_type boost::signals2::detail::call_with_tuple_args<boost::signals2::detail::void_type>::m_invoke<boost::function<void ()> >(boost::function<void ()>&, boost::signals2::detail::unsigned_meta_array<>, std::tuple<> const&, boost::enable_if<boost::is_void<boost::function<void ()>::result_type>, void>::type*) const /usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:117

GunChleoc (gunchleoc)
description: updated
tags: added: network
Changed in widelands:
status: New → Confirmed
importance: Undecided → High
milestone: none → build21-rc1
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in the metaserver

Changed in widelands:
status: Confirmed → Fix Released
milestone: build21-rc1 → build20
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.