[Bug 699518] Segfault inside either GStreamer or gst-plugins-base.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 30 13:02:05 PDT 2013


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

--- Comment #10 from Stirling Westrup <swestrup at gmail.com> 2013-09-30 20:02:01 UTC ---
I tried it with valgrind as well, but it refused to run:

sti at timelord:~/Work/src/gstreamer1.0/test$ ./bug699518.sh -M
Running with Valgrind --memcheck
valgrind '--suppressions=/home/sti/Work/src/gstreamer1.0/test/./gst.supp'
'--suppressions=/home/sti/Work/src/gstreamer1.0/test/./gst-libav.supp'
'--suppressions=/home/sti/Work/src/gstreamer1.0/test/./gst-plugins-base.supp'
'--suppressions=/home/sti/Work/src/gstreamer1.0/test/./gst-plugins-good.supp'
'--suppressions=/home/sti/Work/src/gstreamer1.0/test/./gst-plugins-bad.supp'
'--suppressions=/home/sti/Work/src/gstreamer1.0/test/./gst-plugins-ugly.supp'
'--read-var-info=yes' '--tool=memcheck' '--track-origins=yes'
'--leak-check=full' '--show-reachable=no' '--show-possibly-lost=no'
gst-launch-1.0 videotestsrc 'pattern=black' !
'video/x-raw,width=(int)1920,height=(int)1080' ! clockoverlay 'valignment=top'
'halignment=left' 'font-desc='\''Sans' '8'\' 'time-format='\''%T' %T %T %T %T
%T %T %T %T %T %T %T %T %T %T %T %T %T %T %T %T %T '%T'\' videocrop 'right=540'
'bottom=540' ! xvimagesink 'display=:1'
==5809== Memcheck, a memory error detector
==5809== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==5809== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==5809== Command: gst-launch-1.0 videotestsrc pattern=black !
video/x-raw,width=(int)1920,height=(int)1080 ! clockoverlay valignment=top
halignment=left font-desc='Sans 8' time-format='%T %T %T %T %T %T %T %T %T %T
%T %T %T %T %T %T %T %T %T %T %T %T %T' videocrop right=540 bottom=540 !
xvimagesink display=:1
==5809== 
GStreamer has detected that it is running inside valgrind.
It might now take different code paths to ease debugging.
Of course, this may also lead to different bugs.
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop ():
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming task paused, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
==5809== 
==5809== HEAP SUMMARY:
==5809==     in use at exit: 1,118,938 bytes in 5,451 blocks
==5809==   total heap usage: 58,103 allocs, 52,652 frees, 17,958,686 bytes
allocated
==5809== 
==5809== 8 bytes in 1 blocks are definitely lost in loss record 121 of 2,624
==5809==    at 0x4C2935B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5809==    by 0x5D2CDC1: strdup (strdup.c:42)
==5809==    by 0x7656324: orc_program_add_destination_full (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7651146: orc_bytecode_parse_function (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7655F6B: orc_program_new_from_static_bytecode (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x6FA0ADB: video_test_src_orc_splat_u32 (tmp-orc.c:194)
==5809==    by 0x6F9EA4B: gst_video_test_src_unicolor (videotestsrc.c:549)
==5809==    by 0x6F9CAB3: gst_video_test_src_fill (gstvideotestsrc.c:877)
==5809==    by 0x7412452: gst_base_src_default_create (gstbasesrc.c:1439)
==5809==    by 0x7414EF0: gst_base_src_get_range (gstbasesrc.c:2392)
==5809==    by 0x74169CA: gst_base_src_loop (gstbasesrc.c:2665)
==5809==    by 0x4EC2308: gst_task_func (gsttask.c:316)
==5809== 
==5809== 8 bytes in 1 blocks are definitely lost in loss record 122 of 2,624
==5809==    at 0x4C2935B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5809==    by 0x5D2CDC1: strdup (strdup.c:42)
==5809==    by 0x7656287: orc_program_add_source_full (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x765110E: orc_bytecode_parse_function (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7655F6B: orc_program_new_from_static_bytecode (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x71D2C2B: video_orc_pack_I420 (tmp-orc.c:1112)
==5809==    by 0x71B69FD: pack_planar_420 (video-format.c:115)
==5809==    by 0x6F9E5A9: convert_hline_generic (videotestsrc.c:1202)
==5809==    by 0x6F9E189: videotestsrc_convert_tmpline (videotestsrc.c:275)
==5809==    by 0x6F9EA5B: gst_video_test_src_unicolor (videotestsrc.c:550)
==5809==    by 0x6F9CAB3: gst_video_test_src_fill (gstvideotestsrc.c:877)
==5809==    by 0x7412452: gst_base_src_default_create (gstbasesrc.c:1439)
==5809== 
==5809== 8 bytes in 1 blocks are definitely lost in loss record 123 of 2,624
==5809==    at 0x4C2935B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5809==    by 0x5D2CDC1: strdup (strdup.c:42)
==5809==    by 0x7656324: orc_program_add_destination_full (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7651146: orc_bytecode_parse_function (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7655F6B: orc_program_new_from_static_bytecode (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x71D2B4B: video_orc_unpack_I420 (tmp-orc.c:873)
==5809==    by 0x71B6AC0: unpack_planar_420 (video-format.c:93)
==5809==    by 0x71CF217: gst_video_blend (video-blend.c:336)
==5809==    by 0x71CFFAE: gst_video_overlay_composition_blend
(video-overlay-composition.c:491)
==5809==    by 0x78CEEE6: gst_base_text_overlay_push_frame
(gstbasetextoverlay.c:1697)
==5809==    by 0x78D1A34: gst_base_text_overlay_video_chain
(gstbasetextoverlay.c:2170)
==5809==    by 0x4E945A4: gst_pad_push_data (gstpad.c:3711)
==5809== 
==5809== 8 bytes in 1 blocks are definitely lost in loss record 124 of 2,624
==5809==    at 0x4C2935B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5809==    by 0x5D2CDC1: strdup (strdup.c:42)
==5809==    by 0x7656324: orc_program_add_destination_full (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7651146: orc_bytecode_parse_function (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7655F6B: orc_program_new_from_static_bytecode (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x71D374B: video_orc_unpack_BGRA (tmp-orc.c:3841)
==5809==    by 0x71CF243: gst_video_blend (video-blend.c:338)
==5809==    by 0x71CFFAE: gst_video_overlay_composition_blend
(video-overlay-composition.c:491)
==5809==    by 0x78CEEE6: gst_base_text_overlay_push_frame
(gstbasetextoverlay.c:1697)
==5809==    by 0x78D1A34: gst_base_text_overlay_video_chain
(gstbasetextoverlay.c:2170)
==5809==    by 0x4E945A4: gst_pad_push_data (gstpad.c:3711)
==5809==    by 0x741EB8A: gst_base_transform_chain (gstbasetransform.c:2237)
==5809== 
==5809== 8 bytes in 1 blocks are definitely lost in loss record 125 of 2,624
==5809==    at 0x4C2935B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5809==    by 0x5D2CDC1: strdup (strdup.c:42)
==5809==    by 0x7656287: orc_program_add_source_full (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x765110E: orc_bytecode_parse_function (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7655F6B: orc_program_new_from_static_bytecode (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x71D374B: video_orc_unpack_BGRA (tmp-orc.c:3841)
==5809==    by 0x71CF243: gst_video_blend (video-blend.c:338)
==5809==    by 0x71CFFAE: gst_video_overlay_composition_blend
(video-overlay-composition.c:491)
==5809==    by 0x78CEEE6: gst_base_text_overlay_push_frame
(gstbasetextoverlay.c:1697)
==5809==    by 0x78D1A34: gst_base_text_overlay_video_chain
(gstbasetextoverlay.c:2170)
==5809==    by 0x4E945A4: gst_pad_push_data (gstpad.c:3711)
==5809==    by 0x741EB8A: gst_base_transform_chain (gstbasetransform.c:2237)
==5809== 
==5809== 24 bytes in 3 blocks are definitely lost in loss record 1,111 of 2,624
==5809==    at 0x4C2935B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5809==    by 0x5D2CDC1: strdup (strdup.c:42)
==5809==    by 0x7656324: orc_program_add_destination_full (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7651146: orc_bytecode_parse_function (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7655F6B: orc_program_new_from_static_bytecode (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x71D2C2B: video_orc_pack_I420 (tmp-orc.c:1112)
==5809==    by 0x71B69FD: pack_planar_420 (video-format.c:115)
==5809==    by 0x6F9E5A9: convert_hline_generic (videotestsrc.c:1202)
==5809==    by 0x6F9E189: videotestsrc_convert_tmpline (videotestsrc.c:275)
==5809==    by 0x6F9EA5B: gst_video_test_src_unicolor (videotestsrc.c:550)
==5809==    by 0x6F9CAB3: gst_video_test_src_fill (gstvideotestsrc.c:877)
==5809==    by 0x7412452: gst_base_src_default_create (gstbasesrc.c:1439)
==5809== 
==5809== 24 bytes in 3 blocks are definitely lost in loss record 1,112 of 2,624
==5809==    at 0x4C2935B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5809==    by 0x5D2CDC1: strdup (strdup.c:42)
==5809==    by 0x7656287: orc_program_add_source_full (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x765110E: orc_bytecode_parse_function (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7655F6B: orc_program_new_from_static_bytecode (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x71D2B4B: video_orc_unpack_I420 (tmp-orc.c:873)
==5809==    by 0x71B6AC0: unpack_planar_420 (video-format.c:93)
==5809==    by 0x71CF217: gst_video_blend (video-blend.c:336)
==5809==    by 0x71CFFAE: gst_video_overlay_composition_blend
(video-overlay-composition.c:491)
==5809==    by 0x78CEEE6: gst_base_text_overlay_push_frame
(gstbasetextoverlay.c:1697)
==5809==    by 0x78D1A34: gst_base_text_overlay_video_chain
(gstbasetextoverlay.c:2170)
==5809==    by 0x4E945A4: gst_pad_push_data (gstpad.c:3711)
==5809== 
==5809== 40 bytes in 1 blocks are definitely lost in loss record 1,522 of 2,624
==5809==    at 0x4C2935B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5809==    by 0x7655F1B: orc_program_new (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7655F5D: orc_program_new_from_static_bytecode (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x6FA0ADB: video_test_src_orc_splat_u32 (tmp-orc.c:194)
==5809==    by 0x6F9EA4B: gst_video_test_src_unicolor (videotestsrc.c:549)
==5809==    by 0x6F9CAB3: gst_video_test_src_fill (gstvideotestsrc.c:877)
==5809==    by 0x7412452: gst_base_src_default_create (gstbasesrc.c:1439)
==5809==    by 0x7414EF0: gst_base_src_get_range (gstbasesrc.c:2392)
==5809==    by 0x74169CA: gst_base_src_loop (gstbasesrc.c:2665)
==5809==    by 0x4EC2308: gst_task_func (gsttask.c:316)
==5809==    by 0x55F6B95: g_thread_pool_thread_proxy (gthreadpool.c:309)
==5809==    by 0x55F61D4: g_thread_proxy (gthread.c:798)
==5809== 
==5809== 40 bytes in 1 blocks are definitely lost in loss record 1,523 of 2,624
==5809==    at 0x4C2935B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5809==    by 0x7655F1B: orc_program_new (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7655F5D: orc_program_new_from_static_bytecode (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x71D2C2B: video_orc_pack_I420 (tmp-orc.c:1112)
==5809==    by 0x71B69FD: pack_planar_420 (video-format.c:115)
==5809==    by 0x6F9E5A9: convert_hline_generic (videotestsrc.c:1202)
==5809==    by 0x6F9E189: videotestsrc_convert_tmpline (videotestsrc.c:275)
==5809==    by 0x6F9EA5B: gst_video_test_src_unicolor (videotestsrc.c:550)
==5809==    by 0x6F9CAB3: gst_video_test_src_fill (gstvideotestsrc.c:877)
==5809==    by 0x7412452: gst_base_src_default_create (gstbasesrc.c:1439)
==5809==    by 0x7414EF0: gst_base_src_get_range (gstbasesrc.c:2392)
==5809==    by 0x74169CA: gst_base_src_loop (gstbasesrc.c:2665)
==5809== 
==5809== 40 bytes in 1 blocks are definitely lost in loss record 1,524 of 2,624
==5809==    at 0x4C2935B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5809==    by 0x7655F1B: orc_program_new (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7655F5D: orc_program_new_from_static_bytecode (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x71D2B4B: video_orc_unpack_I420 (tmp-orc.c:873)
==5809==    by 0x71B6AC0: unpack_planar_420 (video-format.c:93)
==5809==    by 0x71CF217: gst_video_blend (video-blend.c:336)
==5809==    by 0x71CFFAE: gst_video_overlay_composition_blend
(video-overlay-composition.c:491)
==5809==    by 0x78CEEE6: gst_base_text_overlay_push_frame
(gstbasetextoverlay.c:1697)
==5809==    by 0x78D1A34: gst_base_text_overlay_video_chain
(gstbasetextoverlay.c:2170)
==5809==    by 0x4E945A4: gst_pad_push_data (gstpad.c:3711)
==5809==    by 0x741EB8A: gst_base_transform_chain (gstbasetransform.c:2237)
==5809==    by 0x4E945A4: gst_pad_push_data (gstpad.c:3711)
==5809== 
==5809== 40 bytes in 1 blocks are definitely lost in loss record 1,525 of 2,624
==5809==    at 0x4C2935B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5809==    by 0x7655F1B: orc_program_new (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x7655F5D: orc_program_new_from_static_bytecode (in
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.18.0)
==5809==    by 0x71D374B: video_orc_unpack_BGRA (tmp-orc.c:3841)
==5809==    by 0x71CF243: gst_video_blend (video-blend.c:338)
==5809==    by 0x71CFFAE: gst_video_overlay_composition_blend
(video-overlay-composition.c:491)
==5809==    by 0x78CEEE6: gst_base_text_overlay_push_frame
(gstbasetextoverlay.c:1697)
==5809==    by 0x78D1A34: gst_base_text_overlay_video_chain
(gstbasetextoverlay.c:2170)
==5809==    by 0x4E945A4: gst_pad_push_data (gstpad.c:3711)
==5809==    by 0x741EB8A: gst_base_transform_chain (gstbasetransform.c:2237)
==5809==    by 0x4E945A4: gst_pad_push_data (gstpad.c:3711)
==5809==    by 0x7416C3C: gst_base_src_loop (gstbasesrc.c:2779)
==5809== 
==5809== 2,218 (768 direct, 1,450 indirect) bytes in 1 blocks are definitely
lost in loss record 2,563 of 2,624
==5809==    at 0x4C2B72E: realloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5809==    by 0x8721E59: FcPatternObjectInsertElt (fcpat.c:435)
==5809==    by 0x87224E1: FcPatternObjectListAdd (fcpat.c:567)
==5809==    by 0x871F88A: FcFontRenderPrepare (fcmatch.c:573)
==5809==    by 0x871FD6F: FcFontMatch (fcmatch.c:713)
==5809==    by 0x825DF24: pango_fc_fontset_get_font_at (pangofc-fontmap.c:761)
==5809==    by 0x825E0CC: pango_fc_fontset_foreach (pangofc-fontmap.c:999)
==5809==    by 0x7D00B57: get_shaper_and_font (pango-context.c:1258)
==5809==    by 0x7D00F7B: itemize_state_process_run (pango-context.c:1460)
==5809==    by 0x7D01D79: pango_itemize_with_base_dir (pango-context.c:1565)
==5809==    by 0x7D0909B: pango_layout_check_lines (pango-layout.c:3945)
==5809==    by 0x7D0A187: pango_layout_get_extents_internal
(pango-layout.c:2534)
==5809== 
==5809== 6,024 bytes in 1 blocks are definitely lost in loss record 2,602 of
2,624
==5809==    at 0x4C2B514: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5809==    by 0xA29429E: ??? (in
/usr/lib/x86_64-linux-gnu/nvidia/current/libGL.so.325.15)
==5809== 
==5809== LEAK SUMMARY:
==5809==    definitely lost: 7,040 bytes in 17 blocks
==5809==    indirectly lost: 4,250 bytes in 199 blocks
==5809==      possibly lost: 0 bytes in 0 blocks
==5809==    still reachable: 495,688 bytes in 1,336 blocks
==5809==         suppressed: 611,960 bytes in 3,899 blocks
==5809== Reachable blocks (those to which a pointer was found) are not shown.
==5809== To see them, rerun with: --leak-check=full --show-reachable=yes
==5809== 
==5809== For counts of detected and suppressed errors, rerun with: -v
==5809== ERROR SUMMARY: 13 errors from 13 contexts (suppressed: 171 from 171)
sti at timelord:~/Work/src/gstreamer1.0/test$

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