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 475395 - decodebin2 leaks request-pads
decodebin2 leaks request-pads
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.15
Assigned To: Stefan Sauer (gstreamer, gtkdoc dev)
GStreamer Maintainers
Depends on:
Reported: 2007-09-10 09:02 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2007-09-10 11:06 UTC
See Also:
GNOME target: ---
GNOME version: ---

track requestpads and release later (2.55 KB, patch)
2007-09-10 09:06 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
accepted-commit_now Details | Review

Description Stefan Sauer (gstreamer, gtkdoc dev) 2007-09-10 09:02:17 UTC
529 (188 direct, 341 indirect) bytes in 1 blocks are definitely lost in loss record 3,947 of 4,089
   at 0x4021620: malloc (vg_replace_malloc.c:149)
   by 0x41612C5: g_malloc (gmem.c:131)
   by 0x4170E97: g_slice_alloc (gslice.c:777)
   by 0x4171214: g_slice_alloc0 (gslice.c:784)
   by 0x4107336: g_type_create_instance (gtype.c:1549)
   by 0x40EE801: g_object_constructor (gobject.c:1041)
   by 0x40ECA7A: g_object_newv (gobject.c:937)
   by 0x40ED698: g_object_new_valist (gobject.c:1022)
   by 0x40ED79F: g_object_new (gobject.c:795)
   by 0x408AE76: gst_pad_new_from_template (gstpad.c:499)
   by 0x408AEE5: gst_pad_new_from_static_template (gstpad.c:523)
   by 0x456C7D7: gst_multi_queue_request_new_pad (gstmultiqueue.c:1343)
   by 0x406F040: gst_element_get_request_pad (gstelement.c:891)
   by 0x406F3EB: gst_element_get_pad (gstelement.c:1010)
   by 0x457A400: gst_decode_group_control_demuxer_pad (gstdecodebin2.c:1546)
   by 0x457DCE9: connect_pad (gstdecodebin2.c:888)
   by 0x457C7BC: analyze_new_pad (gstdecodebin2.c:794)
   by 0x457D1C9: pad_added_cb (gstdecodebin2.c:1209)
   by 0x40F3EE8: g_cclosure_marshal_VOID__OBJECT (gmarshal.c:636)
   by 0x40E762A: g_closure_invoke (gclosure.c:490)
   by 0x40F8102: signal_emit_unlocked_R (gsignal.c:2440)
   by 0x40F9626: g_signal_emit_valist (gsignal.c:2199)
   by 0x40F97E8: g_signal_emit (gsignal.c:2243)
   by 0x406FABD: gst_element_add_pad (gstelement.c:674)
   by 0x4CBED11: gst_avi_demux_parse_stream (gstavidemux.c:1539)
   by 0x4CC2B9B: gst_avi_demux_stream_header_pull (gstavidemux.c:2992)
   by 0x4CC79C6: gst_avi_demux_loop (gstavidemux.c:3857)
   by 0x40A0B95: gst_task_func (gsttask.c:192)
   by 0x41794D7: g_thread_pool_thread_proxy (gthreadpool.c:265)
   by 0x4177B7E: g_thread_create_proxy (gthread.c:591)
   by 0x41C5E59: start_thread (pthread_create.c:296)
   by 0x429791D: clone (in /usr/lib/debug/
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2007-09-10 09:06:50 UTC
Created attachment 95262 [details] [review]
track requestpads and release later

gstdecodebin2.c |   18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2007-09-10 11:06:33 UTC
2007-09-10  Stefan Kost  <>

	* gst/playback/gstdecodebin2.c:
	  Don't leak request pads. Fixes #475395.