Package: clementine Version: 1.3.1+git565-gd20c2244a+dfsg-1 Severity: normal
I'm not sure if this is a Clementine bug or a Gstreamer bug, but I've noticed that when I leave Clementine running for a bit, its memory usage grows massive (many GiB). I'm playing almost exlusively FLAC files, which all have (fairly large) embedded artwork, multiple images per file. I used heaptrack to attempt to track down where the memory leak is. This is after only a day or two of use: MEMORY LEAKS 857.27MB leaked over 2418654 calls from g_malloc in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 826.58MB leaked over 1941 calls from: g_slice_alloc in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 0x7fe9ca6e49d0 in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 gst_buffer_new_allocate in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 gst_tag_image_data_to_image_sample in /usr/lib/x86_64-linux-gnu/libgsttag-1.0.so.0 gst_tag_list_add_id3_image in /usr/lib/x86_64-linux-gnu/libgsttag-1.0.so.0 0x7fe994f1ca1f in /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudioparsers.so 0x7fe9ca8116b1 in /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0 0x7fe9ca811d8e in /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0 0x7fe9ca815301 in /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0 0x7fe9ca75df40 in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 0x7fe9ca8ddad2 in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 0x7fe9ca8dd134 in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 start_thread in /lib/x86_64-linux-gnu/libpthread.so.0 __clone in /lib/x86_64-linux-gnu/libc.so.6 I have no idea why that backtrace doesn't show any Clementine code in it. I tried installing some more -dbg/-dbgsym packages, but maybe I had to do it before starting Clementine. Note this is the main clementine process, not the tagreader processes: $ ps u | sed -e '1p;/[c]lementine/!d' USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND anthony 15944 0.5 6.6 4407604 1650488 pts/4 Sl+ Sep24 16:30 clementine anthony 15956 0.0 0.1 276992 37368 pts/4 Sl+ Sep24 0:20 /usr/bin/clementine-tagreader /tmp/clementine_-631367825 anthony 15958 0.0 0.1 276992 39392 pts/4 Sl+ Sep24 0:20 /usr/bin/clementine-tagreader /tmp/clementine_-792921086 anthony 15959 0.0 0.1 276992 37676 pts/4 Sl+ Sep24 0:20 /usr/bin/clementine-tagreader /tmp/clementine_-1767394138 anthony 15963 0.0 0.1 276988 37340 pts/4 Sl+ Sep24 0:20 /usr/bin/clementine-tagreader /tmp/clementine_-1468073315 anthony 15967 0.0 0.1 276988 37492 pts/4 Sl+ Sep24 0:20 /usr/bin/clementine-tagreader /tmp/clementine_-1581559023 anthony 15968 0.0 0.1 276992 37624 pts/4 Sl+ Sep24 0:20 /usr/bin/clementine-tagreader /tmp/clementine_-1038521661 anthony 15969 0.0 0.1 276992 39180 pts/4 Sl+ Sep24 0:20 /usr/bin/clementine-tagreader /tmp/clementine_-1682697807 anthony 15970 0.0 0.1 276992 37908 pts/4 Sl+ Sep24 0:20 /usr/bin/clementine-tagreader /tmp/clementine_-391160903 -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing'), (200, 'unstable'), (150, 'stable'), (100, 'experimental'), (1, 'experimental-debug') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.18.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en_GB (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages clementine depends on: ii gstreamer1.0-plugins-base 1.14.3-2 ii gstreamer1.0-plugins-good 1.14.3-1 ii gstreamer1.0-plugins-ugly 1.14.3-1 ii libc6 2.27-6 ii libcdio18 1:2.0.0-dmo2 ii libchromaprint1 1.4.3-2+b1 ii libcrypto++6 5.6.4-8 ii libfftw3-double3 3.3.8-2 ii libgcc1 1:8.2.0-7 ii libgdk-pixbuf2.0-0 2.38.0+dfsg-6 ii libglib2.0-0 2.58.1-2 ii libgpod4 0.8.3-13 ii libgstreamer-plugins-base1.0-0 1.14.3-2 ii libgstreamer1.0-0 1.14.3-1 ii libimobiledevice6 1.2.1~git20180302.3a37a4e-1 ii liblastfm5-1 1.0.9-1 ii libmtp9 1.1.13-1 ii libmygpo-qt5-1 1.1.0-2 ii libplist3 2.0.0-5 ii libprojectm2v5 2.1.0+dfsg-4+b3 ii libprotobuf10 3.0.0-9.1 ii libpulse0 12.2-2 ii libqt5concurrent5 5.11.1+dfsg-8 ii libqt5core5a 5.11.1+dfsg-8 ii libqt5dbus5 5.11.1+dfsg-8 ii libqt5gui5 5.11.1+dfsg-8 ii libqt5network5 5.11.1+dfsg-8 ii libqt5opengl5 5.11.1+dfsg-8 ii libqt5sql5 5.11.1+dfsg-8 ii libqt5widgets5 5.11.1+dfsg-8 ii libqt5x11extras5 5.11.1-2 ii libqt5xml5 5.11.1+dfsg-8 ii libsqlite3-0 3.25.0-1 ii libstdc++6 8.2.0-7 ii libtag1v5 1.11.1+dfsg.1-0.2+b1 ii libx11-6 2:1.6.6-1 ii projectm-data 2.1.0+dfsg-4 ii zlib1g 1:1.2.11.dfsg-1 Versions of packages clementine recommends: ii gstreamer1.0-pulseaudio 1.14.3-1 Versions of packages clementine suggests: ii gstreamer1.0-plugins-bad 1.14.3-1 -- no debconf information