qbittorrent crashed

Bug #558484 reported by MakarovSV
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qBittorrent
New
Undecided
Unassigned

Bug Description

Peer ID: -qB2220-
HTTP user agent is qBittorrent v2.2.2
qbittorrent: malloc.c:3929: __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:
  [0x1be400]
  [0x1be422]
  /lib/tls/i686/cmov/libc.so.6 : gsignal()+0x51 [0x4eb44d1]
  /lib/tls/i686/cmov/libc.so.6 : abort()+0x182 [0x4eb7932]
  /lib/tls/i686/cmov/libc.so.6 : __assert_fail()+0xf8 [0x4ead648]
  /lib/tls/i686/cmov/libc.so.6 : __libc_valloc()+0x19f [0x4ef96ef]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::page_aligned_allocator::malloc(unsigned int)+0x1d [0x10375ed]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::pool<libtorrent::page_aligned_allocator>::ordered_malloc_need_resize()+0x5a [0x10627ea]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::disk_buffer_pool::allocate_buffer(char const*)+0xa6 [0x105ab66]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::piece_manager::hash_for_slot(int, libtorrent::partial_hash&, int, int, libtorrent::big_number*)+0x314 [0x114fbd4]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::piece_manager::hash_for_piece_impl(int)+0xf7 [0x114ff67]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::disk_io_thread::operator()()+0x3152 [0x1061312]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::detail::thread_data<boost::reference_wrapper<libtorrent::disk_io_thread> >::run()+0x23 [0x10659a3]
  /usr/lib/libboost_thread-mt.so.1.38.0 : thread_proxy()+0x5d [0x565c1d]
  /lib/tls/i686/cmov/libpthread.so.0 [0x34e80e]
  /lib/tls/i686/cmov/libc.so.6 : clone()+0x5e [0x4f568de]
Aborted

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

Instructions are in the original bug report.

The solution is to recompile libtorrent v0.15 with the patch I attached in the other report.

What Linux distribution and version are you using?

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.