Ticket #434 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

pa_context_subscribe causes memory leaks

Reported by: ensonic@… Owned by: lennart
Milestone: Component: libpulse
Keywords: Cc:

Description (last modified by coling) (diff)

==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

Change History

Changed 3 years ago by coling

  • description modified (diff)

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).

Changed 3 years ago by lennart

  • milestone set to 0.9.14

Changed 3 years ago by lennart

  • status changed from new to closed
  • resolution set to invalid
  • milestone 0.9.14 deleted

This is not a PA memleak. Instead you don't unref the pa_operation obbject returned by pa_context_subscribe.

Changed 3 years ago by ensonic@…

Confirmed & fixed in cvs. will be released as gst-plugins-good-0.10.12. thanks for help.

Note: See TracTickets for help on using tickets.