jash-kothari-forks / libtorrent

Automatically exported from code.google.com/p/libtorrent
Other
0 stars 0 forks source link

Assertion hit in libtorrent::udp_socket::on_timeout() #482

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I hit the following assertion on Mac with a SOCK5_pw proxy set:
version: 0.16.9.0
$Rev: 8143 $
file: 'udp_socket.cpp'
line: 824
function: void libtorrent::udp_socket::on_timeout()
expression: m_outstanding_timeout > 0

stack:
1: assert_fail(char const*, int, char const*, char const*, char const*)
2: libtorrent::udp_socket::on_timeout()
3: boost::function0<void>::operator()() const
4: libtorrent::connection_queue::on_timeout(boost::system::error_code const&)
5: void 
boost::asio::asio_handler_invoke<boost::asio::detail::binder1<boost::_bi::bind_t
<void, boost::_mfi::mf1<void, libtorrent::connection_queue, 
boost::system::error_code const&>, 
boost::_bi::list2<boost::_bi::value<libtorrent::connection_queue*>, 
boost::arg<1> > >, boost::system::error_code> 
>(boost::asio::detail::binder1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, 
libtorrent::connection_queue, boost::system::error_code const&>, 
boost::_bi::list2<boost::_bi::value<libtorrent::connection_queue*>, 
boost::arg<1> > >, boost::system::error_code>, ...)
6: boost::asio::detail::wait_handler<boost::_bi::bind_t<void, 
boost::_mfi::mf1<void, libtorrent::connection_queue, boost::system::error_code 
const&>, boost::_bi::list2<boost::_bi::value<libtorrent::connection_queue*>, 
boost::arg<1> > > >::do_complete(boost::asio::detail::task_io_service*, 
boost::asio::detail::task_io_service_operation*, boost::system::error_code 
const&, unsigned long)
7: 
boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_loc
k<boost::asio::detail::posix_mutex>&, 
boost::asio::detail::task_io_service_thread_info&, boost::system::error_code 
const&)
8: boost::asio::detail::task_io_service::run(boost::system::error_code&)
9: libtorrent::aux::session_impl::main_thread()
10: boost_asio_detail_posix_thread_function
11: _pthread_start
12: thread_start

Original issue reported on code.google.com by dch...@gmail.com on 22 May 2013 at 6:13

GoogleCodeExporter commented 9 years ago
Verbose logs

Original comment by dch...@gmail.com on 22 May 2013 at 6:24

Attachments:

GoogleCodeExporter commented 9 years ago
gdb backtrace

Original comment by dch...@gmail.com on 22 May 2013 at 6:32

Attachments:

GoogleCodeExporter commented 9 years ago
Full backtrace

Original comment by dch...@gmail.com on 22 May 2013 at 6:36

Attachments: