[Bug 725603] New: videotestsrc memleak

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 3 09:02:20 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=725603
  GStreamer | gst-plugins-base | 1.x

           Summary: videotestsrc memleak
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Keywords: memory
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lists at svrinformatica.it
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


gst-launch-1.0 videotestsrc num-buffers=100 ! fakesink

show several leaks:


==30824== 8 bytes in 1 blocks are definitely lost in loss record 68 of 1,853
==30824==    at 0x4C28730: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30824==    by 0x60309B9: strdup (in /usr/lib/libc-2.19.so)
==30824==    by 0x8C89A74: orc_program_add_destination_full (orcprogram.c:399)
==30824==    by 0x8C848B6: orc_bytecode_parse_function (orcbytecode.c:431)
==30824==    by 0x8C896CB: orc_program_new_from_static_bytecode
(orcprogram.c:145)
==30824==    by 0x85D100B: video_test_src_orc_splat_u32 (tmp-orc.c:194)
==30824==    by 0x85CF0B6: gst_video_test_src_smpte (videotestsrc.c:350)
==30824==    by 0x85CCF23: gst_video_test_src_fill (gstvideotestsrc.c:922)
==30824==    by 0x8A45832: gst_base_src_default_create (gstbasesrc.c:1473)
==30824==    by 0x8A483E4: gst_base_src_get_range (gstbasesrc.c:2447)
==30824==    by 0x8A49E0A: gst_base_src_loop (gstbasesrc.c:2721)
==30824==    by 0x4EC3258: gst_task_func (gsttask.c:319)
==30824==    by 0x58FB975: ??? (in /usr/lib/libglib-2.0.so.0.3800.2)
==30824==    by 0x58FAFB4: ??? (in /usr/lib/libglib-2.0.so.0.3800.2)
==30824==    by 0x5D9A0A1: start_thread (in /usr/lib/libpthread-2.19.so)
==30824== 
==30824== 8 bytes in 1 blocks are definitely lost in loss record 69 of 1,853
==30824==    at 0x4C28730: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30824==    by 0x60309B9: strdup (in /usr/lib/libc-2.19.so)
==30824==    by 0x8C899D7: orc_program_add_source_full (orcprogram.c:354)
==30824==    by 0x8C8487E: orc_bytecode_parse_function (orcbytecode.c:437)
==30824==    by 0x8C896CB: orc_program_new_from_static_bytecode
(orcprogram.c:145)
==30824==    by 0x880497B: video_orc_pack_I420 (tmp-orc.c:1112)
==30824==    by 0x87E70ED: pack_planar_420 (video-format.c:102)
==30824==    by 0x85CEAD9: convert_hline_generic (videotestsrc.c:1202)
==30824==    by 0x85CE6B9: videotestsrc_convert_tmpline (videotestsrc.c:275)
==30824==    by 0x85CF0D0: gst_video_test_src_smpte (videotestsrc.c:352)
==30824==    by 0x85CCF23: gst_video_test_src_fill (gstvideotestsrc.c:922)
==30824==    by 0x8A45832: gst_base_src_default_create (gstbasesrc.c:1473)
==30824==    by 0x8A483E4: gst_base_src_get_range (gstbasesrc.c:2447)
==30824==    by 0x8A49E0A: gst_base_src_loop (gstbasesrc.c:2721)
==30824==    by 0x4EC3258: gst_task_func (gsttask.c:319)
==30824==    by 0x58FB975: ??? (in /usr/lib/libglib-2.0.so.0.3800.2)
==30824==    by 0x58FAFB4: ??? (in /usr/lib/libglib-2.0.so.0.3800.2)
==30824==    by 0x5D9A0A1: start_thread (in /usr/lib/libpthread-2.19.so)
==30824== 
==30824== 24 bytes in 3 blocks are definitely lost in loss record 837 of 1,853
==30824==    at 0x4C28730: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30824==    by 0x60309B9: strdup (in /usr/lib/libc-2.19.so)
==30824==    by 0x8C89A74: orc_program_add_destination_full (orcprogram.c:399)
==30824==    by 0x8C848B6: orc_bytecode_parse_function (orcbytecode.c:431)
==30824==    by 0x8C896CB: orc_program_new_from_static_bytecode
(orcprogram.c:145)
==30824==    by 0x880497B: video_orc_pack_I420 (tmp-orc.c:1112)
==30824==    by 0x87E70ED: pack_planar_420 (video-format.c:102)
==30824==    by 0x85CEAD9: convert_hline_generic (videotestsrc.c:1202)
==30824==    by 0x85CE6B9: videotestsrc_convert_tmpline (videotestsrc.c:275)
==30824==    by 0x85CF0D0: gst_video_test_src_smpte (videotestsrc.c:352)
==30824==    by 0x85CCF23: gst_video_test_src_fill (gstvideotestsrc.c:922)
==30824==    by 0x8A45832: gst_base_src_default_create (gstbasesrc.c:1473)
==30824==    by 0x8A483E4: gst_base_src_get_range (gstbasesrc.c:2447)
==30824==    by 0x8A49E0A: gst_base_src_loop (gstbasesrc.c:2721)
==30824==    by 0x4EC3258: gst_task_func (gsttask.c:319)
==30824==    by 0x58FB975: ??? (in /usr/lib/libglib-2.0.so.0.3800.2)
==30824==    by 0x58FAFB4: ??? (in /usr/lib/libglib-2.0.so.0.3800.2)
==30824==    by 0x5D9A0A1: start_thread (in /usr/lib/libpthread-2.19.so)
==30824== 
==30824== 40 bytes in 1 blocks are definitely lost in loss record 1,172 of
1,853
==30824==    at 0x4C28730: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30824==    by 0x8C8968B: orc_program_new (orcprogram.c:37)
==30824==    by 0x8C896BD: orc_program_new_from_static_bytecode
(orcprogram.c:144)
==30824==    by 0x85D100B: video_test_src_orc_splat_u32 (tmp-orc.c:194)
==30824==    by 0x85CF0B6: gst_video_test_src_smpte (videotestsrc.c:350)
==30824==    by 0x85CCF23: gst_video_test_src_fill (gstvideotestsrc.c:922)
==30824==    by 0x8A45832: gst_base_src_default_create (gstbasesrc.c:1473)
==30824==    by 0x8A483E4: gst_base_src_get_range (gstbasesrc.c:2447)
==30824==    by 0x8A49E0A: gst_base_src_loop (gstbasesrc.c:2721)
==30824==    by 0x4EC3258: gst_task_func (gsttask.c:319)
==30824==    by 0x58FB975: ??? (in /usr/lib/libglib-2.0.so.0.3800.2)
==30824==    by 0x58FAFB4: ??? (in /usr/lib/libglib-2.0.so.0.3800.2)
==30824==    by 0x5D9A0A1: start_thread (in /usr/lib/libpthread-2.19.so)
==30824== 
==30824== 40 bytes in 1 blocks are definitely lost in loss record 1,173 of
1,853
==30824==    at 0x4C28730: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30824==    by 0x8C8968B: orc_program_new (orcprogram.c:37)
==30824==    by 0x8C896BD: orc_program_new_from_static_bytecode
(orcprogram.c:144)
==30824==    by 0x880497B: video_orc_pack_I420 (tmp-orc.c:1112)
==30824==    by 0x87E70ED: pack_planar_420 (video-format.c:102)
==30824==    by 0x85CEAD9: convert_hline_generic (videotestsrc.c:1202)
==30824==    by 0x85CE6B9: videotestsrc_convert_tmpline (videotestsrc.c:275)
==30824==    by 0x85CF0D0: gst_video_test_src_smpte (videotestsrc.c:352)
==30824==    by 0x85CCF23: gst_video_test_src_fill (gstvideotestsrc.c:922)
==30824==    by 0x8A45832: gst_base_src_default_create (gstbasesrc.c:1473)
==30824==    by 0x8A483E4: gst_base_src_get_range (gstbasesrc.c:2447)
==30824==    by 0x8A49E0A: gst_base_src_loop (gstbasesrc.c:2721)
==30824==    by 0x4EC3258: gst_task_func (gsttask.c:319)
==30824==    by 0x58FB975: ??? (in /usr/lib/libglib-2.0.so.0.3800.2)
==30824==    by 0x58FAFB4: ??? (in /usr/lib/libglib-2.0.so.0.3800.2)
==30824==    by 0x5D9A0A1: start_thread (in /usr/lib/libpthread-2.19.so)
==30824== 


==30824== LEAK SUMMARY:
==30824==    definitely lost: 120 bytes in 7 blocks
==30824==    indirectly lost: 0 bytes in 0 blocks
==30824==      possibly lost: 322 bytes in 3 blocks
==30824==    still reachable: 97,681 bytes in 714 blocks
==30824==         suppressed: 381,682 bytes in 1,264 blocks

-- 
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