[gstreamer-bugs] [Bug 618919] Registry/Plugin Loading Memory Leak

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 18 07:03:24 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=618919
  GStreamer | gstreamer (core) | 0.10.29

--- Comment #3 from David Hoyt <dhoyt at llnl.gov> 2010-05-18 14:03:21 UTC ---
Disabling the suppressions is what allowed me to see that there was a leak.

Search for "definitely lost" and you'll see the trace for those items that need
addressing. The records of interest, in particular, are:

==16686== 16 bytes in 1 blocks are definitely lost in loss record 2,488 of
5,357
==16686==    at 0x4022BF3: malloc (vg_replace_malloc.c:195)
==16686==    by 0x42D6910: g_malloc (in
/home/sysadmin/ossbuild/Shared/Build/Linux/x86/bin/libglib-2.0.so.0)
==16686==    by 0x42F1CD4: g_memdup (in
/home/sysadmin/ossbuild/Shared/Build/Linux/x86/bin/libglib-2.0.so.0)
==16686==    by 0x40AA1EE: _priv_gst_registry_chunks_load_plugin
(gstregistrychunks.c:775)
==16686==    by 0x409A9D0: handle_rx_packet (gstpluginloader.c:773)
==16686==    by 0x409B219: read_one (gstpluginloader.c:904)
==16686==    by 0x409B3C8: exchange_packets (gstpluginloader.c:933)
==16686==    by 0x4099188: plugin_loader_load (gstpluginloader.c:240)
==16686==    by 0x40A5798: gst_registry_scan_plugin_file (gstregistry.c:1022)
==16686==    by 0x40A6089: gst_registry_scan_path_level (gstregistry.c:1174)
==16686==    by 0x40A615D: gst_registry_scan_path_internal (gstregistry.c:1193)
==16686==    by 0x40A6CA9: scan_and_update_registry (gstregistry.c:1434)

==16686== 865 bytes in 27 blocks are definitely lost in loss record 5,276 of
5,357
==16686==    at 0x4022BF3: malloc (vg_replace_malloc.c:195)
==16686==    by 0x42D6910: g_malloc (in
/home/sysadmin/ossbuild/Shared/Build/Linux/x86/bin/libglib-2.0.so.0)
==16686==    by 0x42F1CD4: g_memdup (in
/home/sysadmin/ossbuild/Shared/Build/Linux/x86/bin/libglib-2.0.so.0)
==16686==    by 0x40AA1EE: _priv_gst_registry_chunks_load_plugin
(gstregistrychunks.c:775)
==16686==    by 0x409A9D0: handle_rx_packet (gstpluginloader.c:773)
==16686==    by 0x409B219: read_one (gstpluginloader.c:904)
==16686==    by 0x409B3C8: exchange_packets (gstpluginloader.c:933)
==16686==    by 0x4099188: plugin_loader_load (gstpluginloader.c:240)
==16686==    by 0x40A5798: gst_registry_scan_plugin_file (gstregistry.c:1022)
==16686==    by 0x40A6089: gst_registry_scan_path_level (gstregistry.c:1174)
==16686==    by 0x40A615D: gst_registry_scan_path_internal (gstregistry.c:1193)
==16686==    by 0x40A6F4C: scan_and_update_registry (gstregistry.c:1487)

==16686== 4,454 bytes in 130 blocks are definitely lost in loss record 5,319 of
5,357
==16686==    at 0x4022BF3: malloc (vg_replace_malloc.c:195)
==16686==    by 0x42D6910: g_malloc (in
/home/sysadmin/ossbuild/Shared/Build/Linux/x86/bin/libglib-2.0.so.0)
==16686==    by 0x42F1CD4: g_memdup (in
/home/sysadmin/ossbuild/Shared/Build/Linux/x86/bin/libglib-2.0.so.0)
==16686==    by 0x40AA1EE: _priv_gst_registry_chunks_load_plugin
(gstregistrychunks.c:775)
==16686==    by 0x409A9D0: handle_rx_packet (gstpluginloader.c:773)
==16686==    by 0x409B219: read_one (gstpluginloader.c:904)
==16686==    by 0x409B3C8: exchange_packets (gstpluginloader.c:933)
==16686==    by 0x4098EC5: plugin_loader_free (gstpluginloader.c:170)
==16686==    by 0x40A55C2: clear_scan_context (gstregistry.c:990)
==16686==    by 0x40A6F78: scan_and_update_registry (gstregistry.c:1492)
==16686==    by 0x40A7358: ensure_current_registry (gstregistry.c:1560)
==16686==    by 0x40A746E: gst_update_registry (gstregistry.c:1642)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list