Bug 61336 - pulseaudio memory leak with kmix and alsa
Summary: pulseaudio memory leak with kmix and alsa
Status: RESOLVED INVALID
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: alsa (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high critical
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-23 09:30 UTC by TOM_Harrison
Modified: 2013-04-19 04:05 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description TOM_Harrison 2013-02-23 09:30:06 UTC
this is a report in kde.
https://bugs.kde.org/show_bug.cgi?id=309464

according to the testing, it seems has some memory leak inside the pulseaudio when it install with alsa and kmix

it will continue increase the kmix memory use when you play the music in clementine.

and on my computer
i have enable this
load-module module-alsa-sink device=dmix
load-module module-alsa-source device=dsnoop
Comment 1 Tanu Kaskinen 2013-02-23 09:35:38 UTC
Are any Valgrind traces available showing leaks inside libpulse?
Comment 2 Tanu Kaskinen 2013-02-23 09:47:41 UTC
Sorry, the attachments in the KDE bug seem to contain useful traces.
Comment 3 TOM_Harrison 2013-02-23 10:07:46 UTC
if there are a fix version of pulseaudio.
could it release a version that ubuntu 12.10 could installed.
the newest pulseaudio 3.0 it just could install in ubuntu 13.04
Comment 4 TOM_Harrison 2013-02-23 14:35:06 UTC
i have try to use the valgrind to detect the memory leak.
but i only can use the pulseaudio -k to stop the pulseaudio.

is there a test way to normally stop the pulseaudio ?
because when i use the pulseaudio -k
it did not show the result.
Comment 5 Tanu Kaskinen 2013-02-23 14:57:45 UTC
(In reply to comment #4)
> i have try to use the valgrind to detect the memory leak.
> but i only can use the pulseaudio -k to stop the pulseaudio.
> 
> is there a test way to normally stop the pulseaudio ?

pactl exit

> because when i use the pulseaudio -k
> it did not show the result.

Running pulseaudio in Valgrind won't help getting the kmix leaks fixed (unless the bugs affect both pulseaudio and libpulse). As I said, the KDE bug already has a useful Valgrind report, so there's no pressing need to generate more reports (it's not harmful either, though).
Comment 6 TOM_Harrison 2013-04-19 02:12:30 UTC
is there any progress about the memory leak?
Comment 7 Arun Raghavan 2013-04-19 04:05:40 UTC
Going through the valgrind logs in the KDE bug, I see no directly/indirectly lost memory that is allocated by libpulse. All the leaks seem related to the kmix application itself.. I did a quick valgrind check on pavucontrol and paplay to make sure we're not leaking memory.

If anyone cares to, it would be nice to do a proper teardown of all allocated objects when shutting down pavucontrol. That should remove all "still reachable" pa_xmalloc() traces.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.