-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello Anthony,
FYI, I've seen this report, thanks for your patch, I'll include it as soon as I have free time to update package. On Fri, 03 Jul 2015 00:54:31 -0400 Anthony DeRobertis <anth...@derobert.net> wrote: > Package: minidlna > Version: 1.1.4+dfsg-4 > Severity: important > Tags: upstream patch > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I set minidlna to scan my FLAC files... and was surprised a short > while later to find the system unusable, thrashing to death. It was > using over 10GiB of RAM. > > I tracked it down to if a FLAC file (and maybe other formats that > support this) has multiple attached pictures, it malloc's memory to > store all the pictures—but leaks all of that memory, except for the > last picture. > > That + high-res scans = goodbye system. > > The attached patch fixes the memory leak, at least. Note that I added > in a log message for it... but possibly that should be removed. Or at > least changed to debug. > > - -- System Information: > Debian Release: stretch/sid > APT prefers testing > APT policy: (500, 'testing'), (500, 'stable'), (130, 'unstable'), > (120, 'experimental') Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.0.1-btrfsfix+ (SMP w/8 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > Init: systemd (via /run/systemd/system) > > Versions of packages minidlna depends on: > ii adduser 3.113+nmu3 > ii initscripts 2.88dsf-59.2 > ii libavformat56 10:2.6.3-dmo1 > ii libavutil54 10:2.6.3-dmo1 > ii libc6 2.19-18 > ii libexif12 0.6.21-2 > ii libflac8 1.3.1-2 > ii libid3tag0 0.15.1b-11 > ii libjpeg62-turbo 1:1.4.0-7 > ii libogg0 1.3.2-1 > ii libsqlite3-0 3.8.10.2-1 > ii libvorbis0a 1.3.4-2 > ii lsb-base 4.1+Debian13+nmu1 > > minidlna recommends no packages. > > minidlna suggests no packages. > > - -- Configuration Files: > /etc/minidlna.conf changed [not included] > > - -- no debconf information > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iEYEARECAAYFAlWWFYQACgkQ+z+IwlXqWf7oMQCggSzfrJ+/K5t+D5B6P39BAkju > g+gAnii6es7K4/sWUdyLugLPu8WqyIj8 > =T7ri > -----END PGP SIGNATURE----- - -- Best regards, Alexander Gerasiov Contacts: e-mail: g...@cs.msu.su Homepage: http://gerasiov.net Skype: gerasiov PGP fingerprint: 04B5 9D90 DF7C C2AB CD49 BAEA CA87 E9E8 2AAC 33F1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVpjpWAAoJEMqH6egqrDPx714IAJw2QEfQ1SyS6aWjEe+t28ei vkEa3svcy+n4KrX0tQlKgYdm0sut63mbxu0bBRQEcbW6l2NFMZxd3yRR3anaJBT9 M3H/dWgqMoEw4bCFyLg5aXzCJPpdotoACx3WsLcbDmcp9t5kc8iMZxOSevUICoaJ vg/rENrt3T6X27Fqhv61KRF+37kChA6stwi6e5rEX9oNrlzvylExuEHlOk75zlRV l3U1nOirBTID/6TRSGlkNSd0qDaBaoIspn4TrVBVmDJ5qhV9CiZ0ES5FLT1QqpEI rQ4cb6xVsCw/av9lGQmNaMEh+IX4JBe2wNH9yPA0TzXMUG4iOBLbJaf6oGqcd9A= =AnqI -----END PGP SIGNATURE-----