getaddrinfo failure not correctly handled
[INFO]:src/network/socket_handler.cpp:60: Trying to connect to chat.freenode:6667 [WARNING]:src/network/socket_handler.cpp:74: getaddrinfo failed: Name or service not known ==3107== Use of uninitialised value of size 8 ==3107== at 0x4C60D4: std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_find_before_node(unsigned long, int const&, unsigned long) const (in /home/louiz/biboumi/biboumi) ==3107== by 0x4C5AEB: std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_find_node(unsigned long, int const&, unsigned long) const (in /home/louiz/biboumi/biboumi) ==3107== by 0x4C56FD: std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::find(int const&) (in /home/louiz/biboumi/biboumi) ==3107== by 0x4C5466: std::unordered_map, std::equal_to, std::allocator > >::find(int const&) (in /home/louiz/biboumi/biboumi) ==3107== by 0x4C4AB4: Poller::remove_socket_handler(int) (in /home/louiz/biboumi/biboumi) ==3107== by 0x4C86C4: SocketHandler::close() (in /home/louiz/biboumi/biboumi) ==3107== by 0x4C7862: SocketHandler::connect(std::string const&, std::string const&) (in /home/louiz/biboumi/biboumi) ==3107== by 0x4A2FB6: IrcClient::start() (in /home/louiz/biboumi/biboumi) ==3107== by 0x4A480A: IrcClient::send_join_command(std::string const&) (in /home/louiz/biboumi/biboumi) ==3107== by 0x4B7BF1: Bridge::join_irc_channel(Iid const&, std::string const&) (in /home/louiz/biboumi/biboumi) ==3107== by 0x488449: XmppComponent::handle_presence(XmlNode const&) (in /home/louiz/biboumi/biboumi) ==3107== by 0x49A2B2: void std::_Mem_fn::operator()(XmppComponent*, XmlNode const&) const (in /home/louiz/biboumi/biboumi) ==3107== [DEBUG]:src/xmpp/xmpp_component.cpp:94: XMPP SENDING:(from redmine: created on 2014-05-27, closed on 2014-05-27)