Comment 16 for bug 552099

Revision history for this message
Mariusz Fik (fisiu) wrote :

qbittorrent 2.2.2 with delete-after-pause.patch & libtorrent-rasterbar-0.15. without any patch

I got it openSUSE:

fisiu@pendrak:~> qbittorrent
Peer ID: -qB2220-
HTTP user agent is qBittorrent v2.2.2
Warning: Local domain socket was not closed cleanly, deleting file...
qbittorrent: malloc.c:3951: __libc_valloc: Assertion `!p || ((((mchunkptr)((char*)(p) - 2*(sizeof(size_t)))))->size & 0x2) || ar_ptr == (((((mchunkptr)((char*)(p) - 2*(sizeof(size_t)))))->size & 0x4) ? ((heap_info *)((unsigned long)(((mchunkptr)((char*)(p) - 2*(sizeof(size_t))))) & ~((2 * (512 * 1024))-1)))->ar_ptr : &main_arena)' failed.

*************************************************************
Catching SIGABRT, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
stack trace:
  [0xffffe400]
  [0xffffe424]
  /lib/libc.so.6 : gsignal()+0x4f [0xb64180cf]
  /lib/libc.so.6 : abort()+0x187 [0xb64199e7]
  /lib/libc.so.6 [0xb645a730]
  /lib/libc.so.6 : __libc_valloc()+0xf3 [0xb645ee43]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::page_aligned_allocator::malloc(unsigned int)+0x1b [0xb74986db]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::pool<libtorrent::page_aligned_allocator>::ordered_malloc_need_resize()+0x54 [0xb74c48a4]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::disk_buffer_pool::allocate_buffer(char const*)+0xae [0xb74bde8e]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::aux::session_impl::allocate_disk_buffer(char const*)+0x28 [0xb757fd18]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::peer_connection::allocate_disk_receive_buffer(int)+0x6d [0xb755762d]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::bt_peer_connection::on_piece(int)+0x57d [0xb74a5acd]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::bt_peer_connection::dispatch_message(int)+0x158 [0xb74a3598]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::bt_peer_connection::on_receive(boost::system::error_code const&, unsigned int)+0x267 [0xb74a85f7]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::peer_connection::on_receive_data(boost::system::error_code const&, unsigned int)+0xf8 [0xb755a298]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::asio::detail::handler_queue::handler_wrapper<boost::asio::detail::binder2<libtorrent::peer_connection::allocating_handler<boost::_bi::bind_t<void, boost::_mfi::mf2<void, libtorrent::peer_connection, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::intrusive_ptr<libtorrent::peer_connection> >, boost::arg<1>, boost::arg<2> > >, 256u>, boost::system::error_code, unsigned int> >::do_call(boost::asio::detail::handler_queue::handler*)+0xe3 [0xb755db33]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> >::run(boost::system::error_code&)+0x47c [0xb74f673c]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::aux::session_impl::operator()()+0x5f [0xb758f4ef]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::detail::thread_data<boost::reference_wrapper<libtorrent::aux::session_impl> >::run()+0x21 [0xb75a3c41]
  /usr/lib/libboost_thread.so.1.39.0 : thread_proxy()+0x6a [0xb7862dfa]
  /lib/libpthread.so.0 [0xb66676e5]
  /lib/libpthread.so.0 [0xb6667600]
Przerwane