I have been running Alien Bob's slackware packages (not from source, his builds) of libtorrent-rasterbar and qbittorrent and it has worked perfectly fine. Now on -current I compiled them from source using his builds and I get a silent crash anywhere between 10 sec to 5 minutes. Output...
Peer ID: -qB2550-
HTTP user agent is qBittorrent v2.5.5
terminate called after throwing an instance of 'boost::lock_error'
what(): boost::lock_error
*************************************************************
Catching SIGABRT, please report a bug at
http://bug.qbittorrent.org
and provide the following backtrace:
qBittorrent version: v2.5.5
stack trace:
/lib64/libc.so.6 : ()+0x340b0 [0x7f7f341610b0]
/lib64/libc.so.6 : gsignal()+0x35 [0x7f7f34161035]
/lib64/libc.so.6 : abort()+0x186 [0x7f7f341629e6]
/usr/lib64/libstdc++.so.6 : __gnu_cxx::__verbose_terminate_handler()+0x11d [0x7f7f34a268bd]
/usr/lib64/libstdc++.so.6 : ()+0xb7ad6 [0x7f7f34a24ad6]
/usr/lib64/libstdc++.so.6 : ()+0xb7b03 [0x7f7f34a24b03]
/usr/lib64/libstdc++.so.6 : ()+0xb7c0e [0x7f7f34a24c0e]
/usr/lib64/libtorrent-rasterbar.so.6 : ()+0x1a0e27 [0x7f7f3698ae27]
/usr/lib64/libtorrent-rasterbar.so.6 : boost::unique_lock<boost::mutex>::lock()+0x86 [0x7f7f369a6116]
/usr/lib64/libtorrent-rasterbar.so.6 : libtorrent::udp_socket::hung_up(boost::system::error_code const&)+0x24 [0x7f7f36a18544]
/usr/lib64/libtorrent-rasterbar.so.6 : boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, boost::_bi::bind_t<void, boost::_mfi::mf1<void, libtorrent::udp_socket, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<libtorrent::udp_socket*>, boost::arg<1> > > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code, unsigned long)+0x1b1 [0x7f7f36a1b0f1]
/usr/lib64/libtorrent-rasterbar.so.6 : libtorrent::aux::session_impl:
perator()()+0x479 [0x7f7f3699afe9]
/usr/lib64/libboost_thread.so.1.45.0 : thread_proxy()+0x67 [0x7f7f39ef6bc7]
/lib64/libpthread.so.0 : ()+0x6d6b [0x7f7f34c77d6b]
/lib64/libc.so.6 : clone()+0x6d [0x7f7f3421275d]
Aborted
daedra@Slackware64:/rm/libtorrent$
I went back to 13.1 and removed the packages and built them from source and it started happening in 13.1 too. Some how when I build them on my machine this happens. But I don't see any errors and both of the builds finish without problems... so right now I am stumped.
Any Ideas appreciated. Thanks.