rtorrent crashes on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rtorrent (Ubuntu) |
Fix Released
|
Undecided
|
Alexander Fougner | ||
Noble |
In Progress
|
Undecided
|
Alexander Fougner |
Bug Description
After some upgrade (I'm using 24.04, so `-D_FORITFY_
There is an upstream commit addressing this issue (https:/
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
Related branches
- Dave Jones (community): Approve
- git-ubuntu import: Pending requested
-
Diff: 45 lines (+25/-0)3 files modifieddebian/changelog (+6/-0)
debian/patches/fix-buffer-overflow.patch (+18/-0)
debian/patches/series (+1/-0)
- Nick Rosbrook (community): Approve
- Sergio Durigan Junior (community): Needs Fixing
- Ubuntu Sponsors: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 84 lines (+55/-0) (has conflicts)2 files modifieddebian/changelog (+26/-0)
debian/patches/fix-buffer-overflow.patch (+29/-0)
description: | updated |
Changed in rtorrent (Ubuntu): | |
assignee: | nobody → Alexander Fougner (fougner) |
tags: | added: regression-release |
Changed in rtorrent (Ubuntu Noble): | |
status: | New → Confirmed |
description: | updated |
Changed in rtorrent (Ubuntu Noble): | |
assignee: | nobody → Alexander Fougner (fougner) |
Changed in rtorrent (Ubuntu Noble): | |
status: | Confirmed → In Progress |
Status changed to 'Confirmed' because the bug affects multiple users.