{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/proxygen/issues/133","repository_url":"https://api.github.com/repos/facebook/proxygen","labels_url":"https://api.github.com/repos/facebook/proxygen/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/facebook/proxygen/issues/133/comments","events_url":"https://api.github.com/repos/facebook/proxygen/issues/133/events","html_url":"https://github.com/facebook/proxygen/issues/133","id":194236198,"number":133,"title":"random \"Failed to resolve address Exception\" after several successful resolutions ","user":{"login":"abhiguru","id":317647,"avatar_url":"https://avatars.githubusercontent.com/u/317647?v=3","gravatar_id":"","url":"https://api.github.com/users/abhiguru","html_url":"https://github.com/abhiguru","followers_url":"https://api.github.com/users/abhiguru/followers","following_url":"https://api.github.com/users/abhiguru/following{/other_user}","gists_url":"https://api.github.com/users/abhiguru/gists{/gist_id}","starred_url":"https://api.github.com/users/abhiguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhiguru/subscriptions","organizations_url":"https://api.github.com/users/abhiguru/orgs","repos_url":"https://api.github.com/users/abhiguru/repos","events_url":"https://api.github.com/users/abhiguru/events{/privacy}","received_events_url":"https://api.github.com/users/abhiguru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-08T03:10:46Z","updated_at":"2016-12-08T16:29:32Z","closed_at":null,"body":"Getting this error at random times, First attempt it resolves the ip address and the second time same address it throws an exception this exception is after at least 100+ such successful resolutions of the same domain (The original domain has been changed below...)   \r\n \r\nWould appreciate any pointers on what might be causing this \r\n\r\n Url is r6---sn-ci5gup-cagl.xyzvideo.com:443\r\nI1208 08:31:48.732450 24185 main.cpp:1987]  Trying to connect to 182.79.238.145:443\r\nSSL Inited\r\n Url is r6---sn-ci5gup-cagl.xyzvideo.com:443\r\nE1208 08:31:48.743717 24185 EventBase.cpp:82] runInEventBaseThread() function threw a St12system_error exception: Failed to resolve address for \"r6---sn-ci5gup-cagl.xyzvideo.com\": Name or service not known (error=-2): Unknown error -2\r\n\r\nThread 2 \"CPUThreadPool0\" received signal SIGABRT, Aborted.\r\n[Switching to Thread 0x7fffec07e700 (LWP 24185)]\r\n__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58\r\n58      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.\r\n(gdb) bt\r\n#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58\r\n#1  0x00007ffff59533ea in __GI_abort () at abort.c:89\r\n#2  0x00007ffff79fbc15 in folly::EventBase::FunctionRunner::messageAvailable(folly::Function<void ()>&&) (msg=<unknown type in /usr/local/lib/libfolly.so.57, CU 0x80dc49, DIE 0x83a080>, \r\n    this=0x7fffe4002300) at io/async/EventBase.cpp:84\r\n#3  folly::NotificationQueue<folly::Function<void ()> >::Consumer::consumeMessages(bool, unsigned long*) (this=0x7fffe4002300, isDrain=<optimized out>, numConsumed=<optimized out>)\r\n    at ./../folly/io/async/NotificationQueue.h:727\r\n#4  0x00007ffff3feaa0c in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5\r\n#5  0x00007ffff79f4bd0 in folly::EventBase::loopBody (this=this@entry=0x7fffec07d540, flags=flags@entry=0) at io/async/EventBase.cpp:324\r\n#6  0x00007ffff79f5607 in folly::EventBase::loop (this=this@entry=0x7fffec07d540) at io/async/EventBase.cpp:262\r\n#7  0x00007ffff79f68b6 in folly::EventBase::loopForever (this=0x7fffec07d540) at io/async/EventBase.cpp:453\r\n#8  0x000055555570b1a2 in VideoProcessor::initSegmentListener() ()\r\n#9  0x000055555570aecd in VideoProcessor::VideoProcessor(folly::EventBase*, folly::ProducerConsumerQueue<std::vector<vcu::HLSSegment, std::allocator<vcu::HLSSegment> > >*, folly::basic_fbstring<char, std::char_traits<char>, std::allocator<char>, folly::fbstring_core<char> >) ()\r\n#10 0x00005555556f85c2 in main::{lambda()#2}::operator()() const ()\r\n#11 0x00005555556f8fa7 in void folly::detail::function::FunctionTraits<void ()>::callSmall<main::{lambda()#2}>(folly::detail::function::Data&) ()\r\n#12 0x000055555582ec0b in folly::detail::function::FunctionTraits<void ()>::operator()() ()\r\n#13 0x0000555555831b91 in wangle::ThreadPoolExecutor::runTask(std::shared_ptr<wangle::ThreadPoolExecutor::Thread> const&, wangle::ThreadPoolExecutor::Task&&) ()\r\n#14 0x0000555555826903 in wangle::CPUThreadPoolExecutor::threadRun(std::shared_ptr<wangle::ThreadPoolExecutor::Thread>) ()\r\n#15 0x000055555584028b in void std::__invoke_impl<void, void (wangle::ThreadPoolExecutor::* const&)(std::shared_ptr<wangle::ThreadPoolExecutor::Thread>), wangle::ThreadPoolExecutor*&, std::shared_ptr<wangle::ThreadPoolExecutor::Thread>&>(std::__invoke_memfun_deref, void (wangle::ThreadPoolExecutor::* const&)(std::shared_ptr<wangle::ThreadPoolExecutor::Thread>), wangle::ThreadPoolExecutor*&, std::shared_ptr<wangle::ThreadPoolExecutor::Thread>&) ()\r\n#16 0x000055555583f86a in std::result_of<void (wangle::ThreadPoolExecutor::* const&(wangle::ThreadPoolExecutor*&, std::shared_ptr<wangle::ThreadPoolExecutor::Thread>&))(std::shared_ptr<wangle::ThreadPoolExecutor::Thread>)>::type std::__invoke<void (wangle::ThreadPoolExecutor::* const&)(std::shared_ptr<wangle::ThreadPoolExecutor::Thread>), wangle::ThreadPoolExecutor*&, std::shared_ptr<wangle::ThreadPoolExecutor::Thread>&>(void (wangle::ThreadPoolExecutor::* const&)(std::shared_ptr<wangle::ThreadPoolExecutor::Thread>), wangle::ThreadPoolExecutor*&, std::shared_ptr<wangle::ThreadPoolExecutor::Thread>&) ()\r\n#17 0x000055555583e8d3 in decltype (__invoke((*this)._M_pmf, (forward<wangle::ThreadPoolExecutor*&>)({parm#1}), (forward<std::shared_ptr<wangle::ThreadPoolExecutor::Thread>&>)({parm#1}))) std::_Mem_fn_base<void (wangle::ThreadPoolExecutor::*)(std::shared_ptr<wangle::ThreadPoolExecutor::Thread>), true>::operator()<wangle::ThreadPoolExecutor*&, std::shared_ptr<wangle::ThreadPoolExecutor::Thread>&>(wangle::ThreadPoolExecutor*&, std::shared_ptr<wangle::ThreadPoolExecutor::Thread>&) const ()\r\n#18 0x000055555583cf0c in void std::_Bind<std::_Mem_fn<void (wangle::ThreadPoolExecutor::*)(std::shared_ptr<wangle::ThreadPoolExecutor::Thread>)> (wangle::ThreadPoolExecutor*, std::shared_ptr<wangle::ThreadPoolExecutor::Thread>)>::__call<void, , 0ul, 1ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) ()\r\n#19 0x000055555583b623 in void std::_Bind<std::_Mem_fn<void (wangle::ThreadPoolExecutor::*)(std::shared_ptr<wangle::ThreadPoolExecutor::Thread>)> (wangle::ThreadPoolExecutor*, std::shared_ptr<wangle::ThreadPoolExecutor::Thread>)>::operator()<, void>() ()\r\n#20 0x00005555558393a8 in void folly::detail::function::FunctionTraits<void ()>::callBig<std::_Bind<std::_Mem_fn<void (wangle::ThreadPoolExecutor::*)(std::shared_ptr<wangle::ThreadPoolExecutor::Thread>)> (wangle::ThreadPoolExecutor*, std::shared_ptr<wangle::ThreadPoolExecutor::Thread>)> >(folly::detail::function::Data&) ()\r\n#21 0x000055555582ec0b in folly::detail::function::FunctionTraits<void ()>::operator()() ()\r\n#22 0x000055555582e03c in void std::_Bind_simple<folly::Function<void ()> ()>::_M_invoke<>(std::_Index_tuple<>) ()\r\n#23 0x000055555582d7c4 in std::_Bind_simple<folly::Function<void ()> ()>::operator()() ()\r\n#24 0x000055555582cf96 in std::thread::_State_impl<std::_Bind_simple<folly::Function<void ()> ()> >::_M_run() ()\r\n#25 0x00007ffff5fb550f in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#26 0x00007ffff765870a in start_thread (arg=0x7fffec07e700) at pthread_create.c:333\r\n#27 0x00007ffff5a240af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/proxygen/issues/comments/265784773","html_url":"https://github.com/facebook/proxygen/issues/133#issuecomment-265784773","issue_url":"https://api.github.com/repos/facebook/proxygen/issues/133","id":265784773,"user":{"login":"afrind","id":8259689,"avatar_url":"https://avatars.githubusercontent.com/u/8259689?v=3","gravatar_id":"","url":"https://api.github.com/users/afrind","html_url":"https://github.com/afrind","followers_url":"https://api.github.com/users/afrind/followers","following_url":"https://api.github.com/users/afrind/following{/other_user}","gists_url":"https://api.github.com/users/afrind/gists{/gist_id}","starred_url":"https://api.github.com/users/afrind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afrind/subscriptions","organizations_url":"https://api.github.com/users/afrind/orgs","repos_url":"https://api.github.com/users/afrind/repos","events_url":"https://api.github.com/users/afrind/events{/privacy}","received_events_url":"https://api.github.com/users/afrind/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T16:29:32Z","updated_at":"2016-12-08T16:29:32Z","body":"What class are you using for address resolution?  Can you write a small test program that resolves that address in a loop and doesn't do anything else proxygen related?"}}
{"actor":{"display_login":"afrind"}}