Bug 2169837 - SIGABRT since upgrading to 4.0.0-1
Summary: SIGABRT since upgrading to 4.0.0-1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: transmission
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2170037 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-14 18:09 UTC by Michele Baldessari
Modified: 2023-02-25 15:32 UTC (History)
9 users (show)

Fixed In Version: transmission-4.0.0-2.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-16 02:03:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michele Baldessari 2023-02-14 18:09:48 UTC
Description of problem:
Since upgrading to transmission-daemon-4.0.0-1.fc37.x86_64 it crashes (often? always?) with SIGABRT.

               Stack trace of thread 792:
                #0  0x00007f3cd5cafe5c __pthread_kill_implementation (libc.so.6 + 0x8ce5c)
                #1  0x00007f3cd5c5fa76 raise (libc.so.6 + 0x3ca76)
                #2  0x00007f3cd5c497fc abort (libc.so.6 + 0x267fc)
                #3  0x00007f3cd5ed7e80 _ZSt21__glibcxx_assert_failPKciS0_S0_ (libstdc++.so.6 + 0xd7e80)
                #4  0x000055f269c7dcdb _ZN12_GLOBAL__N_17canReadEP9tr_peerIoPvPm.lto_priv.0 (transmission-daemon + 0xc3cdb)
                #5  0x000055f269c61e91 _ZN9tr_peerIo16can_read_wrapperEv (transmission-daemon + 0xa7e91)
                #6  0x000055f269c670e3 _ZZN9tr_peerIo8utp_initEP18struct_utp_contextENUlP22utp_callback_argumentsE_4_FUNES3_.lto_priv.0 (transmission-daemon + 0xad0e3)
                #7  0x000055f269cd065a _Z20utp_process_incomingP9UTPSocketPKhmb (transmission-daemon + 0x11665a)
                #8  0x000055f269c34ebb _ZN12_GLOBAL__N_114event_callbackEisPv.lto_priv.0 (transmission-daemon + 0x7aebb)
                #9  0x00007f3cd67d6945 event_process_active_single_queue (libevent-2.1.so.7 + 0x24945)
                #10 0x00007f3cd67d81ef event_base_loop (libevent-2.1.so.7 + 0x261ef)
                #11 0x000055f269c99a5e _ZN22tr_session_thread_impl17sessionThreadFuncEP10event_base (transmission-daemon + 0xdfa5e)
                #12 0x00007f3cd5edbc03 execute_native_thread_routine (libstdc++.so.6 + 0xdbc03)
                #13 0x00007f3cd5cae12d start_thread (libc.so.6 + 0x8b12d)
                #14 0x00007f3cd5d2fbc0 __clone3 (libc.so.6 + 0x10cbc0)

                Stack trace of thread 793:
                #0  0x00007f3cd5cf5005 clock_nanosleep.5 (libc.so.6 + 0xd2005)
                #1  0x00007f3cd5cf97b7 __nanosleep (libc.so.6 + 0xd67b7)
                #2  0x000055f269c44205 _ZN6tr_web4Impl14curlThreadFuncEv (transmission-daemon + 0x8a205)
                #3  0x00007f3cd5edbc03 execute_native_thread_routine (libstdc++.so.6 + 0xdbc03)
                #4  0x00007f3cd5cae12d start_thread (libc.so.6 + 0x8b12d)
                #5  0x00007f3cd5d2fbc0 __clone3 (libc.so.6 + 0x10cbc0)

                Stack trace of thread 778:
                #0  0x00007f3cd5d2f196 epoll_wait (libc.so.6 + 0x10c196)
                #1  0x00007f3cd67e0aa4 epoll_dispatch.lto_priv.0 (libevent-2.1.so.7 + 0x2eaa4)
                #2  0x00007f3cd67d7fed event_base_loop (libevent-2.1.so.7 + 0x25fed)
                #3  0x000055f269bf3a70 _ZN9tr_daemon5startEb (transmission-daemon + 0x39a70)
                #4  0x000055f269beb3d7 main (transmission-daemon + 0x313d7)
                #5  0x00007f3cd5c4a510 __libc_start_call_main (libc.so.6 + 0x27510)
                #6  0x00007f3cd5c4a5c9 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x275c9)
                #7  0x000055f269bec415 _start (transmission-daemon + 0x32415)
                ELF object binary architecture: AMD x86-64


Version-Release number of selected component (if applicable):
transmission-daemon-4.0.0-1.fc37.x86_64

I'll try and dig a bit more in the next days. Opening now just do see if others hit this too

Comment 1 Michele Baldessari 2023-02-14 20:30:50 UTC
Adding the upstream commits from f551b4adbff0d59557d61867d0b6518c50f5a73f to 4461aa68d909968d6fc20b7743aa435edec14995 fixes it for me.
So with 4.0.1 this will go away.

References: https://github.com/transmission/transmission/pull/4890

Comment 2 Gwyn Ciesla 2023-02-14 20:33:17 UTC
Thanks, I'll get an update out with that patch.

Comment 3 Fedora Update System 2023-02-14 22:19:01 UTC
FEDORA-2023-e83dc0e6cb has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e83dc0e6cb

Comment 4 Fedora Update System 2023-02-15 01:35:03 UTC
FEDORA-2023-e83dc0e6cb has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e83dc0e6cb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e83dc0e6cb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Gwyn Ciesla 2023-02-15 14:45:09 UTC
*** Bug 2170037 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2023-02-16 02:03:27 UTC
FEDORA-2023-e83dc0e6cb has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 bengt 2023-02-20 11:52:26 UTC
transmission-4.0.0-2.fc37 - it failes with core-dump after running for a while. transmission-4.0.0-3.fc37 failed after only a few minutes. It can be random when the coredump happens. A few lines from log transmission-4.0.0-2.fc37:

Feb 16 11:34:34 hostname transmission-daemon[770]: [2023-02-16 11:34:34.139] ERR utils.cc:72 Couldn't read '/var/lib/transmission/.config/transmission-daemon/resume/81e0b8c596dfe5d1ce7fdd32f0e5847328c44de1.resume': No such file or directory (2) (/builddir/build/BUILD/transmission-4.0.0/libtransmission/utils.cc:72)
Feb 16 11:34:36 hostname transmission-daemon[770]: [2023-02-16 11:34:36.139] ERR utils.cc:72 Couldn't read '/var/lib/transmission/.config/transmission-daemon/resume/f5380a5fdd4cfef41ceb70f655b5d05f47bd8c87.resume': No such file or directory (2) (/builddir/build/BUILD/transmission-4.0.0/libtransmission/utils.cc:72)
Feb 16 12:06:02 hostname transmission-daemon[770]: /usr/include/c++/12/bits/stl_algo.h:3623: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = long unsigned int]: Assertion '!(__hi < __lo)' failed.
Feb 16 12:06:03 hostname systemd[1]: transmission-daemon.service: Main process exited, code=dumped, status=6/ABRT
Feb 16 12:06:03 hostname systemd[1]: transmission-daemon.service: Failed with result 'core-dump'.

and transmission-4.0.0-3.fc37 - stop immediatly:

Feb 16 13:59:26 hostname systemd[1]: Starting transmission-daemon.service - Transmission BitTorrent Daemon...
Feb 16 13:59:26 hostname systemd[1]: Started transmission-daemon.service - Transmission BitTorrent Daemon.
Feb 16 13:59:27 hostname transmission-daemon[751]: [2023-02-16 13:59:27.805] ERR watchdir-inotify.cc:90 Couldn't watch '/data/download/blackhole': No such file or directory (2) (/builddir/build/BUILD/transmission-4.0.0/libtransmission/watchdir-inotify.cc:90)
Feb 16 14:05:37 hostname transmission-daemon[751]: /usr/include/c++/12/bits/stl_algo.h:3623: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = long unsigned int]: Assertion '!(__hi < __lo)' failed.
Feb 16 14:05:38 hostnamesystemd[1]: transmission-daemon.service: Main process exited, code=dumped, status=6/ABRT
Feb 16 14:05:38 hostname systemd[1]: transmission-daemon.service: Failed with result 'core-dump'.
Feb 16 14:05:38 hostname systemd[1]: transmission-daemon.service: Consumed 15.947s CPU time.

Comment 8 Gwyn Ciesla 2023-02-23 16:12:41 UTC
*** Bug 2170736 has been marked as a duplicate of this bug. ***

Comment 9 bengt 2023-02-25 15:32:02 UTC
transmission-common-4.0.1-1.fc37.x86_64
transmission-cli-4.0.1-1.fc37.x86_64
transmission-daemon-4.0.1-1.fc37.x86_64

Get core dump after 15 minutes:

Feb 25 16:22:23 hostname transmission-daemon[2859]: /usr/include/c++/12/bits/stl_algo.h:3623: constexpr const _Tp& std::clamp(const _Tp&, cons>
Feb 25 16:22:24 hostname systemd[1]: transmission-daemon.service: Main process exited, code=dumped, status=6/ABRT
Feb 25 16:22:24 hostname systemd[1]: transmission-daemon.service: Failed with result 'core-dump'.


Note You need to log in before you can comment on or make changes to this bug.