frostalf / libtorrent

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

assertion failed: file: '/libtorrent/src/peer_connection.cpp', line: 3506 #570

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
assertion failed. Please file a bugreport at 
http://code.google.com/p/libtorrent/issues
Please include the following information:

version: 1.0.0.0
$Rev: 9462 $
file: '/libtorrent/src/peer_connection.cpp'
line: 3506
function: virtual void libtorrent::peer_connection::disconnect(const 
boost::system::error_code&, int)
expression: ec != error::invalid_argument || !m_outgoing

stack:
1: assert_fail(char const*, int, char const*, char const*, char const*)
2: libtorrent::peer_connection::disconnect(boost::system::error_code const&, 
int)
3: libtorrent::peer_connection::on_connect(int)
4: void boost::_mfi::mf1<void, libtorrent::peer_connection, 
int>::call<boost::intrusive_ptr<libtorrent::peer_connection>, 
int>(boost::intrusive_ptr<libtorrent::peer_connection>&, void const*, int&) 
const
5: void boost::_mfi::mf1<void, libtorrent::peer_connection, 
int>::operator()<boost::intrusive_ptr<libtorrent::peer_connection> 
>(boost::intrusive_ptr<libtorrent::peer_connection>&, int) const
6: void 
boost::_bi::list2<boost::_bi::value<boost::intrusive_ptr<libtorrent::peer_connec
tion> >, boost::arg<1> >::operator()<boost::_mfi::mf1<void, 
libtorrent::peer_connection, int>, boost::_bi::list1<int&> 
>(boost::_bi::type<void>, boost::_mfi::mf1<void, libtorrent::peer_connection, 
int>&, boost::_bi::list1<int&>&, int)
7: void boost::_bi::bind_t<void, boost::_mfi::mf1<void, 
libtorrent::peer_connection, int>, 
boost::_bi::list2<boost::_bi::value<boost::intrusive_ptr<libtorrent::peer_connec
tion> >, boost::arg<1> > >::operator()<int>(int&)
8: boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, 
boost::_mfi::mf1<void, libtorrent::peer_connection, int>, 
boost::_bi::list2<boost::_bi::value<boost::intrusive_ptr<libtorrent::peer_connec
tion> >, boost::arg<1> > >, void, 
int>::invoke(boost::detail::function::function_buffer&, int)
9: boost::function1<void, int>::operator()(int) const
10: 
libtorrent::connection_queue::try_connect(boost::asio::detail::scoped_lock<boost
::asio::detail::posix_mutex>&)
11: libtorrent::connection_queue::on_try_connect()
12: boost::_mfi::mf0<void, 
libtorrent::connection_queue>::operator()(libtorrent::connection_queue*) const
13: void boost::_bi::list1<boost::_bi::value<libtorrent::connection_queue*> 
>::operator()<boost::_mfi::mf0<void, libtorrent::connection_queue>, 
boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, 
libtorrent::connection_queue>&, boost::_bi::list0&, int)
14: boost::_bi::bind_t<void, boost::_mfi::mf0<void, 
libtorrent::connection_queue>, 
boost::_bi::list1<boost::_bi::value<libtorrent::connection_queue*> > 
>::operator()()
15: void boost::asio::asio_handler_invoke<boost::_bi::bind_t<void, 
boost::_mfi::mf0<void, libtorrent::connection_queue>, 
boost::_bi::list1<boost::_bi::value<libtorrent::connection_queue*> > > 
>(boost::_bi::bind_t<void, boost::_mfi::mf0<void, 
libtorrent::connection_queue>, 
boost::_bi::list1<boost::_bi::value<libtorrent::connection_queue*> > >&, ...)
16: void boost_asio_handler_invoke_helpers::invoke<boost::_bi::bind_t<void, 
boost::_mfi::mf0<void, libtorrent::connection_queue>, 
boost::_bi::list1<boost::_bi::value<libtorrent::connection_queue*> > >, 
boost::_bi::bind_t<void, boost::_mfi::mf0<void, libtorrent::connection_queue>, 
boost::_bi::list1<boost::_bi::value<libtorrent::connection_queue*> > > 
>(boost::_bi::bind_t<void, boost::_mfi::mf0<void, 
libtorrent::connection_queue>, 
boost::_bi::list1<boost::_bi::value<libtorrent::connection_queue*> > >&, 
boost::_bi::bind_t<void, boost::_mfi::mf0<void, libtorrent::connection_queue>, 
boost::_bi::list1<boost::_bi::value<libtorrent::connection_queue*> > >&)
17: boost::asio::detail::completion_handler<boost::_bi::bind_t<void, 
boost::_mfi::mf0<void, libtorrent::connection_queue>, 
boost::_bi::list1<boost::_bi::value<libtorrent::connection_queue*> > > 
>::do_complete(boost::asio::detail::task_io_service*, 
boost::asio::detail::task_io_service_operation*, boost::system::error_code 
const&, unsigned long)
18: 
boost::asio::detail::task_io_service_operation::complete(boost::asio::detail::ta
sk_io_service&, boost::system::error_code const&, unsigned long)
19: 
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&)
20: boost::asio::detail::task_io_service::run(boost::system::error_code&)
21: boost::asio::io_service::run(boost::system::error_code&)
22: libtorrent::aux::session_impl::main_thread()
23: boost::_mfi::mf0<void, 
libtorrent::aux::session_impl>::operator()(libtorrent::aux::session_impl*) const
24: void boost::_bi::list1<boost::_bi::value<libtorrent::aux::session_impl*> 
>::operator()<boost::_mfi::mf0<void, libtorrent::aux::session_impl>, 
boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, 
libtorrent::aux::session_impl>&, boost::_bi::list0&, int)
25: boost::_bi::bind_t<void, boost::_mfi::mf0<void, 
libtorrent::aux::session_impl>, 
boost::_bi::list1<boost::_bi::value<libtorrent::aux::session_impl*> > 
>::operator()()
26: boost::asio::detail::posix_thread::func<boost::_bi::bind_t<void, 
boost::_mfi::mf0<void, libtorrent::aux::session_impl>, 
boost::_bi::list1<boost::_bi::value<libtorrent::aux::session_impl*> > > >::run()
27: boost_asio_detail_posix_thread_function
28: 
29: clone

Original issue reported on code.google.com by ramvi...@gmail.com on 26 Jan 2014 at 8:02