crash on start with error "address_v4 from unsigned long"

Bug #764355 reported by Lo Zobo
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libtorrent-rasterbar
Unknown
Unknown
qBittorrent
Triaged
High
Christophe Dumez

Bug Description

After upgrade to beta4, when i start qbittorrent i get this error.
-----------------------------------------------------------------------------------------------
terminate called after throwing an instance of 'std::out_of_range'
  what(): address_v4 from unsigned long
*************************************************************
Catching SIGABRT, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
qBittorrent version: v2.8.0beta4
stack trace:
  /lib/libc.so.6() [0x3cb9c33c20]
  /lib/libc.so.6 : gsignal()+0x35 [0x3cb9c33ba5]
  /lib/libc.so.6 : abort()+0x180 [0x3cb9c376b0]
  /usr/lib/libstdc++.so.6 : __gnu_cxx::__verbose_terminate_handler()+0x11d [0x3cbfcbb6bd]
  /usr/lib/libstdc++.so.6() [0x3cbfcb9906]
  /usr/lib/libstdc++.so.6() [0x3cbfcb9933]
  /usr/lib/libstdc++.so.6() [0x3cbfcb9a3e]
  qbittorrent : boost::asio::ip::address_v4::address_v4(unsigned long)+0xab [0x601b1b]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::broadcast_socket::send(char const*, int, boost::system::error_code&, int)+0x41a [0x3be8f7dc9a]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::lsd::announce(libtorrent::big_number const&, int, bool)+0x10b [0x3be904e7cb]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::torrent::lsd_announce()+0x71 [0x3be9129321]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::torrent::start_announcing()+0x1c6 [0x3be9144e96]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::torrent::do_resume()+0x134 [0x3be9151994]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::asio::detail::handler_queue::handler_wrapper<boost::_bi::bind_t<void, boost::_mfi::mf0<void, libtorrent::torrent>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<libtorrent::torrent> > > > >::do_call(boost::asio::detail::handler_queue::handler*)+0x9b [0x3be915959b]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> >::run(boost::system::error_code&)+0x348 [0x3be9010478]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::aux::session_impl::main_thread()+0x41 [0x3be90eee91]
  /usr/lib/libtorrent-rasterbar.so.6 : boost_asio_detail_posix_thread_function()+0xe [0x3be8faac5e]
  /lib/libpthread.so.0() [0x3cba407971]
  /lib/libc.so.6 : clone()+0x6d [0x3cb9ce692d]
-----------------------------------------------------------------------------------------------

I have Ubuntu 10.10 64bit, qBittorrent v2.8.0 beta4 and libtorrent-rasterbar6 v0.16.0

PS: I don't use any type of peer filter

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

It seems to be a libtorrent v0.16 issue, I forwarded the bug report there:
http://code.google.com/p/libtorrent/issues/detail?id=188

libtorrent v0.16 is still unreleased so it is not surprising if there are still some bugs here and there. However, it does bring uTP support and a few other goodies and having it in my unstable PPA is a great way to debug it. I will package a new SVN snapshot as soon as the bug gets fixed. Thanks for your report.

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
importance: Undecided → High
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.