[gstreamer-bugs] [Bug 166362] New: data discarded by probes is leaked
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Sat Feb 5 04:29:52 PST 2005
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
http://bugzilla.gnome.org/show_bug.cgi?id=166362
GStreamer | gstreamer (core) | Ver: HEAD CVS
Summary: data discarded by probes is leaked
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: Urgent
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: t.i.m at zen.co.uk
QAContact: gstreamer-bugs at lists.sourceforge.net
CC: all-bugs at bugzilla.gnome.org
When you have a probe hooked up to a pad, and the probe callback returns FALSE,
the data is not to be sent on and is to be discarded.
While the data is actually not processed any further when a probe callback
returns FALSE, the data is never actually freed.
This causes massive memory leaks in a pipeline of mine (about 500MB/sec).
Test program to demonstrate the bug attached.
Patch to fix the problem attached as well (however, note added FIXME in
gst_pad_pull() - I'm not 100% sure if it needs to be freed there as well).
Cheers
-Tim
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list