[pulseaudio-tickets] [PulseAudio] #434: pa_context_subscribe causes memory leaks
PulseAudio
trac-noreply at tango.0pointer.de
Mon Dec 15 05:22:59 PST 2008
#434: pa_context_subscribe causes memory leaks
--------------------------------------+-------------------------------------
Reporter: ensonic at hora-obscura.de | Owner: lennart
Type: defect | Status: new
Priority: normal | Milestone:
Component: libpulse | Severity: normal
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Old description:
> ==4454== 36 bytes in 1 blocks are definitely lost in loss record 6,638 of
> 7,308
> ==4454== at 0x4025D2E: malloc (vg_replace_malloc.c:207)
> ==4454== by 0x581A887: pa_xmalloc (in /usr/lib/libpulse.so.0.4.1)
> ==4454== by 0x580E563: (within /usr/lib/libpulse.so.0.4.1)
> ==4454== by 0x5817530: pa_context_subscribe (in
> /usr/lib/libpulse.so.0.4.1)
> ==4454== by 0x4FB06E0: gst_pulsemixer_ctrl_new (pulsemixerctrl.c:250)
> ==4454== by 0x4FB42E1: gst_pulsesink_change_state (pulsesink.c:911)
>
> pa_context_disconnect() and pa_context_unref() is called.
> Its pa 0.9.10 in ubuntu 8.10
New description:
{{{
==4454== 36 bytes in 1 blocks are definitely lost in loss record 6,638 of
7,308
==4454== at 0x4025D2E: malloc (vg_replace_malloc.c:207)
==4454== by 0x581A887: pa_xmalloc (in /usr/lib/libpulse.so.0.4.1)
==4454== by 0x580E563: (within /usr/lib/libpulse.so.0.4.1)
==4454== by 0x5817530: pa_context_subscribe (in
/usr/lib/libpulse.so.0.4.1)
==4454== by 0x4FB06E0: gst_pulsemixer_ctrl_new (pulsemixerctrl.c:250)
==4454== by 0x4FB42E1: gst_pulsesink_change_state (pulsesink.c:911)
}}}
pa_context_disconnect() and pa_context_unref() is called.
Its pa 0.9.10 in ubuntu 8.10
Comment (by coling):
While I can't say with authority, I'd guess that this has been fixed in
git master... 0.9.10 is pretty old these days and there have been quite a
few fixes to this kind of stuff.
If you can provide the steps you used do this, I can take a look on latest
version, or even better if you can try with git master that would be good
(although disable suspend on idle as there is a bug with that - although
that should be fixed soon).
--
Ticket URL: <http://www.pulseaudio.org/ticket/434#comment:1>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list