[gstreamer-bugs] [Bug 529268] New: [goom] States unit test exposes some memory leaks

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Apr 21 13:01:38 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=529268

  GStreamer | gst-plugins-good | Ver: HEAD CVS
           Summary: [goom] States unit test exposes some memory leaks
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Current CVS of goom exposes some memory leaks with the states unit test:


==10353== 6,144 bytes in 1 blocks are definitely lost in loss record 15,598 of
15,608
==10353==    at 0x4022AB8: malloc (vg_replace_malloc.c:207)
==10353==    by 0x4A9ED84: goom_lines_init (lines.c:174)
==10353==    by 0x4AA79F4: goom_init (goom_core.c:99)
==10353==    by 0x4A9CBC9: gst_goom_init (gstgoom.c:190)
==10353==    by 0x414BE65: g_type_create_instance (gtype.c:1575)
==10353==    by 0x41311E1: g_object_constructor (gobject.c:1046)
==10353==    by 0x41319A7: g_object_newv (gobject.c:937)
==10353==    by 0x41324F0: g_object_new_valist (gobject.c:986)
==10353==    by 0x413265F: g_object_new (gobject.c:795)
==10353==    by 0x406FA9F: gst_element_factory_create (gstelementfactory.c:405)
==10353==    by 0x407040B: gst_element_factory_make (gstelementfactory.c:474)
==10353==    by 0x80492BB: test_state_changes_down_seq (states.c:178)
==10353==    by 0x402FF5F: srunner_run_all (in
/home/slomo/projects/gstreamer/head/gstreamer/libs/gst/check/.libs/libgstcheck-0.10.so.0.16.0)
==10353==    by 0x402AFF9: gst_check_run_suite (gstcheck.c:620)
==10353==    by 0x80490E8: main (states.c:222)
==10353== 
==10353== 
==10353== 6,144 bytes in 1 blocks are definitely lost in loss record 15,599 of
15,608
==10353==    at 0x4022AB8: malloc (vg_replace_malloc.c:207)
==10353==    by 0x4A9ED84: goom_lines_init (lines.c:174)
==10353==    by 0x4AA799F: goom_init (goom_core.c:96)
==10353==    by 0x4A9CBC9: gst_goom_init (gstgoom.c:190)
==10353==    by 0x414BE65: g_type_create_instance (gtype.c:1575)
==10353==    by 0x41311E1: g_object_constructor (gobject.c:1046)
==10353==    by 0x41319A7: g_object_newv (gobject.c:937)
==10353==    by 0x41324F0: g_object_new_valist (gobject.c:986)
==10353==    by 0x413265F: g_object_new (gobject.c:795)
==10353==    by 0x406FA9F: gst_element_factory_create (gstelementfactory.c:405)
==10353==    by 0x407040B: gst_element_factory_make (gstelementfactory.c:474)
==10353==    by 0x80492BB: test_state_changes_down_seq (states.c:178)
==10353==    by 0x402FF5F: srunner_run_all (in
/home/slomo/projects/gstreamer/head/gstreamer/libs/gst/check/.libs/libgstcheck-0.10.so.0.16.0)
==10353==    by 0x402AFF9: gst_check_run_suite (gstcheck.c:620)
==10353==    by 0x80490E8: main (states.c:222)
==10353== 
==10353== 
==10353== 17,640 bytes in 2 blocks are possibly lost in loss record 15,604 of
15,608
==10353==    at 0x4022AB8: malloc (vg_replace_malloc.c:207)
==10353==    by 0x4AA13A9: grid3d_new (surf3d.c:16)
==10353==    by 0x4AA1CC8: tentacle_fx_init (tentacle3d.c:146)
==10353==    by 0x4AA7831: goom_init (goom_core.c:74)
==10353==    by 0x4A9CBC9: gst_goom_init (gstgoom.c:190)
==10353==    by 0x414BE65: g_type_create_instance (gtype.c:1575)
==10353==    by 0x41311E1: g_object_constructor (gobject.c:1046)
==10353==    by 0x41319A7: g_object_newv (gobject.c:937)
==10353==    by 0x41324F0: g_object_new_valist (gobject.c:986)
==10353==    by 0x413265F: g_object_new (gobject.c:795)
==10353==    by 0x406FA9F: gst_element_factory_create (gstelementfactory.c:405)
==10353==    by 0x407040B: gst_element_factory_make (gstelementfactory.c:474)
==10353==    by 0x80492BB: test_state_changes_down_seq (states.c:178)
==10353==    by 0x402FF5F: srunner_run_all (in
/home/slomo/projects/gstreamer/head/gstreamer/libs/gst/check/.libs/libgstcheck-0.10.so.0.16.0)
==10353==    by 0x402AFF9: gst_check_run_suite (gstcheck.c:620)
==10353==    by 0x80490E8: main (states.c:222)
==10353== 
==10353== 
==10353== 18,180 bytes in 2 blocks are possibly lost in loss record 15,605 of
15,608
==10353==    at 0x4022AB8: malloc (vg_replace_malloc.c:207)
==10353==    by 0x4AA13B6: grid3d_new (surf3d.c:17)
==10353==    by 0x4AA1CC8: tentacle_fx_init (tentacle3d.c:146)
==10353==    by 0x4AA7831: goom_init (goom_core.c:74)
==10353==    by 0x4A9CBC9: gst_goom_init (gstgoom.c:190)
==10353==    by 0x414BE65: g_type_create_instance (gtype.c:1575)
==10353==    by 0x41311E1: g_object_constructor (gobject.c:1046)
==10353==    by 0x41319A7: g_object_newv (gobject.c:937)
==10353==    by 0x41324F0: g_object_new_valist (gobject.c:986)
==10353==    by 0x413265F: g_object_new (gobject.c:795)
==10353==    by 0x406FA9F: gst_element_factory_create (gstelementfactory.c:405)
==10353==    by 0x407040B: gst_element_factory_make (gstelementfactory.c:474)
==10353==    by 0x80492BB: test_state_changes_down_seq (states.c:178)
==10353==    by 0x402FF5F: srunner_run_all (in
/home/slomo/projects/gstreamer/head/gstreamer/libs/gst/check/.libs/libgstcheck-0.10.so.0.16.0)
==10353==    by 0x402AFF9: gst_check_run_suite (gstcheck.c:620)
==10353==    by 0x80490E8: main (states.c:222)
==10353== 
==10353== 
==10353== 131,072 bytes in 1 blocks are possibly lost in loss record 15,608 of
15,608
==10353==    at 0x4022AB8: malloc (vg_replace_malloc.c:207)
==10353==    by 0x4AA341D: fs_init (flying_stars_fx.c:94)
==10353==    by 0x4AA7797: goom_init (goom_core.c:68)
==10353==    by 0x4A9CBC9: gst_goom_init (gstgoom.c:190)
==10353==    by 0x414BE65: g_type_create_instance (gtype.c:1575)
==10353==    by 0x41311E1: g_object_constructor (gobject.c:1046)
==10353==    by 0x41319A7: g_object_newv (gobject.c:937)
==10353==    by 0x41324F0: g_object_new_valist (gobject.c:986)
==10353==    by 0x413265F: g_object_new (gobject.c:795)
==10353==    by 0x406FA9F: gst_element_factory_create (gstelementfactory.c:405)
==10353==    by 0x407040B: gst_element_factory_make (gstelementfactory.c:474)
==10353==    by 0x80492BB: test_state_changes_down_seq (states.c:178)
==10353==    by 0x402FF5F: srunner_run_all (in
/home/slomo/projects/gstreamer/head/gstreamer/libs/gst/check/.libs/libgstcheck-0.10.so.0.16.0)
==10353==    by 0x402AFF9: gst_check_run_suite (gstcheck.c:620)
==10353==    by 0x80490E8: main (states.c:222)
100%: Checks: 3, Failures: 0, Errors: 0


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=529268.




More information about the Gstreamer-bugs mailing list