ubuntu@cornucopia /tmp 🦆139» gdb --args python3 torrtest.py ubuntu-18.04.4-live-server-amd64.iso.torrent 15:27 GNU gdb (Ubuntu 8.3-0ubuntu1) 8.3 Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from python3... Reading symbols from /usr/lib/debug/.build-id/13/285d74fe7ef9a91496a8c8a1cb36ecb0cce52c.debug... (gdb) r Starting program: /usr/bin/python3 torrtest.py ubuntu-18.04.4-live-server-amd64.iso.torrent [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". [New Thread 0xfffff6b9f1e0 (LWP 21827)] [New Thread 0xfffff639e1e0 (LWP 21828)] [New Thread 0xfffff5b9d1e0 (LWP 21829)] [New Thread 0xfffff53791e0 (LWP 21830)] [New Thread 0xfffff4b781e0 (LWP 21831)] [New Thread 0xffffeffff1e0 (LWP 21832)] starting ubuntu-18.04.4-live-server-amd64.iso 0.00% complete (down: 0.0 kB/s up: 0.0 kB/s peers: 2) downloading Thread 2 "python3" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xfffff6b9f1e0 (LWP 21827)] 0x0000fffff7522cd0 in boost::_mfi::cmf0::call const> (this=, this=, u=...) at /usr/include/boost/smart_ptr/intrusive_ptr.hpp:295 295 template T * get_pointer(intrusive_ptr const & p) BOOST_SP_NOEXCEPT (gdb) bt #0 0x0000fffff7522cd0 in boost::_mfi::cmf0::call const> (this=, this=, u=...) at /usr/include/boost/smart_ptr/intrusive_ptr.hpp:295 #1 boost::_mfi::cmf0::operator() > (u=..., this=) at /usr/include/boost/bind/mem_fn_template.hpp:115 #2 boost::_bi::list1 >::operator(), boost::_bi::rrlist2&, boost::intrusive_ptr&> > (this=, a=..., f=...) at /usr/include/boost/bind/bind.hpp:249 #3 boost::_bi::bind_t, boost::_bi::list1 > >::eval&, boost::intrusive_ptr&> > (a=..., this=) at /usr/include/boost/bind/bind.hpp:1415 #4 boost::_bi::rrlist2&, boost::intrusive_ptr&>::operator[], boost::_bi::list1 > > (this=, b=...) at /usr/include/boost/bind/bind.hpp:929 #5 boost::_bi::list3, boost::_bi::list1 > >, boost::_bi::bind_t, boost::_bi::list1 > >, boost::_bi::value >::operator()&, boost::intrusive_ptr&> > (a=..., f=@0xfffff6b9d748: 0xfffff7515190 , this=0xfffff6b9d750) at /usr/include/boost/bind/bind.hpp:388 #6 boost::_bi::bind_t, boost::_bi::list1 > >, boost::_bi::bind_t, boost::_bi::list1 > >, boost::_bi::value > >::operator()&, boost::intrusive_ptr&> (a2=..., a1=..., this=0xfffff6b9d748) at /usr/include/boost/bind/bind.hpp:1318 #7 __gnu_cxx::__ops::_Iter_comp_iter, boost::_bi::list1 > >, boost::_bi::bind_t, boost::_bi::list1 > >, boost::_bi::value > > >::operator()<__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > > > (__it2={px = 0xfffff0027d38}, __it1={px = 0xfffff0029ff8}, this=0xfffff6b9d748) at /usr/include/c++/9/bits/predefined_ops.h:143 #8 std::__move_median_to_first<__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, __gnu_cxx::__ops::_Iter_comp_iter, boost::_bi::list1 > >, boost::_bi::bind_t, boost::_bi::list1 > >, boost::_bi::value > > > > (__comp=..., __c=..., __b=..., __a=..., __result=...) at /usr/include/c++/9/bits/stl_algo.h:81 #9 std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, __gnu_cxx::__ops::_Iter_comp_iter, boost::_bi::list1 > >, boost::_bi::bind_t, boost::_bi::list1 > >, boost::_bi::value > > > > (__comp=..., __last={px = 0xfffff0022240}, __first={px = 0xfffff002d078}) at /usr/include/c++/9/bits/stl_algo.h:1920 #10 std::__introsort_loop<__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, long, __gnu_cxx::__ops::_Iter_comp_iter, boost::_bi::list1 > >, boost::_bi::bind_t, boost::_bi::list1 > >, boost::_bi::value > > > > ( __first=__first@entry={px = 0xfffff002d078}, __last=..., __last@entry={px = 0xfffff0022240}, __depth_limit=11, __depth_limit@entry=12, __comp=...) at /usr/include/c++/9/bits/stl_algo.h:1952 #11 0x0000fffff7522010 in std::__sort<__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, __gnu_cxx::__ops::_Iter_comp_iter, boost::_bi::list1 > >, boost::_bi::bind_t, boost::_bi::list1 > >, boost::_bi::value > > > > (__comp=..., __last={px = 0xfffff0022240}, __first={px = 0xfffff002d078}) at /usr/include/c++/9/bits/stl_algobase.h:1029 #12 std::sort<__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, boost::_bi::bind_t, boost::_bi::list1 > >, boost::_bi::bind_t, boost::_bi::list1 > >, boost::_bi::value > > > (__comp=..., __last={px = 0xfffff0022240}, __first={px = 0xfffff002d078}) at /usr/include/c++/9/bits/stl_algo.h:4860 #13 libtorrent::dht::traversal_algorithm::resort_results (this=) at ../../src/kademlia/traversal_algorithm.cpp:106 #14 0x0000fffff751e2f8 in libtorrent::dht::observer::set_id (this=this@entry=0xfffff00593b0, id=...) at ../../src/kademlia/rpc_manager.cpp:158 #15 0x0000fffff75219b4 in libtorrent::dht::traversal_observer::reply (this=this@entry=0xfffff00593b0, m=...) at /usr/include/aarch64-linux-gnu/bits/string_fortified.h:34 #16 0x0000fffff750a77c in libtorrent::dht::find_data_observer::reply (this=this@entry=0xfffff00593b0, m=...) at ../../src/kademlia/find_data.cpp:80 #17 0x0000fffff7523f24 in libtorrent::dht::get_peers_observer::reply (this=0xfffff00593b0, m=...) at ../../src/kademlia/get_peers.cpp:113 #18 0x0000fffff751ed44 in libtorrent::dht::rpc_manager::incoming (this=this@entry=0xfffff001d888, m=..., id=id@entry=0xfffff6b9e400) at ../../src/kademlia/rpc_manager.cpp:370 #19 0x0000fffff7512d74 in libtorrent::dht::node::incoming (this=this@entry=0xfffff001d758, m=...) at ../../src/kademlia/node.cpp:295 #20 0x0000fffff7504864 in libtorrent::dht::dht_tracker::incoming_packet (this=0xfffff001d6f0, ec=..., ep=..., buf=0xa56570 "d1:rd2:id20:\347\061\b\313\326(\376\345\317 &\235)\315Kr\017\062,\213\065:nodes0:5:token2:\347\061e1:t2:\250\020\061:y1:re\274Q6\212\217\366\232\242N\274\332\372\032\351\347\061.\232\236\304n\021sض\346,IΜL`l\362.H\205m\320\340\347\060s\365S\275\270\217܁\342\321\021\070\264\340\341\bt\373D\270\230\310\032\343\347\060\216\345\275Ɏ\364pk\201\303ޕ\351\366\340\343\071\037V:R`rH\347\060\062\"a\303\"\227 \031\274\022\256\251=\263wE\332'ԕ\362~\032\341\347\060\061\bA\351gA\245՟\344\030\237\025"..., size=67) at ../../src/kademlia/dht_tracker.cpp:359 #21 0x0000fffff74d1864 in libtorrent::udp_socket::call_handler (this=0xa2b060, ec=..., ep=..., buf=0xa56570 "d1:rd2:id20:\347\061\b\313\326(\376\345\317 &\235)\315Kr\017\062,\213\065:nodes0:5:token2:\347\061e1:t2:\250\020\061:y1:re\274Q6\212\217\366\232\242N\274\332\372\032\351\347\061.\232\236\304n\021sض\346,IΜL`l\362.H\205m\320\340\347\060s\365S\275\270\217܁\342\321\021\070\264\340\341\bt\373D\270\230\310\032\343\347\060\216\345\275Ɏ\364pk\201\303ޕ\351\366\340\343\071\037V:R`rH\347\060\062\"a\303\"\227 \031\274\022\256\251=\263wE\332'ԕ\362~\032\341\347\060\061\bA\351gA\245՟\344\030\237\025"..., size=67) at ../../src/udp_socket.cpp:369 #22 0x0000fffff74d1ecc in libtorrent::udp_socket::on_read_impl (this=0xa2b060, ep=..., e=..., bytes_transferred=) at ../../src/udp_socket.cpp:525 #23 0x0000fffff74d2e44 in libtorrent::udp_socket::on_read (this=0xa2b060, ec=..., s=0xa2b098) at ../../src/udp_socket.cpp:345 #24 0x0000fffff74d4ce0 in boost::_mfi::mf2*>::operator() (this=, this=, a2=, a1=..., p=) at /usr/include/boost/bind/mem_fn_template.hpp:278 #25 boost::_bi::list3, boost::arg<1>, boost::_bi::value*> >::operator()*>, boost::_bi::rrlist2 > (a=..., f=..., this=0xfffff6b9e748) at /usr/include/boost/bind/bind.hpp:403 #26 boost::_bi::bind_t*>, boost::_bi::list3, boost::arg<1>, boost::_bi::value*> > >::operator() (a2=@0xfffff6b9e770: 0, a1=..., this=0xfffff6b9e738) at /usr/include/boost/bind/bind.hpp:1324 #27 libtorrent::aux::allocating_handler*>, boost::_bi::list3, boost::arg<1>, boost::_bi::value*> > >, 336ul>::operator() (this=0xfffff6b9e738) at ../../include/libtorrent/aux_/allocating_handler.hpp:97 #28 boost::asio::detail::binder2*>, boost::_bi::list3, boost::arg<1>, boost::_bi::value*> > >, 336ul>, boost::system::error_code, unsigned long>::operator() (this=0xfffff6b9e738) at /usr/include/boost/asio/detail/bind_handler.hpp:164 #29 boost::asio::asio_handler_invoke*>, boost::_bi::list3, boost::arg<1>, boost::_bi::value*> > >, 336ul>, boost::system::error_code, unsigned long> > (function=...) at /usr/include/boost/asio/handler_invoke_hook.hpp:69 #30 boost_asio_handler_invoke_helpers::invoke for more, q to quit, c to continue without paging-- p>*>, boost::_bi::list3, boost::arg<1>, boost::_bi::value*> > >, 336ul>, boost::system::error_code, unsigned long>, libtorrent::aux::allocating_handler*>, boost::_bi::list3, boost::arg<1>, boost::_bi::value*> > >, 336ul> > (context=..., function=...) at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37 #31 boost::asio::detail::handler_work*>, boost::_bi::list3, boost::arg<1>, boost::_bi::value*> > >, 336ul>, boost::asio::system_executor>::complete*>, boost::_bi::list3, boost::arg<1>, boost::_bi::value*> > >, 336ul>, boost::system::error_code, unsigned long> > (this=, handler=..., function=...) at /usr/include/boost/asio/detail/handler_work.hpp:82 #32 boost::asio::detail::reactive_null_buffers_op*>, boost::_bi::list3, boost::arg<1>, boost::_bi::value*> > >, 336ul> >::do_complete (owner=, base=) at /usr/include/boost/asio/detail/reactive_null_buffers_op.hpp:77 #33 0x0000fffff7299df4 in boost::asio::detail::scheduler_operation::complete (bytes_transferred=0, ec=..., owner=0xa28eb0, this=0xa2b0c0) at /usr/include/boost/asio/detail/scheduler_operation.hpp:40 #34 boost::asio::detail::epoll_reactor::descriptor_state::do_complete (bytes_transferred=, ec=..., base=0xfffff000c060, owner=0xa28eb0) at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:776 #35 boost::asio::detail::epoll_reactor::descriptor_state::do_complete (owner=0xa28eb0, base=0xfffff000c060, ec=..., bytes_transferred=) at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:766 #36 0x0000fffff72b7a80 in boost::asio::detail::scheduler_operation::complete (bytes_transferred=, ec=..., owner=0xa28eb0, this=) at /usr/include/boost/asio/detail/scheduler_operation.hpp:40 #37 boost::asio::detail::scheduler::do_run_one (ec=..., this_thread=..., lock=..., this=0xa28eb0) at /usr/include/boost/asio/detail/impl/scheduler.ipp:401 #38 boost::asio::detail::scheduler::run (this=0xa28eb0, ec=...) at /usr/include/boost/asio/detail/impl/scheduler.ipp:154 #39 0x0000fffff73afea0 in boost::asio::io_context::run (this=0xa28e40) at /usr/include/boost/asio/impl/io_context.ipp:62 #40 0x0000fffff72c7d84 in boost::asio::detail::boost_asio_detail_posix_thread_function (arg=0xa4fee0) at /usr/include/boost/asio/detail/impl/posix_thread.ipp:74 #41 0x0000fffff7e3396c in start_thread (arg=0xffffffffe5bf) at pthread_create.c:479 #42 0x0000fffff7f2eecc in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78 (gdb)