Package: qbittorrent
Version: 2.9.8-1
Severity: important
Tags: upstream

Dear Maintainer,
qbittorrent crashes without any interaction on my part. Looking at the stack 
trace I assume the disconnect of a client triggers the crash.

valgrind output with libtorrent-rasterbar-dbg:
==19735== Memcheck, a memory error detector
==19735== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==19735== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==19735== Command: qbittorrent
==19735== 
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0xaf
Xlib:  extension "SYNC" missing on display ":0".
Couldn't set environment variable...
Peer ID: -qB2980-
HTTP user agent is qBittorrent v2.9.8
==19765== Warning: invalid file descriptor 1024 in syscall close()
==19765== Warning: invalid file descriptor 1025 in syscall close()
==19765== Warning: invalid file descriptor 1026 in syscall close()
==19765==    Use --log-fd=<number> to select an alternative log fd.
==19765== Warning: invalid file descriptor 1027 in syscall close()
==19765== Warning: invalid file descriptor 1028 in syscall close()
==19765== Warning: invalid file descriptor 1029 in syscall close()
Xlib:  extension "SYNC" missing on display ":0".
==19735== Thread 4:
==19735== Invalid read of size 1
==19735==    at 0x51315DE: RC4 (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==19735==  Address 0xb7e6bf0 is 80 bytes inside a block of size 2,064 free'd
==19735==    at 0x4C28A8C: operator delete(void*) (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==19735==    by 0x5561C34: 
libtorrent::bt_peer_connection::~bt_peer_connection() (checked_delete.hpp:34)
==19735==    by 0x5561CB8: 
libtorrent::bt_peer_connection::~bt_peer_connection() 
(bt_peer_connection.cpp:189)
==19735==    by 0x55E77B7: 
boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, 
libtorrent::peer_connection::allocating_handler<boost::_bi::bind_t<void, 
boost::_mfi::mf2<void, libtorrent::peer_connection, boost::system::error_code 
const&, unsigned long>, 
boost::_bi::list3<boost::_bi::value<boost::intrusive_ptr<libtorrent::peer_connection>
 >, boost::arg<1>, boost::arg<2> > >, 256ul> 
>::do_complete(boost::asio::detail::task_io_service*, 
boost::asio::detail::task_io_service_operation*, boost::system::error_code 
const&, unsigned long) (bind.hpp:112)
==19735==    by 0x55945F1: 
boost::asio::detail::task_io_service::run(boost::system::error_code&) 
(task_io_service_operation.hpp:37)
==19735==    by 0x5603850: libtorrent::aux::session_impl::operator()() 
(io_service.ipp:66)
==19735==    by 0x4079628: ??? (in /usr/lib/libboost_thread.so.1.49.0)
==19735==    by 0x5915B4F: start_thread (pthread_create.c:304)
==19735==    by 0x7D2FA7C: clone (clone.S:112)
==19735== 
==19735== Invalid write of size 1
==19735==    at 0x51315E2: RC4 (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==19735==  Address 0xb7e6bf0 is 80 bytes inside a block of size 2,064 free'd
==19735==    at 0x4C28A8C: operator delete(void*) (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==19735==    by 0x5561C34: 
libtorrent::bt_peer_connection::~bt_peer_connection() (checked_delete.hpp:34)
==19735==    by 0x5561CB8: 
libtorrent::bt_peer_connection::~bt_peer_connection() 
(bt_peer_connection.cpp:189)
==19735==    by 0x55E77B7: 
boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, 
libtorrent::peer_connection::allocating_handler<boost::_bi::bind_t<void, 
boost::_mfi::mf2<void, libtorrent::peer_connection, boost::system::error_code 
const&, unsigned long>, 
boost::_bi::list3<boost::_bi::value<boost::intrusive_ptr<libtorrent::peer_connection>
 >, boost::arg<1>, boost::arg<2> > >, 256ul> 
>::do_complete(boost::asio::detail::task_io_service*, 
boost::asio::detail::task_io_service_operation*, boost::system::error_code 
const&, unsigned long) (bind.hpp:112)
==19735==    by 0x55945F1: 
boost::asio::detail::task_io_service::run(boost::system::error_code&) 
(task_io_service_operation.hpp:37)
==19735==    by 0x5603850: libtorrent::aux::session_impl::operator()() 
(io_service.ipp:66)
==19735==    by 0x4079628: ??? (in /usr/lib/libboost_thread.so.1.49.0)
==19735==    by 0x5915B4F: start_thread (pthread_create.c:304)
==19735==    by 0x7D2FA7C: clone (clone.S:112)
==19735== 
==19735== Invalid read of size 8
==19735==    at 0x51317BD: RC4 (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==19735==  Address 0xb7e6bfc is 92 bytes inside a block of size 2,064 free'd
==19735==    at 0x4C28A8C: operator delete(void*) (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==19735==    by 0x5561C34: 
libtorrent::bt_peer_connection::~bt_peer_connection() (checked_delete.hpp:34)
==19735==    by 0x5561CB8: 
libtorrent::bt_peer_connection::~bt_peer_connection() 
(bt_peer_connection.cpp:189)
==19735==    by 0x55E77B7: 
boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, 
libtorrent::peer_connection::allocating_handler<boost::_bi::bind_t<void, 
boost::_mfi::mf2<void, libtorrent::peer_connection, boost::system::error_code 
const&, unsigned long>, 
boost::_bi::list3<boost::_bi::value<boost::intrusive_ptr<libtorrent::peer_connection>
 >, boost::arg<1>, boost::arg<2> > >, 256ul> 
>::do_complete(boost::asio::detail::task_io_service*, 
boost::asio::detail::task_io_service_operation*, boost::system::error_code 
const&, unsigned long) (bind.hpp:112)
==19735==    by 0x55945F1: 
boost::asio::detail::task_io_service::run(boost::system::error_code&) 
(task_io_service_operation.hpp:37)
==19735==    by 0x5603850: libtorrent::aux::session_impl::operator()() 
(io_service.ipp:66)
==19735==    by 0x4079628: ??? (in /usr/lib/libboost_thread.so.1.49.0)
==19735==    by 0x5915B4F: start_thread (pthread_create.c:304)
==19735==    by 0x7D2FA7C: clone (clone.S:112)
==19735== 
==19735== Invalid write of size 8
==19735==    at 0x513164B: RC4 (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==19735==  Address 0xb7e6bfc is 92 bytes inside a block of size 2,064 free'd
==19735==    at 0x4C28A8C: operator delete(void*) (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==19735==    by 0x5561C34: 
libtorrent::bt_peer_connection::~bt_peer_connection() (checked_delete.hpp:34)
==19735==    by 0x5561CB8: 
libtorrent::bt_peer_connection::~bt_peer_connection() 
(bt_peer_connection.cpp:189)
==19735==    by 0x55E77B7: 
boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, 
libtorrent::peer_connection::allocating_handler<boost::_bi::bind_t<void, 
boost::_mfi::mf2<void, libtorrent::peer_connection, boost::system::error_code 
const&, unsigned long>, 
boost::_bi::list3<boost::_bi::value<boost::intrusive_ptr<libtorrent::peer_connection>
 >, boost::arg<1>, boost::arg<2> > >, 256ul> 
>::do_complete(boost::asio::detail::task_io_service*, 
boost::asio::detail::task_io_service_operation*, boost::system::error_code 
const&, unsigned long) (bind.hpp:112)
==19735==    by 0x55945F1: 
boost::asio::detail::task_io_service::run(boost::system::error_code&) 
(task_io_service_operation.hpp:37)
==19735==    by 0x5603850: libtorrent::aux::session_impl::operator()() 
(io_service.ipp:66)
==19735==    by 0x4079628: ??? (in /usr/lib/libboost_thread.so.1.49.0)
==19735==    by 0x5915B4F: start_thread (pthread_create.c:304)
==19735==    by 0x7D2FA7C: clone (clone.S:112)
==19735== 


*************************************************************
Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
qBittorrent version: v2.9.8
stack trace:
==19735== 
==19735== Process terminating with default action of signal 11 (SIGSEGV): 
dumping core
==19735==  General Protection Fault
==19735==    at 0x4012060: dl_open_worker (dl-open.c:199)
==19735==    by 0x400DBD5: _dl_catch_error (dl-error.c:178)
==19735==    by 0x4011B49: _dl_open (dl-open.c:633)
==19735==    by 0x7D6609F: do_dlopen (dl-libc.c:86)
==19735==    by 0x400DBD5: _dl_catch_error (dl-error.c:178)
==19735==    by 0x7D6613E: dlerror_run (dl-libc.c:47)
==19735==    by 0x7D66236: __libc_dlopen_mode (dl-libc.c:160)
==19735==    by 0x7D44364: init (backtrace.c:41)
==19735==    by 0x591B82F: pthread_once (pthread_once.S:104)
==19735==    by 0x7D44463: backtrace (backtrace.c:85)
==19735==    by 0x5823DA: ??? (in /usr/bin/qbittorrent)
==19735==    by 0x58265A: sigsegvHandler(int) (in /usr/bin/qbittorrent)
==19735== Thread 5:
==19735== Invalid free() / delete / delete[] / realloc()
==19735==    at 0x4C28F5C: free (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==19735==    by 0x7D8AF6B: _nl_archive_subfreeres (in 
/lib/x86_64-linux-gnu/libc-2.13.so)
==19735==    by 0x7D8AC38: free_mem (in /lib/x86_64-linux-gnu/libc-2.13.so)
==19735==    by 0x7D8B3C1: __libc_freeres (in 
/lib/x86_64-linux-gnu/libc-2.13.so)
==19735==    by 0x4A226EC: _vgnU_freeres (in 
/usr/lib/valgrind/vgpreload_core-amd64-linux.so)
==19735==  Address 0x334ac6307f15ef88 is not stack'd, malloc'd or (recently) 
free'd
==19735== 
==19735== Invalid read of size 8
==19735==    at 0x7D8AF87: _nl_archive_subfreeres (in 
/lib/x86_64-linux-gnu/libc-2.13.so)
==19735==    by 0x7D8AC38: free_mem (in /lib/x86_64-linux-gnu/libc-2.13.so)
==19735==    by 0x7D8B3C1: __libc_freeres (in 
/lib/x86_64-linux-gnu/libc-2.13.so)
==19735==    by 0x4A226EC: _vgnU_freeres (in 
/usr/lib/valgrind/vgpreload_core-amd64-linux.so)
==19735==  Address 0xb3a19ecde4121886 is not stack'd, malloc'd or (recently) 
free'd
==19735== 
==19735== 
==19735== Process terminating with default action of signal 11 (SIGSEGV)
==19735==  General Protection Fault
==19735==    at 0x7D8AF87: _nl_archive_subfreeres (in 
/lib/x86_64-linux-gnu/libc-2.13.so)
==19735==    by 0x7D8AC38: free_mem (in /lib/x86_64-linux-gnu/libc-2.13.so)
==19735==    by 0x7D8B3C1: __libc_freeres (in 
/lib/x86_64-linux-gnu/libc-2.13.so)
==19735==    by 0x4A226EC: _vgnU_freeres (in 
/usr/lib/valgrind/vgpreload_core-amd64-linux.so)
==19735== 
==19735== HEAP SUMMARY:
==19735==     in use at exit: 8,139,748 bytes in 27,140 blocks
==19735==   total heap usage: 947,855 allocs, 920,716 frees, 120,834,318 bytes 
allocated
==19735== 
==19735== LEAK SUMMARY:
==19735==    definitely lost: 727,906 bytes in 3,256 blocks
==19735==    indirectly lost: 329,213 bytes in 5,931 blocks
==19735==      possibly lost: 3,175,332 bytes in 106 blocks
==19735==    still reachable: 3,907,297 bytes in 17,847 blocks
==19735==         suppressed: 0 bytes in 0 blocks
==19735== Rerun with --leak-check=full to see details of leaked memory
==19735== 
==19735== For counts of detected and suppressed errors, rerun with: -v
==19735== ERROR SUMMARY: 780523 errors from 6 contexts (suppressed: 15 from 9)


-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qbittorrent depends on:
ii  geoip-database             20130213-1
ii  libboost-filesystem1.49.0  1.49.0-3.2
ii  libboost-system1.49.0      1.49.0-3.2
ii  libc6                      2.13-38
ii  libgcc1                    1:4.7.2-5
ii  libqt4-dbus                4:4.8.2+dfsg-11
ii  libqt4-network             4:4.8.2+dfsg-11
ii  libqt4-xml                 4:4.8.2+dfsg-11
ii  libqtcore4                 4:4.8.2+dfsg-11
ii  libqtgui4                  4:4.8.2+dfsg-11
ii  libssl1.0.0                1.0.1e-1
ii  libstdc++6                 4.7.2-5
ii  libtorrent-rasterbar6      0.15.10-1+b1
ii  python                     2.7.3-4

qbittorrent recommends no packages.

Versions of packages qbittorrent suggests:
pn  qbittorrent-dbg  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to