1 May 2009 09:13
Re: Unexpected file_error_alert
Konishchev Dmitry <konishchev <at> gmail.com>
2009-05-01 07:13:42 GMT
2009-05-01 07:13:42 GMT
I added abort() call into libtorrent::file_error_alert::file_error_alert and this is what I got in my debugger (for libtorrent 0.14.3): > #0 __kernel_vsyscall () at :0 > #1 raise () at :0 > #2 abort () at :0 > #3 file_error_alert (this=0xb632c010, f=, h=, msg_=) at ../include/libtorrent/alert_types.hpp:912 > #4 libtorrent::peer_connection::on_disk_read_complete (this=0xb225cce0, ret=-1, j=, r=) at peer_connection.cpp:3157 > #5 boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<void, boost::_mfi::mf3<void, libtorrent::peer_connection, int, libtorrent::disk_io_job const&, libtorrent::peer_request>, boost::_bi::list4<boost::_bi::value<boost::intrusive_ptr<libtorrent::peer_connection> >, boost::arg<1>, boost::arg<2>, boost::_bi::value<libtorrent::peer_request> > >, void, int, libtorrent::disk_io_job const&>::invoke (function_obj_ptr=, a0=-1, a1=) at /usr/include/boost/bind/mem_fn_template.hpp:375 > #6 boost::function2<void, int, libtorrent::disk_io_job const&>::operator() (this=0xb632c124, a0=-1, a1=) at /usr/include/boost/function/function_template.hpp:989 > #7 boost::asio::detail::handler_queue::handler_wrapper<boost::_bi::bind_t<boost::_bi::unspecified, boost::function<void ()(int, libtorrent::disk_io_job const&)>, boost::_bi::list2<boost::_bi::value<int>, boost::_bi::value<libtorrent::disk_io_job> > > >::do_call (base=0xb213d7d0) at /usr/include/boost/bind.hpp:292 > #8 boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> >::run (this=0x9d00330, ec=) at /usr/include/boost/asio/detail/handler_queue.hpp:39 > #9 libtorrent::aux::session_impl::operator() (this=0x9d006f8) at /usr/include/boost/asio/impl/io_service.ipp:65 > #10 boost::detail::thread_data<boost::reference_wrapper<libtorrent::aux::session_impl> >::run (this=0x9d0ae38) at /usr/include/boost/thread/detail/thread.hpp:81 > #11 thread_proxy () at :0 > #12 start_thread () at :0 > #13 clone () at :0 ------------------------------------------------------------------------------(Continue reading)
RSS Feed