Closed GoogleCodeExporter closed 8 years ago
What steps will reproduce the problem? 1. Running libtorent-daemon with latest revision of libtorrent svn info Path: . Working Copy Root Path: /home/tuhin/Workspace/libtorrent-daemon/libtorrent_trunk URL: svn://svn.code.sf.net/p/libtorrent/code/trunk Relative URL: ^/trunk Repository Root: svn://svn.code.sf.net/p/libtorrent/code Repository UUID: a83610d8-ad2a-0410-a6ab-fc0612d85776 Revision: 10481 Node Kind: directory Schedule: normal Last Changed Author: arvidn Last Changed Rev: 10480 Last Changed Date: 2014-11-11 14:38:47 +0530 (Tue, 11 Nov 2014) 2. When adding some torrent file libtorrent gets crashed ./libtorrent-daemon -w 1234 binding to "0.0.0.0" added torrent: CentOS-6.5-x86_64-bin-DVD1to2 assertion failed. Please file a bugreport at http://code.google.com/p/libtorrent/issues Please include the following information: version: 1.1.0.0 $Rev: 10084 $ file: '../libtorrent_trunk/include/libtorrent/stat.hpp' line: 278 function: const libtorrent::stat_channel& libtorrent::stat::operator[](int) const expression: i >= 0 && i < num_channels stack: 1: assert_fail(char const*, int, char const*, char const*, char const*, int) 2: libtorrent::stat::operator[](int) const 3: libtorrent::stats_alert::stats_alert(libtorrent::torrent_handle const&, int, libtorrent::stat const&) 4: libtorrent::torrent::second_tick(int, int) 5: libtorrent::aux::session_impl::on_tick(boost::system::error_code const&) 6: boost::_mfi::mf1<void, libtorrent::aux::session_impl, boost::system::error_code const&>::operator()(libtorrent::aux::session_impl*, boost::system::error_code const&) const 7: void boost::_bi::list2<boost::_bi::value<libtorrent::aux::session_impl*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, libtorrent::aux::session_impl, boost::system::error_code const&>, boost::_bi::list1<boost::system::error_code const&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, libtorrent::aux::session_impl, boost::system::error_code const&>&, boost::_bi::list1<boost::system::error_code const&>&, int) 8: void boost::_bi::bind_t<void, boost::_mfi::mf1<void, libtorrent::aux::session_impl, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<libtorrent::aux::session_impl*>, boost::arg<1> > >::operator()<boost::system::error_code>(boost::system::error_code const&) 9: boost::asio::detail::binder1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, libtorrent::aux::session_impl, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<libtorrent::aux::session_impl*>, boost::arg<1> > >, boost::system::error_code>::operator()() 10: void boost::asio::asio_handler_invoke<boost::asio::detail::binder1<boost::_bi::bind_t <void, boost::_mfi::mf1<void, libtorrent::aux::session_impl, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<libtorrent::aux::session_impl*>, boost::arg<1> > >, boost::system::error_code> >(boost::asio::detail::binder1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, libtorrent::aux::session_impl, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<libtorrent::aux::session_impl*>, boost::arg<1> > >, boost::system::error_code>, ...) 11: void boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder1<boost::_b i::bind_t<void, boost::_mfi::mf1<void, libtorrent::aux::session_impl, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<libtorrent::aux::session_impl*>, boost::arg<1> > >, boost::system::error_code>, boost::_bi::bind_t<void, boost::_mfi::mf1<void, libtorrent::aux::session_impl, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<libtorrent::aux::session_impl*>, boost::arg<1> > > >(boost::asio::detail::binder1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, libtorrent::aux::session_impl, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<libtorrent::aux::session_impl*>, boost::arg<1> > >, boost::system::error_code>&, boost::_bi::bind_t<void, boost::_mfi::mf1<void, libtorrent::aux::session_impl, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<libtorrent::aux::session_impl*>, boost::arg<1> > >&) 12: boost::asio::detail::wait_handler<boost::_bi::bind_t<void, boost::_mfi::mf1<void, libtorrent::aux::session_impl, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<libtorrent::aux::session_impl*>, 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) 13: boost::asio::detail::task_io_service_operation::complete(boost::asio::detail::ta sk_io_service&, boost::system::error_code const&, unsigned long) 14: 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&) 15: boost::asio::detail::task_io_service::run(boost::system::error_code&) 16: boost::asio::io_service::run(boost::system::error_code&) 17: libtorrent::aux::session_impl::main_thread() 18: boost::_mfi::mf0<void, libtorrent::aux::session_impl>::operator()(libtorrent::aux::session_impl*) const 19: 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) 20: boost::_bi::bind_t<void, boost::_mfi::mf0<void, libtorrent::aux::session_impl>, boost::_bi::list1<boost::_bi::value<libtorrent::aux::session_impl*> > >::operator()() 21: 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() 22: boost_asio_detail_posix_thread_function 23: 24: clone Aborted (core dumped)
Original issue reported on code.google.com by tuhin.kh...@gmail.com on 12 Nov 2014 at 5:22
tuhin.kh...@gmail.com
I believe this is fixed now, in [10530].
Original comment by arvid.no...@gmail.com on 26 Nov 2014 at 10:18
arvid.no...@gmail.com
Original issue reported on code.google.com by
tuhin.kh...@gmail.com
on 12 Nov 2014 at 5:22