Crash with assertion at random times (app minimized to tray)

Bug #780148 reported by Tomasz Pieczerak on 2011-05-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I'm using Slackware GNU/Linux 13.1, qbittorrent v2.7.3 with libtorrent-rasterbar v0.15.5. App tends to crash from time to time, rather rarely (once in several hours), but without any specific reason -- just working in background, app minimized to system tray, downloading/uploading a few files. I got this from X display manager log:

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
and provide the following backtrace:
qBittorrent version: v2.7.3
stack trace:
  /lib/ : gsignal()+0x47 [0xb627ba67]
  /lib/ : abort()+0x182 [0xb627d2e2]
  /lib/ : __libc_valloc()+0x140 [0xb62c5d10]
  /usr/lib/ : libtorrent::page_aligned_allocator::malloc(unsigned int)+0x1d [0xb74d89cd]
  /usr/lib/ : boost::pool<libtorrent::page_aligned_allocator>::ordered_malloc_need_resize()+0x5a [0xb7504c5a]
  /usr/lib/ : libtorrent::disk_buffer_pool::allocate_buffer(char const*)+0xa6 [0xb74fa716]
  /usr/lib/ : libtorrent::piece_manager::hash_for_slot(int, libtorrent::partial_hash&, int, int, libtorrent::big_number*)+0x2e9 [0xb7
  /usr/lib/ : libtorrent::piece_manager::hash_for_piece_impl(int)+0xea [0xb75eed0a]
  /usr/lib/ : libtorrent::disk_io_thread::operator()()+0x16da [0xb750169a]
  /usr/lib/ : boost::detail::thread_data<boost::reference_wrapper<libtorrent::disk_io_thread> >::run()+0x23 [0xb7508193]
  /usr/lib/ : thread_proxy()+0x66 [0xb62387b6]
  /lib/ : ()+0x5830 [0xb64eb830]
  /lib/ : clone()+0x5e [0xb633015e]

leigh123linux (leigh123linux) wrote :

This bug is a duplicate of 490024

Changed in qbittorrent:
status: New → Opinion
Christophe Dumez (hydr0g3n) wrote :

Yes, definitly a duplicate. Meaning that you have a buggy version of eglibc or glibc. You should report a bug against glibc/eglibc in your distribution and forward the link to the patch:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.