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 170066 - Leak in oggdemux
Leak in oggdemux
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.9
Other Linux
: Normal normal
: 0.8.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-03-12 14:18 UTC by Richard Hult
Modified: 2005-03-12 22:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch that might fix the problem (584 bytes, patch)
2005-03-12 14:20 UTC, Richard Hult
none Details | Review

Description Richard Hult 2005-03-12 14:18:56 UTC
There seems to be a leak in oggdemux:

==17932== 738072 bytes in 6834 blocks are definitely lost in loss record 46 of 50
==17932==    at 0x1C1C498E: gst_mem_chunk_alloc (gstmemchunk.c:207)
==17932==    by 0x1C1AF707: gst_buffer_alloc_chunk (gstbuffer.c:180)
==17932==    by 0x1C1AF7D7: gst_buffer_new (gstbuffer.c:209)
==17932==    by 0x1C1AF8F1: gst_buffer_new_and_alloc (gstbuffer.c:245)
==17932==    by 0x1C1CDB2A: gst_pad_alloc_buffer (gstpad.c:2996)
==17932==    by 0x1C98A7F8: gst_ogg_pad_push (gstoggdemux.c:1604)
==17932==    by 0x1C9892F6: gst_ogg_demux_push (gstoggdemux.c:1447)
==17932==    by 0x1C988625: gst_ogg_demux_iterate (gstoggdemux.c:1272)
==17932==    by 0x1C9AF1C8: gst_file_pad_chain (filepad.c:173)
==17932==    by 0x1C1D1DF0: gst_pad_call_chain_function (gstpad.c:4503)
==17932==    by 0x1C1CEDA4: gst_pad_push (gstpad.c:3299)
==17932==    by 0x1C66E1B1: gst_type_find_element_chain (gsttypefindelement.c:619)
Comment 1 Richard Hult 2005-03-12 14:20:14 UTC
Created attachment 38596 [details] [review]
Patch that might fix the problem

Attaching a patch that plugs the leak. I'm not very familiar with the code so
it might be wrong.
Comment 2 Ronald Bultje 2005-03-12 22:46:47 UTC
seems good. applied. thanks.