Bug#1051056: transmission-daemon: memory leaks lead to eventual memory exhaustion

2024-05-05 Thread Mo Jun
Package: transmission-daemon
Followup-For: Bug #1051056

Hi Alex,

My laptop is running Debian sid and I am using transmission-daemon consistently
from long time ago. I didn't observed any memory leak from 4.0.1-1(see [1] if
you are interested) to the current version(4.0.5-2).

By the way, as mentioned in [2], I think this bug is a duplicate of #1015003.
And I think it is also a duplicate of LP: #1973084 [3]. See the Bug Description
of LP: #1973084 for a good summary. If this bug is indeed a duplicate, it would
have been already fixed in unstable, testing and stable, and it does not exist
in oldstable and all older release. Also please note the submitter apparently
uses the stable realse.

Note: I deliberately do not merge/close this bug, as I think it is better
leave it for the Maintainer or the Submitter.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015003#25
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1051056#22
[3] https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/1973084

Regards,
Jun MO

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.12-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: runit (via /run/runit.stopit)
LSM: AppArmor: enabled

Versions of packages transmission-daemon depends on:
ii  adduser  3.137
ii  init-system-helpers  1.66-0local2
ii  libc62.38-7
ii  libcurl4t64  8.7.1-5
ii  libdeflate0  1.20-1
ii  libevent-2.1-7t642.1.12-stable-8.1+b3
ii  libgcc-s114-20240429-1
ii  libminiupnpc17   2.2.6-1
ii  libnatpmp1t6420230423-1.2
ii  libssl3t64   3.2.1-3
ii  libstdc++6   14-20240429-1
ii  libsystemd0  255.5-1
ii  transmission-common  4.0.5-2

Versions of packages transmission-daemon recommends:
ii  transmission-cli  4.0.5-2

Versions of packages transmission-daemon suggests:
pn  transmission-remote-gtk | transgui | tremotesf  

-- Configuration Files:
/etc/default/transmission-daemon changed:
ENABLE_DAEMON=0
CONFIG_DIR="/var/lib/transmission-daemon/info"
OPTIONS="--config-dir $CONFIG_DIR"

/etc/transmission-daemon/settings.json [Errno 13] Permission denied:
'/etc/transmission-daemon/settings.json'

-- no debconf information



Bug#1051056: transmission-daemon: memory leaks lead to eventual memory exhaustion

2024-05-02 Thread Alexandre Rossi
Hi,

Is this still an issue in 4 ?

Thanks,

Alex



Bug#1051056: transmission-daemon: memory leaks lead to eventual memory exhaustion

2024-04-09 Thread Mo Jun
Package: transmission-daemon
Followup-For: Bug #1051056

Hi Rob,

I think this bug is a duplicate of #1015003 which is reported by me. Your
valgrind log and analysis are very similar to mine.

#1015003 was introduced by debian/patches/openssl3-compat.patch, and for
stable(bookworm) it was fixed in 3.00-2.1+deb12u1 by dropping
openssl3-compat.patch and using a simpler patch from Gentoo[1].

I see your transmission-daemon is at 3.00-2.1+b1, upgrade to
3.00-2.1+deb12u1 should fix it.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015003#84


Bug#1051056: transmission-daemon: memory leaks lead to eventual memory exhaustion

2024-01-18 Thread Sandro Tosi
On Fri, Sep 1, 2023 at 4:33 PM Rob Leslie  wrote:
>
> Package: transmission-daemon
> Version: 3.00-2.1+b1
> Severity: important
> File: /usr/bin/transmission-daemon
>
> Dear Maintainer,
>
> Since upgrading to bookworm, transmission-daemon has appeared to be
> leaking memory, eventually invoking the kernel OOM killer.

unstable already has the 4.x release branch, so i think the best
course of action is for you to prepare a backport for that version, or
find someone to do that for you. the maintainer and upstream are
unable to help with 3.x

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



Bug#1051056: transmission-daemon: memory leaks lead to eventual memory exhaustion

2023-09-04 Thread Fufu Fang
This issue has been reported in Github. I think recent versions of
Transmission all have memory leak. 

For version 3.0, I think the first mention is here:
https://github.com/transmission/transmission/issues/3077

The latest bug fix in 4.0.0 branch is here: 
https://github.com/transmission/transmission/pull/5748