(gdb) bt 25
#0 0x00ca0422 in __kernel_vsyscall ()
#1 0x006514d1 in *__GI_raise (sig=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0x00654932 in *__GI_abort () at abort.c:92
#3 0x0064a648 in *__GI___assert_fail (
assertion=0x74bfb0 "!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*)("...,
file=0x747efe "malloc.c", line=3929, function=0x748250 "__libc_valloc")
at assert.c:81
#4 0x006966bf in __libc_valloc (bytes=262152) at malloc.c:3928
#5 0x001fcfcd in libtorrent::page_aligned_allocator::malloc (bytes=262152)
at allocator.cpp:50
#6 0x0022682a in boost::pool<libtorrent::page_aligned_allocator>::ordered_malloc_need_resize (this=0x867cffc) at /usr/include/boost/pool/pool.hpp:461
#7 0x0021f2f6 in boost::pool<libtorrent::page_aligned_allocator>::ordered_malloc (this=0x867ce88, category=0x3cf8d3 "receive buffer")
at /usr/include/boost/pool/pool.hpp:232
#8 libtorrent::disk_buffer_pool::allocate_buffer (this=0x867ce88,
category=0x3cf8d3 "receive buffer") at disk_io_thread.cpp:115
#9 0x002ddd99 in libtorrent::aux::session_impl::allocate_disk_buffer (
this=0x867cd20, category=0x3cf8d3 "receive buffer")
at session_impl.cpp:2902
---Type <return> to continue, or q <return> to quit---
#10 0x002ae0a9 in libtorrent::peer_connection::allocate_disk_receive_buffer (
this=0xb5e2fd60, disk_buffer_size=16384) at peer_connection.cpp:3265
#11 0x0020a555 in libtorrent::bt_peer_connection::on_piece (this=0xb5e2fd60,
received=1) at bt_peer_connection.cpp:1129
#12 0x00206778 in libtorrent::bt_peer_connection::dispatch_message (
this=0xb5e2fd60, received=1) at bt_peer_connection.cpp:1580
#13 0x0020b638 in libtorrent::bt_peer_connection::on_receive (this=0xb5e2fd60,
error=..., bytes_transferred=1) at bt_peer_connection.cpp:2924
#14 0x002b631f in libtorrent::peer_connection::on_receive_data (
this=0xb5e2fd60, error=..., bytes_transferred=5)
at peer_connection.cpp:4303
#15 0x002bcda2 in 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*) () from /usr/lib/libtorrent-rasterbar.so.6
#16 0x0025890c in boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> >::run(boost::system::error_code&) ()
from /usr/lib/libtorrent-rasterbar.so.6
#17 0x002eff6c in boost::asio::io_service::run (this=0x867cd20)
at /usr/include/boost/asio/impl/io_service.ipp:65
---Type <return> to continue, or q <return> to quit---
#18 libtorrent::aux::session_impl::operator() (this=0x867cd20)
at session_impl.cpp:2043
#19 0x002fce23 in boost::detail::thread_data<boost::reference_wrapper<libtorrent::aux::session_impl> >::run() () from /usr/lib/libtorrent-rasterbar.so.6
#20 0x005cbc1d in thread_proxy () from /usr/lib/libboost_thread-mt.so.1.38.0
#21 0x00f4f80e in start_thread (arg=0xb6f5cb70) at pthread_create.c:300
#22 0x006f37ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Here is the backtrace with line numbers:
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.
(gdb) bt 25 sysdeps/ unix/sysv/ linux/raise. c:64 0x74bfb0 "!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* )("..., :page_aligned_ allocator: :malloc (bytes=262152) pool<libtorrent ::page_ aligned_ allocator> ::ordered_ malloc_ need_resize (this=0x867cffc) at /usr/include/ boost/pool/ pool.hpp: 461 pool<libtorrent ::page_ aligned_ allocator> ::ordered_ malloc (this=0x867ce88, category=0x3cf8d3 "receive buffer") boost/pool/ pool.hpp: 232 :disk_buffer_ pool::allocate_ buffer (this=0x867ce88, 0x3cf8d3 "receive buffer") at disk_io_ thread. cpp:115 :aux::session_ impl::allocate_ disk_buffer ( impl.cpp: 2902 :peer_connectio n::allocate_ disk_receive_ buffer ( 0xb5e2fd60, disk_buffer_ size=16384) at peer_connection .cpp:3265 :bt_peer_ connection: :on_piece (this=0xb5e2fd60, connection. cpp:1129 :bt_peer_ connection: :dispatch_ message ( 0xb5e2fd60, received=1) at bt_peer_ connection. cpp:1580 :bt_peer_ connection: :on_receive (this=0xb5e2fd60, ed=1) at bt_peer_ connection. cpp:2924 :peer_connectio n::on_receive_ data ( 0xb5e2fd60, error=..., bytes_transferr ed=5) .cpp:4303 asio::detail: :handler_ queue:: handler_ wrapper< boost:: asio::detail: :binder2< libtorrent: :peer_connectio n::allocating_ handler< boost:: _bi::bind_ t<void, boost:: _mfi::mf2< void, libtorrent: :peer_connectio n, boost:: system: :error_ code const&, unsigned int>, boost:: _bi::list3< boost:: _bi::value< boost:: intrusive_ ptr<libtorrent: :peer_connectio n> >, boost::arg<1>, boost::arg<2> > >, 256u>, boost:: system: :error_ code, unsigned int> >::do_call( boost:: asio::detail: :handler_ queue:: handler* ) () from /usr/lib/ libtorrent- rasterbar. so.6 asio::detail: :task_io_ service< boost:: asio::detail: :epoll_ reactor< false> >::run( boost:: system: :error_ code&) () libtorrent- rasterbar. so.6 asio::io_ service: :run (this=0x867cd20) boost/asio/ impl/io_ service. ipp:65 :aux::session_ impl::operator( ) (this=0x867cd20) impl.cpp: 2043 detail: :thread_ data<boost: :reference_ wrapper< libtorrent: :aux::session_ impl> >::run() () from /usr/lib/ libtorrent- rasterbar. so.6 libboost_ thread- mt.so.1. 38.0 create. c:300 unix/sysv/ linux/i386/ clone.S: 130
#0 0x00ca0422 in __kernel_vsyscall ()
#1 0x006514d1 in *__GI_raise (sig=6)
at ../nptl/
#2 0x00654932 in *__GI_abort () at abort.c:92
#3 0x0064a648 in *__GI___assert_fail (
assertion=
file=0x747efe "malloc.c", line=3929, function=0x748250 "__libc_valloc")
at assert.c:81
#4 0x006966bf in __libc_valloc (bytes=262152) at malloc.c:3928
#5 0x001fcfcd in libtorrent:
at allocator.cpp:50
#6 0x0022682a in boost::
#7 0x0021f2f6 in boost::
at /usr/include/
#8 libtorrent:
category=
#9 0x002ddd99 in libtorrent:
this=0x867cd20, category=0x3cf8d3 "receive buffer")
at session_
---Type <return> to continue, or q <return> to quit---
#10 0x002ae0a9 in libtorrent:
this=
#11 0x0020a555 in libtorrent:
received=1) at bt_peer_
#12 0x00206778 in libtorrent:
this=
#13 0x0020b638 in libtorrent:
error=..., bytes_transferr
#14 0x002b631f in libtorrent:
this=
at peer_connection
#15 0x002bcda2 in boost::
#16 0x0025890c in boost::
from /usr/lib/
#17 0x002eff6c in boost::
at /usr/include/
---Type <return> to continue, or q <return> to quit---
#18 libtorrent:
at session_
#19 0x002fce23 in boost::
#20 0x005cbc1d in thread_proxy () from /usr/lib/
#21 0x00f4f80e in start_thread (arg=0xb6f5cb70) at pthread_
#22 0x006f37ee in clone () at ../sysdeps/