After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567746 - fix for 547227 created a ref loop
fix for 547227 created a ref loop
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal normal
: 0.10.14
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 560410 567767 568941 573633 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-01-14 13:49 UTC by Lennart Poettering
Modified: 2009-03-01 18:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lennart Poettering 2009-01-14 13:49:07 UTC
Please describe the problem:
The probe object and the sink object have a ref on each other. This creates both a memory and -- much worse -- a thread leak.

Fix is here:

http://0pointer.de/public/pulseprobe-unfuck.patch

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Sebastian Dröge (slomo) 2009-01-14 15:36:52 UTC
2009-01-14  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

        Patch by: Lennart Poettering <lennart at poettering dot net>

        * ext/pulse/pulseprobe.c: (gst_pulseprobe_new),
        (gst_pulseprobe_free):
        Fix refcount loop, resulting in a thread leak. Fixes bug #567746.
Comment 2 Jonathan Matthew 2009-01-14 23:22:43 UTC
*** Bug 567767 has been marked as a duplicate of this bug. ***
Comment 3 Frederic Crozat 2009-01-19 13:18:33 UTC
*** Bug 560410 has been marked as a duplicate of this bug. ***
Comment 4 Ignacy Gawędzki 2009-01-24 03:07:57 UTC
*** Bug 568941 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Fergeau 2009-03-01 18:41:49 UTC
*** Bug 573633 has been marked as a duplicate of this bug. ***