qbittorrent crashes randomly

Bug #355835 reported by Tyler Green
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libtorrent-rasterbar
New
Unknown
qBittorrent
Triaged
Undecided
Christophe Dumez

Bug Description

Qbittorrent will crash randomly. Sometimes it will run just fine for several days, other times it will crash shortly after starting.

When it does crash, some of my completed torrents will appear in the Downloads tab. They will "download" very quickly, disappear from the Downloads tab, and the program will crash. I started qbittorrent in a terminal to see the output, and I have attached it.

I am using Arch Linux, qbittorrent version 1.3.2-1 from the Arch Linux repositories. If you need me to provide any other information, let me know.

Thanks for your help.

Tyler

Revision history for this message
Tyler Green (ngc3718+launchpad) wrote :
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Best thing would be to get a good backtrace with gdb.

$ gdb qbittorrent
> run
... wait until it crashes ...
> bt full
.. copy output here ...

Crash seems to be in libtorrent-rasterbar code so I forwarded the bug to its author. I don't know how useful qbittorrent stackstrace will be to him yet.

Changed in qbittorrent:
assignee: nobody → hydr0g3n
status: New → Triaged
Changed in libtorrent-rasterbar:
status: Unknown → New
Revision history for this message
basiphobe (basiphobe) wrote :
Download full text (4.5 KiB)

I may or may not be experiencing the same thing. I wasn't around when this crash happened, but when I flipped on my monitor today (after an evening of download a thing or two), I was presented with the following console output:

*************************************************************
Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
stack trace:
*** glibc detected *** /usr/bin/qbittorrent: malloc(): memory corruption: 0x00007ffa200393b1 ***
======= Backtrace: =========
/lib/libc.so.6[0x7ffa3947efef]
/lib/libc.so.6(__libc_malloc+0x98)[0x7ffa39480828]
/lib/libc.so.6(__backtrace_symbols+0x10f)[0x7ffa394ff81f]
/usr/bin/qbittorrent[0x472f58]
/usr/bin/qbittorrent(_Z14sigsegvHandleri+0x3d)[0x47344d]
/lib/libc.so.6[0x7ffa39437040]
/usr/lib/libstdc++.so.6(__dynamic_cast+0x7a)[0x7ffa39cd921a]
/usr/lib/libtorrent-rasterbar.so.2[0x7ffa3bbb4bf2]
/usr/lib/libtorrent-rasterbar.so.2(_ZN10libtorrent7torrent14on_name_lookupERKN5boost6system10error_codeENS1_4asio2ip23basic_resolver_iteratorINS7_3tcpEEESsNS7_14basic_endpointIS9_EE+0x7a2)[0x7ffa3bb3c932]
/usr/lib/libtorrent-rasterbar.so.2(_ZN5boost4asio6detail13handler_queue15handler_wrapperINS1_7binder2INS_3_bi6bind_tIvNS_4_mfi3mf4IvN10libtorrent7torrentERKNS_6system10error_codeENS0_2ip23basic_resolver_iteratorINSF_3tcpEEESsNSF_14basic_endpointISH_EEEENS5_5list5INS5_5valueINS_10shared_ptrISA_EEEENS_3argILi1EEENSR_ILi2EEENSN_ISsEENSN_ISK_EEEEEESC_SI_EEE7do_callEPNS2_7handlerE+0x4a8)[0x7ffa3bb567f8]
/usr/lib/libtorrent-rasterbar.so.2(_ZN5boost4asio6detail15task_io_serviceINS1_13epoll_reactorILb0EEEE3runERNS_6system10error_codeE+0x37e)[0x7ffa3babfffe]
/usr/lib/libtorrent-rasterbar.so.2(_ZN10libtorrent3aux12session_implclEv+0x79)[0x7ffa3bb00339]
/usr/lib/libboost_thread-mt.so.1.37.0(thread_proxy+0x5f)[0x7ffa38de3f6f]
/lib/libpthread.so.0[0x7ffa3b51e3ba]
/lib/libc.so.6(clone+0x6d)[0x7ffa394e9fcd]
======= Memory map: ========
00400000-0070a000 r-xp 00000000 08:01 1671265 /usr/bin/qbittorrent
00909000-0090a000 r--p 00309000 08:01 1671265 /usr/bin/qbittorrent
0090a000-0090d000 rw-p 0030a000 08:01 1671265 /usr/bin/qbittorrent
0090d000-0090f000 rw-p 0090d000 00:00 0
028c3000-0356a000 rw-p 028c3000 00:00 0 [heap]
7ffa20000000-7ffa204fb000 rw-p 7ffa20000000 00:00 0
7ffa204fb000-7ffa24000000 ---p 7ffa204fb000 00:00 0
7ffa24cfd000-7ffa254fe000 rw-p 7ffa24cfd000 00:00 0
7ffa25c01000-7ffa25c03000 r-xp 00000000 08:01 6455386 /lib/libnss_mdns4.so.2
7ffa25c03000-7ffa25e03000 ---p 00002000 08:01 6455386 /lib/libnss_mdns4.so.2
7ffa25e03000-7ffa25e04000 rw-p 00002000 08:01 6455386 /lib/libnss_mdns4.so.2
7ffa25e04000-7ffa25e64000 rw-s 00000000 00:09 60719164 /SYSV00000000 (deleted)
7ffa25e64000-7ffa25e65000 ---p 7ffa25e64000 00:00 0
7ffa25e65000-7ffa26665000 rw-p 7ffa25e65000 00:00 0
7ffa26665000-7ffa26666000 ---p 7ffa26665000 00:00 0
7ffa26666000-7ffa26e66000 rw-p 7ffa26666000 00:00 0
7ffa26e66000-7ffa26e67000 ---p 7ffa26e66000 00:00 0
7ffa26e67000-7ffa27667000 rw-p 7ffa26e67000 ...

Read more...

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

basiphobe > Please file a bug against libtorrent-rasterbar at:
http://code.rasterbar.com/libtorrent/newticket

The crash is not in qBittorrent's code although the exception is caught by qBittorrent. Please provide in the other report your version of libtorrent-rasterbar and this backtrace of course :)

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

Oh no sorry, it is the same problem so you don't need to file a new report. You can however confirm the problem here:
http://code.rasterbar.com/libtorrent/ticket/497

Revision history for this message
basiphobe (basiphobe) wrote :

Done. Thanks, Christophe.

Aaron

Revision history for this message
lophie (lophesuicire) wrote :

*************************************************************
Catching SIGABRT, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
qBittorrent version: v2.8.4
stack trace:
  /lib/x86_64-linux-gnu/libc.so.6 : ()+0x36420 [0x7fa385c43420]
  /lib/x86_64-linux-gnu/libc.so.6 : gsignal()+0x35 [0x7fa385c433a5]
  /lib/x86_64-linux-gnu/libc.so.6 : abort()+0x17b [0x7fa385c46b0b]
  /usr/lib/x86_64-linux-gnu/libstdc++.so.6 : __gnu_cxx::__verbose_terminate_handler()+0x11d [0x7fa386501d7d]
  /usr/lib/x86_64-linux-gnu/libstdc++.so.6 : ()+0xb9f26 [0x7fa3864fff26]
  /usr/lib/x86_64-linux-gnu/libstdc++.so.6 : ()+0xb9f53 [0x7fa3864fff53]
  /usr/lib/x86_64-linux-gnu/libstdc++.so.6 : ()+0xba04e [0x7fa38650004e]
  /usr/lib/libtorrent-rasterbar.so.6 : ()+0xe4888 [0x7fa3883cb888]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::unique_lock<boost::mutex>::lock()+0x74 [0x7fa3883cbde4]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::udp_socket::on_read(boost::asio::basic_datagram_socket<boost::asio::ip::udp, boost::asio::datagram_socket_service<boost::asio::ip::udp> >*, boost::system::error_code const&, unsigned long)+0x52 [0x7fa3884f2a12]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::asio::detail::reactive_socket_recvfrom_op<boost::asio::mutable_buffers_1, boost::asio::ip::basic_endpoint<boost::asio::ip::udp>, boost::_bi::bind_t<void, boost::_mfi::mf3<void, libtorrent::udp_socket, boost::asio::basic_datagram_socket<boost::asio::ip::udp, boost::asio::datagram_socket_service<boost::asio::ip::udp> >*, boost::system::error_code const&, unsigned long>, boost::_bi::list4<boost::_bi::value<libtorrent::udp_socket*>, boost::_bi::value<boost::asio::basic_datagram_socket<boost::asio::ip::udp, boost::asio::datagram_socket_service<boost::asio::ip::udp> >*>, boost::arg<1>, boost::arg<2> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code, unsigned long)+0x100 [0x7fa3884f66e0]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::asio::detail::task_io_service::run(boost::system::error_code&)+0x422 [0x7fa388407e52]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::aux::session_impl::operator()()+0x51 [0x7fa388480561]
  /usr/lib/libboost_thread.so.1.46.1 : thread_proxy()+0x69 [0x7fa3855e4ba9]
  /lib/x86_64-linux-gnu/libpthread.so.0 : ()+0x7efc [0x7fa3880d1efc]
  /lib/x86_64-linux-gnu/libc.so.6 : clone()+0x6d [0x7fa385cee89d]
Aborted

Revision history for this message
nischal (kumarnischal) wrote :

backtrace
Peer ID: -qB2840-
HTTP user agent is qBittorrent v2.8.4
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.8.4
stack trace:
  [0x839400]
  [0x839416]
  /lib/i386-linux-gnu/libc.so.6 : gsignal()+0x4f [0xb00c8f]
  /lib/i386-linux-gnu/libc.so.6 : abort()+0x175 [0xb042b5]
  /usr/lib/i386-linux-gnu/libstdc++.so.6 : __gnu_cxx::__verbose_terminate_handler()+0x14d [0x6964ed]
  /usr/lib/i386-linux-gnu/libstdc++.so.6 : ()+0xaf283 [0x694283]
  /usr/lib/i386-linux-gnu/libstdc++.so.6 : ()+0xaf2bf [0x6942bf]
  /usr/lib/i386-linux-gnu/libstdc++.so.6 : ()+0xaf40e [0x69440e]
  /usr/lib/libtorrent-rasterbar.so.6 : ()+0xc14cc [0x8fb4cc]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::unique_lock<boost::mutex>::lock()+0x94 [0x8fba94]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::udp_socket::on_read(boost::asio::basic_datagram_socket<boost::asio::ip::udp, boost::asio::datagram_socket_service<boost::asio::ip::udp> >*, boost::system::error_code const&, unsigned int)+0x53 [0xa348a3]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::asio::detail::reactive_socket_recvfrom_op<boost::asio::mutable_buffers_1, boost::asio::ip::basic_endpoint<boost::asio::ip::udp>, boost::_bi::bind_t<void, boost::_mfi::mf3<void, libtorrent::udp_socket, boost::asio::basic_datagram_socket<boost::asio::ip::udp, boost::asio::datagram_socket_service<boost::asio::ip::udp> >*, boost::system::error_code const&, unsigned int>, boost::_bi::list4<boost::_bi::value<libtorrent::udp_socket*>, boost::_bi::value<boost::asio::basic_datagram_socket<boost::asio::ip::udp, boost::asio::datagram_socket_service<boost::asio::ip::udp> >*>, boost::arg<1>, boost::arg<2> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code, unsigned int)+0xdc [0xa3832c]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::asio::detail::task_io_service::run(boost::system::error_code&)+0x417 [0x93ca67]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::aux::session_impl::operator()()+0x5f [0x9ba85f]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::detail::thread_data<boost::reference_wrapper<libtorrent::aux::session_impl> >::run()+0x21 [0x9ca5c1]
  /usr/lib/libboost_thread.so.1.46.1 : thread_proxy()+0x6c [0x5013cc]
  /lib/i386-linux-gnu/libpthread.so.0 : ()+0x6d31 [0x541d31]
  /lib/i386-linux-gnu/libc.so.6 : clone()+0x5e [0xba646e]

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.