I don't have a linux machine at my disposal at the moment. Is there anyway I can get a valgrind report from someone? Dan? Haxar? Is the problem reproducible?
-eric On Fri, Jun 14, 2013 at 3:05 AM, Vincent Cheng <vincentc1...@gmail.com>wrote: > Hi Mangler devs, > > The following bug [1] was reported by a Debian user, about a memory > leak with mangler + pulseaudio. Would it be possible for you to take a > look at it? > > Thanks, > Vincent > > [1] http://bugs.debian.org/712120 > > On Wed, Jun 12, 2013 at 11:47 PM, Jonathan David Amery > <jdam...@ysolde.ucam.org> wrote: > > Package: mangler > > Version: 1.2.4-1 > > Severity: important > > > > This bug also exists in 1.2.5-1 on the i386 architecture. I haven't > tested > > 1.2.5-1 on amd64 but I see no reason to assume it doesn't exist there. > > > > I'm using PulseAudio as my AudioSubsystem and haven't tested to see if > the > > bug exists with other AudioSubsystems. > > > > Last night I had a long session on mangler with about 10 other people; > by > > the end mangler was using 17.1g of address space: > > > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > 5344 jdamery 20 0 17.1g 70m 20m S 1.3 1.8 19:49.35 mangler > > > > ( from top(1) ) > > > > These pages don't appear to be being touched, and consist of a large > number > > of pairs: > > > > 7fb7ea415000-7fb7ea416000 ---p 00000000 00:00 0 > > 7fb7ea416000-7fb7eac16000 rw-p 00000000 00:00 0 > > > > ( from /proc/5344/maps -- I have attached the whole of this file ) > > > > A bit of investigation shows that the page pairs are leaked whenever > sound > > is produced. It appears that a new PulseAudio connection is made every > time > > a new sound is produced, and possibly the pages are being leaked in the > > process. > > > > On the 32 bit architecture this rapidly causes it to run out of address > > space at which point the client freezes and produces an error message on > > stderr (which sadly I don't have a copy of at the moment to include in > this > > bug report). > > > > -- System Information: > > Debian Release: 7.0 > > APT prefers stable-updates > > APT policy: (500, 'stable-updates'), (500, 'stable') > > Architecture: amd64 (x86_64) > > > > Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) > > Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) > > Shell: /bin/sh linked to /bin/dash > > > > Versions of packages mangler depends on: > > ii libasound2 1.0.25-4 > > ii libc6 2.13-38 > > ii libdbus-1-3 1.6.8-1 > > ii libdbus-glib-1-2 0.100.2-1 > > ii libespeak1 1.46.02-2 > > ii libg15daemon-client1 1.9.5.3-8.2 > > ii libg15render1 1.3.0~svn316-2.2 > > ii libgcc1 1:4.7.2-5 > > ii libglib2.0-0 2.33.12+really2.32.4-5 > > ii libglibmm-2.4-1c2a 2.32.1-1 > > ii libgtk2.0-0 2.24.10-2 > > ii libgtkmm-2.4-1c2a 1:2.24.2-1 > > ii libpangomm-1.4-1 2.28.4-1 > > ii libpulse0 2.0-6.1 > > ii libsigc++-2.0-0c2a 2.2.10-0.2 > > ii libstdc++6 4.7.2-5 > > ii libventrilo3-0 1.2.4-1 > > ii libx11-6 2:1.5.0-1 > > ii libxi6 2:1.6.1-1 > > ii libxosd2 2.2.14-2 > > > > mangler recommends no packages. > > > > mangler suggests no packages. > > > > -- no debconf information >