Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1015003: transmission-daemon: possible memory leaks in crypto-utils-openssl.c

62 views
Skip to first unread message

Pavel Kreuzt

unread,
Jun 13, 2023, 1:10:05 PM6/13/23
to
Package: transmission-daemon
Followup-For: Bug #1015003
X-Debbugs-Cc: pkr...@gmail.com

Recently upgraded from Bullseye to Bookworm and hit what I think is this issue. Transmission-daemon gets killed by OOM every few hours. To be fair, I have a really huge amount of torrents, but it was running fine on the older version. Now it consumes every bit of RAM (8GB available) it has access to. In a torrent seedbox like this, it is completely unusable. Will version 4.0 reach stable or should i look into backports?


-- System Information:
Debian Release: 12.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.1.0-9-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages transmission-daemon depends on:
ii adduser 3.134
ii libc6 2.36-9
ii libcurl4 7.88.1-10
ii libevent-2.1-7 2.1.12-stable-8
ii libminiupnpc17 2.2.4-1+b1
ii libnatpmp1 20150609-7.1+b2
ii libssl3 3.0.9-1
ii libsystemd0 252.6-1
ii lsb-base 11.6
ii sysvinit-utils [lsb-base] 3.06-4
ii transmission-common 3.00-2.1
ii zlib1g 1:1.2.13.dfsg-1

Versions of packages transmission-daemon recommends:
ii transmission-cli 3.00-2.1+b1

transmission-daemon suggests no packages.

-- Configuration Files:
/etc/transmission-daemon/settings.json [Errno 13] Permiso denegado: '/etc/transmission-daemon/settings.json'

-- no debconf information

Blaž Zakrajšek

unread,
Jun 19, 2023, 7:00:05 AM6/19/23
to
I am also reporting that I have an issue with memory leaks after
upgrade from Bullseye to Bookworm, where transmission-daemon changed
versions from "3.00-1" to "3.00-2.1".

The process gets killed because of OOM:
transmission.service: Main process exited, code=killed, status=9/KILL

It would be really nice if this gets fixed in Bookworm/stable.
Until then, I have added the following to the /etc/crontab, so that
transmission-daemon gets restarted every 6 hours at
particular/conventient time.
15 3,9,15,21 * * * root systemctl restart transmission

Sandro Tosi

unread,
Jun 19, 2023, 1:30:05 PM6/19/23
to
Sebastian,
it appears the NMU you performed at
https://tracker.debian.org/news/1326874/accepted-transmission-300-21-source-into-unstable/
is causing issues with transmission in stable -- are you going to
address these issues? ideally a fix should be committed to the repo
(or open an MR), a fix uploaded to proposed-updates, and the BTS bugs
should be consolidated into one and closed in the upload.

I'm sure users would also like to know a timeline for the fix, so it'd
be great if you can share that as well

On Fri, Jun 16, 2023 at 2:51 PM Алексей Шилин <a.i.s...@yandex.ru> wrote:
>
> Hi,
>
> This is still an issue in stable. Gentoo has a simpler patch [1, also
> attached for convenience] which also works and seems to not have this
> issue. Maybe it's worth dropping current patch in favor of the Gentoo
> one (which is also used by other distributions [2]) and do a stable PU
> upload.
>
> [1]
> https://gitweb.gentoo.org/repo/gentoo.git/plain/net-p2p/transmission/files/transmission-3.00-openssl-3.patch
>
> [2] https://github.com/NixOS/nixpkgs/pull/216953



--
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi

ilf

unread,
Jun 20, 2023, 3:10:05 AM6/20/23
to
This is fixed in 4.0.1-1 (testing), but open in 3.00-2 (stable).

--
ilf

If you upload your address book to "the cloud", I don't want to be in it.

ilf

unread,
Jul 1, 2023, 7:30:04 AM7/1/23
to
Setting the severity to important, because eating all memory and getting
killed by oom-killer "has a major effect on the usability of the
package".

There is a patch available. And it seems to effect everyone on bookworm.
So it would be super-awesome to get a package with a fix.

Thanks, and keep up the good work!

Алексей Шилин

unread,
Jul 15, 2023, 3:30:04 AM7/15/23
to
Hi,

There doesn't seem to be any activity on this issue despite the fix being available. Debian 12.1 point release is scheduled for July 22 which is one week away so it's probably not going to make it at this point, but for future point releases — is there anything we can do to move this forward? Do maintainers need any assistance with it?
0 new messages