** Description changed:
After some upgrade (I'm using 24.04, so `-D_FORITFY_SOURCE=3` applies),
it seems that some increased level of libc hardening has been applied,
leading to a crash inside the `Lockfile::try_lock()` function on
startup.
There is an upstream commit addressing this issue
(https://github.com/rakshasa/rtorrent/commit/92bec88d0904bfb31c808085c2fd0f22d0ec8db7)
but no release has been formed to include it yet.
+
+
+ SRU addendum
+
+ [ Impact ]
+
+ Any user which specifies a session directory to save torrent progress
+ (I'd say this is the normal setup for anyone using rtorrent regularly)
+ will have persistent crashing on startup. This renders rtorrent unusable
+ for some (most?) users, warranting a SRU.
+
+
+ [ Test Plan ]
+
+ docker run -it ubuntu:24.04 sh -c 'apt update && apt install -y rtorrent
+ && rtorrent -s ~'
+
+ yields
+
+ *** buffer overflow detected ***: terminated
+
+ Expected behavior is for the software to not crash and show the normal
+ TUI.
+
+ [ Where problems could occur ]
+
+ Minor risk of regression for the codechange as such. It's been in upstream
for a long time already so it's well tested, the only reason we have to patch
it manually here is because rtorrent havent had an upstream release in a long
time.
+ Multiple users are reporting the issue as fixed once the patch has been
applied.
+
+ Naturally there's always a risk of something unexpected, (memory leaks
+ or introducing another crash somewhere else) but this patch has worked
+ reliably for me for weeks now.
+
+ [ Other Info ]
+ N/A
** Changed in: rtorrent (Ubuntu Noble)
Assignee: (unassigned) => Alexander Fougner (fougner)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063110
Title:
rtorrent crashes on startup
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtorrent/+bug/2063110/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs