[Asio] Infinite epoll_wait?

Hello, I have a proxy that uses Boost.Asio, everything normal so far, only began to appear a strange problem. Sometimes, the proxy stops responding. I make a connection to it, send the request and it returns nothing. Sometimes he does not 'accept' the connection, it seems that goes into some waiting list. Could generate a core dump when it is 'locked', follows the text of the gdb backtrace. Attached the 'backtrace full'. _____ #0 0x00002adcec8a9cd8 in epoll_wait () from /lib/libc.so.6 #1 0x00000000005dedd3 in boost::asio::detail::epoll_reactor<false>::run (this=0x2adcf0000c90, block=true) at /usr/include/boost/asio/detail/epoll_reactor.hpp:470 #2 0x00000000005db050 in boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false>
::do_one (this=0x1ed4650, lock=..., this_idle_thread=0x2adced580ee0, ec=...) at /usr/include/boost/asio/detail/task_io_service.hpp:260 #3 0x00000000005d6c71 in boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> ::run (this=0x1ed4650, ec=...) at /usr/include/boost/asio/detail/task_io_service.hpp:103 #4 0x00000000005d392d in boost::asio::io_service::run (this=0x1ed4a60) at /usr/include/boost/asio/impl/io_service.ipp:68 #5 0x000000000060fe6b in boost::_mfi::mf0<unsigned long, boost::asio::io_service>::call<boost::shared_ptr<boost::asio::io_service> (this=0x1ed6720, u=...) at /usr/include/boost/bind/mem_fn_template.hpp:40 #6 0x000000000060fdef in boost::_mfi::mf0<unsigned long, boost::asio::io_service>::operator()<boost::shared_ptr<boost::asio::io_service> ( this=0x1ed6720, u=...) at /usr/include/boost/bind/mem_fn_template.hpp:55 #7 0x000000000060fd89 in boost::_bi::list1<boost::_bi::value<boost::shared_ptr<boost::asio::io_service>
::operator()<unsigned long, boost::_mfi::mf0<unsigned long, boost::asio::io_service>, boost::_bi::list0> (this=0x1ed6730, f=..., a=...) at /usr/include/boost/bind/bind.hpp:243 #8 0x000000000060fd35 in boost::_bi::bind_t<unsigned long, boost::_mfi::mf0<unsigned long, boost::asio::io_service>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<boost::asio::io_service>
::operator() (this=0x1ed6720) at /usr/include/boost/bind/bind_template.hpp:20 #9 0x000000000060fcc2 in boost::detail::thread_data<boost::_bi::bind_t<unsigned long, boost::_mfi::mf0<unsigned long, boost::asio::io_service>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<boost::asio::io_service>
::run (this=0x1ed65f0) at /usr/include/boost/thread/detail/thread.hpp:56 #10 0x00002adceb32c200 in thread_proxy () from /usr/lib/libboost_thread.so.1.42.0 #11 0x00002adcecb3873a in start_thread () from /lib/libpthread.so.0 #12 0x00002adcec8a969d in clone () from /lib/libc.so.6 #13 0x0000000000000000 in ?? ()
-- osmano807 Joaquim Pedro
participants (1)
-
Joaquim Pedro França Simão