I should add some more info:
- I tested this on amd64, qbittorrent 4.3.8 was working OK a week or so
ago. I just tested deluge because it uses the same libraries.
- Reproduce: pkg_add qbittorrent on -current, run qbittorrent. The same
applies for deluge.
I tested both in a vanilla -current machine just to be sure that nothing
was on the way...

I added some interested parties, again I'm not sure where the problem is...
I'm just guessing.

On Mon, Sep 13, 2021 at 5:49 PM Elias M. Mariani <mari...@cvs.openbsd.org>
wrote:

> net/qbittorrent and net/deluge are broken (at least on amd64).
>
> Both are using net/libtorrent-rasterbar and devel/boost. I'm guessing
> that this is the fallout from some change on the system libraries or
> caused by the devel/boost update.
>
> I'm adding the backtrace frdsdsdom gdb for both to see if someone
> with the knowledge on how to debug this can step in, or maybe just
> point to where the cause might be.
>
> Cheers. Elias mariani@
>
> net/qbittorrent
> (gdb) bt
> #0  thrkill () at /tmp/-:3
> #1  0x000007bd21e24e1e in _libc_abort () at
> /usr/src/lib/libc/stdlib/abort.c:51
> #2  0x000007bd21df8326 in wrterror (d=Variable "d" is not available.
> ) at /usr/src/lib/libc/stdlib/malloc.c:307
> #3  0x000007bd21dfbb56 in findpool (p=0x0, argpool=0x0, foundpool=0x0,
> saved_function=0x7bd21e7663a) at /usr/src/lib/libc/stdlib/malloc.c:1332
> #4  0x000007bd21df8625 in ofree (argpool=0x7bd9f321ae0,
> p=0x316250650a66446b, clear=0, check=0, argsz=0) at
> /usr/src/lib/libc/stdlib/malloc.c:1346
> #5  0x000007bd21df856b in free (ptr=0x316250650a66446b) at
> /usr/src/lib/libc/stdlib/malloc.c:1470
> #6  0x000007bd329eea3f in
> _ZN5boost4asio6detail18completion_handlerIZNK10libtorrent14session_handle13sync_call_retINS3_13settings_packEMNS3_3aux12session_implEKFS6_vEJEEET_T0_DpOT1_EUlvE_NS0_10io_context19basic_executor_typeINSt3__19allocatorIvEELj0EEEE11do_completeEPvPNS1_19scheduler_operationERKNS_6system10error_codeEm
> () from /usr/local/lib/libtorrent-rasterbar.so.4.0
> #7  0x000007bd32868069 in boost::asio::detail::scheduler::do_run_one ()
> from /usr/local/lib/libtorrent-rasterbar.so.4.0
> #8  0x000007bd32867a91 in boost::asio::detail::scheduler::run () from
> /usr/local/lib/libtorrent-rasterbar.so.4.0
> #9  0x000007bd329cd736 in
> _ZNSt3__114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN10libtorrent7session5startENS7_5flags13bitfield_flagIhNS7_17session_flags_tagEvEEONS7_14session_paramsEPN5boost4asio10io_contextEE3$_0EEEEEPvSL_
> ()
>    from /usr/local/lib/libtorrent-rasterbar.so.4.0
> #10 0x000007bd847218e1 in _rthread_start (v=Unhandled dwarf expression
> opcode 0xa3
> ) at /usr/src/lib/librthread/rthread.c:96
> #11 0x000007bd21e840fa in __tfork_thread () at
> /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:84
> #12 0x000007bd21e840fa in __tfork_thread () at
> /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:84
> Current language:  auto; currently asm
>
> net/deluge
> (gdb) bt
> #0  thrkill () at /tmp/-:3
> #1  0x0000070ee2686e1e in _libc_abort () at
> /usr/src/lib/libc/stdlib/abort.c:51
> #2  0x0000070ee265a326 in wrterror (d=Variable "d" is not available.
> ) at /usr/src/lib/libc/stdlib/malloc.c:307
> #3  0x0000070ee265db56 in findpool (p=0x0, argpool=0x0, foundpool=0x0,
> saved_function=0x70ee26d863a) at /usr/src/lib/libc/stdlib/malloc.c:1332
> #4  0x0000070ee265a625 in ofree (argpool=0x70eb5edc2f0,
> p=0xe14013342e6f0e0e, clear=0, check=0, argsz=0) at
> /usr/src/lib/libc/stdlib/malloc.c:1346
> #5  0x0000070ee265a56b in free (ptr=0xe14013342e6f0e0e) at
> /usr/src/lib/libc/stdlib/malloc.c:1470
> #6  0x0000070e96228f9b in
> boost::asio::detail::thread_info_base::allocate<boost::asio::detail::thread_info_base::default_tag>
> ()
>    from /usr/local/lib/libtorrent-rasterbar.so.4.0
> #7  0x0000070e964f38d0 in
> _ZN5boost4asio6detail22deadline_timer_serviceINS1_18chrono_time_traitsINSt3__16chrono12steady_clockENS0_11wait_traitsIS6_EEEEE10async_waitINS4_6__bindIMN10libtorrent3dht11dht_trackerEFvRKNS_6system10error_codeEEJNS4_10shared_ptrISF_EERKNS4_12placeholders4__phILi1EEEEEENS0_15any_io_executorEEEvRNSA_19implementation_typeERT_RKT0_
> () from /usr/local/lib/libtorrent-rasterbar.so.4.0
> #8  0x0000070e964eca45 in libtorrent::dht::dht_tracker::refresh_key ()
> from /usr/local/lib/libtorrent-rasterbar.so.4.0
> #9  0x0000070e964ec3e7 in libtorrent::dht::dht_tracker::start () from
> /usr/local/lib/libtorrent-rasterbar.so.4.0
> #10 0x0000070e963b84ed in libtorrent::aux::session_impl::start_dht () from
> /usr/local/lib/libtorrent-rasterbar.so.4.0
> #11 0x0000070e963cfdbf in
> libtorrent::aux::session_impl::on_dht_router_name_lookup () from
> /usr/local/lib/libtorrent-rasterbar.so.4.0
> #12 0x0000070e96386759 in libtorrent::resolver::on_lookup () from
> /usr/local/lib/libtorrent-rasterbar.so.4.0
> #13 0x0000070e96388f48 in
> _ZNSt3__16__bindIMN10libtorrent8resolverEFvRKN5boost6system10error_codeENS3_4asio2ip23basic_resolver_iteratorINS9_3tcpEEERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEEJPS2_RKNS_12placeholders4__phILi1EEERKNSP_ILi2EEESK_EEclIJS7_RKNS9_22basic_resolver_resultsISB_EEEEENS_13__bind_returnISM_NS_5tupleIJSN_SQ_ST_SI_EEENS13_IJDpOT_EEEXsr22__is_valid_bind_returnISM_S14_S18_EE5valueEE4typeES17_
> ()
>    from /usr/local/lib/libtorrent-rasterbar.so.4.0
> #14 0x0000070e96388aaa in
> _ZN5boost4asio6detail16resolve_query_opINS0_2ip3tcpENSt3__16__bindIMN10libtorrent8resolverEFvRKNS_6system10error_codeENS3_23basic_resolver_iteratorIS4_EERKNS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEEJPS8_RKNS5_12placeholders4__phILi1EEERKNSR_ILi2EEESM_EEENS0_15any_io_executorEE11do_completeEPvPNS1_19scheduler_operationESC_m
> () from /usr/local/lib/libtorrent-rasterbar.so.4.0
> #15 0x0000070e96228069 in boost::asio::detail::scheduler::do_run_one ()
> from /usr/local/lib/libtorrent-rasterbar.so.4.0
> #16 0x0000070e96227a91 in boost::asio::detail::scheduler::run () from
> /usr/local/lib/libtorrent-rasterbar.so.4.0
> #17 0x0000070e9638d736 in
> _ZNSt3__114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN10libtorrent7session5startENS7_5flags13bitfield_flagIhNS7_17session_flags_tagEvEEONS7_14session_paramsEPN5boost4asio10io_contextEE3$_0EEEEEPvSL_
> ()
>    from /usr/local/lib/libtorrent-rasterbar.so.4.0
> #18 0x0000070e8f18f8e1 in _rthread_start (v=Unhandled dwarf expression
> opcode 0xa3
> ) at /usr/src/lib/librthread/rthread.c:96
> #19 0x0000070ee26e60fa in __tfork_thread () at
> /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:84
> #20 0x0000070ee26e60fa in __tfork_thread () at
> /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:84
>
>

Reply via email to