[gstreamer-bugs] [Bug 601617] New: matroska-demuxer triggers an assert in gststructure.c

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Nov 11 14:55:32 PST 2009


https://bugzilla.gnome.org/show_bug.cgi?id=601617
  GStreamer | gst-plugins-good | unspecified

           Summary: matroska-demuxer triggers an assert in gststructure.c
    Classification: Desktop
           Product: GStreamer
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ognyan.tonchev at axis.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Hi,

I am setting a pipeline 'filesrc ! matroskademux ! queue ! identity ! fakesink'
and then set its state to PAUSED(set_state, get_state) and do gst_element_seek
() on the demuxer.
Most of the time that works but sometimes i am getting an assert triggered in
gststructure.c
Tried the test with different matroska files(mjpeg) and also with a simple
matroska file generated with gst-launch and 'testvideosrc ! muxer ! filesink'.

Below you can see a backtrace from gdb:

-----------------------------------------------

GStreamer-CRITICAL **: gst_structure_set_parent_refcount: assertion `refcount
== NULL' failed
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x40df6b90 (LWP 6721)]
0x4001c424 in __kernel_vsyscall ()
(gdb) bt
#0  0x4001c424 in __kernel_vsyscall ()
#1  0x40527640 in raise () from /lib/i686/cmov/libc.so.6
#2  0x40529018 in abort () from /lib/i686/cmov/libc.so.6
#3  0x4044f4e4 in IA__g_logv (log_domain=0x403000a0 "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=0x404a441f "%s: assertion `%s' failed",
args1=0x40df5cec "?\2061@\024\2071@")
    at /home/ognyan/firmware/Q7401-ut/libs/glib/glib/glib/gmessages.c:497
#4  0x4044f516 in IA__g_log (log_domain=0x403000a0 "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=0x404a441f "%s: assertion `%s' failed")
    at /home/ognyan/firmware/Q7401-ut/libs/glib/glib/glib/gmessages.c:517
#5  0x4044f74b in IA__g_return_if_fail_warning (log_domain=0x403000a0
"GStreamer", pretty_function=0x403186e0 "gst_structure_set_parent_refcount",
expression=0x40318714 "refcount == NULL")
    at /home/ognyan/firmware/Q7401-ut/libs/glib/glib/glib/gmessages.c:532
#6  0x40261d83 in gst_structure_set_parent_refcount (structure=0x8dede68,
refcount=0x40e022c4) at
/home/ognyan/firmware/Q7401-ut/libs/gstreamer/gstreamer/gst/gststructure.c:268
#7  0x401ea011 in gst_message_new_custom (type=GST_MESSAGE_TAG, src=0x8e07190,
structure=0x8dede68) at
/home/ognyan/firmware/Q7401-ut/libs/gstreamer/gstreamer/gst/gstmessage.c:277
#8  0x401eaa6b in gst_message_new_tag (src=0x8e07190, tag_list=0x8dede68) at
/home/ognyan/firmware/Q7401-ut/libs/gstreamer/gstreamer/gst/gstmessage.c:469
#9  0x402aeae2 in gst_element_found_tags_for_pad (element=0x8e07190,
pad=0x8e0dc90, list=0x8dede68) at
/home/ognyan/firmware/Q7401-ut/libs/gstreamer/gstreamer/gst/gstutils.c:3087
#10 0x406a38e7 in gst_matroska_demux_send_event (demux=0x8e07190,
event=0x8dee4c8) at
/home/ognyan/firmware/Q7401-ut/libs/gst-plugins-good/gst-plugins-good/gst/matroska/matroska-demux.c:2015
#11 0x406a5628 in gst_matroska_demux_parse_blockgroup_or_simpleblock
(demux=0x8e07190, cluster_time=0, is_simpleblock=0)
    at
/home/ognyan/firmware/Q7401-ut/libs/gst-plugins-good/gst-plugins-good/gst/matroska/matroska-demux.c:4199
#12 0x406a98af in gst_matroska_demux_loop (pad=0x8e0d810) at
/home/ognyan/firmware/Q7401-ut/libs/gst-plugins-good/gst-plugins-good/gst/matroska/matroska-demux.c:4320
#13 0x40287dfa in gst_task_func (task=0x8de11e8, tclass=0x8d77218) at
/home/ognyan/firmware/Q7401-ut/libs/gstreamer/gstreamer/gst/gsttask.c:172
#14 0x40471176 in g_thread_pool_thread_proxy (data=0x8d71038) at
/home/ognyan/firmware/Q7401-ut/libs/glib/glib/glib/gthreadpool.c:265
#15 0x4046fb0f in g_thread_create_proxy (data=0x8e0fe08) at
/home/ognyan/firmware/Q7401-ut/libs/glib/glib/glib/gthread.c:635
#16 0x404e94c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#17 0x405dc55e in clone () from /lib/i686/cmov/libc.so.6

and another one, a little bit different from the one above:

-----------------------------------------------

GStreamer-CRITICAL **: gst_structure_set_parent_refcount: assertion `refcount
== NULL' failed
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x405ee2c0 (LWP 9975)]
0x4001c424 in __kernel_vsyscall ()
(gdb) bt
#0  0x4001c424 in __kernel_vsyscall ()
#1  0x4012f640 in raise () from /lib/i686/cmov/libc.so.6
#2  0x40131018 in abort () from /lib/i686/cmov/libc.so.6
#3  0x4051d4e4 in IA__g_logv (log_domain=0x404360a0 "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=0x4057241f "%s: assertion `%s' failed",
args1=0xbfe5c59c "??D@\024?D@")
    at /home/ognyan/firmware/Q7401-ut/libs/glib/glib/glib/gmessages.c:497
#4  0x4051d516 in IA__g_log (log_domain=0x404360a0 "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=0x4057241f "%s: assertion `%s' failed")
    at /home/ognyan/firmware/Q7401-ut/libs/glib/glib/glib/gmessages.c:517
#5  0x4051d74b in IA__g_return_if_fail_warning (log_domain=0x404360a0
"GStreamer", pretty_function=0x4044e6e0 "gst_structure_set_parent_refcount",
expression=0x4044e714 "refcount == NULL")
    at /home/ognyan/firmware/Q7401-ut/libs/glib/glib/glib/gmessages.c:532
#6  0x40397d83 in gst_structure_set_parent_refcount (structure=0x831e498,
refcount=0x83191cc) at
/home/ognyan/firmware/Q7401-ut/libs/gstreamer/gstreamer/gst/gststructure.c:268
#7  0x40320011 in gst_message_new_custom (type=GST_MESSAGE_TAG, src=0x830e2e8,
structure=0x831e498) at
/home/ognyan/firmware/Q7401-ut/libs/gstreamer/gstreamer/gst/gstmessage.c:277
#8  0x40320a6b in gst_message_new_tag (src=0x830e2e8, tag_list=0x831e498) at
/home/ognyan/firmware/Q7401-ut/libs/gstreamer/gstreamer/gst/gstmessage.c:469
#9  0x403e4ae2 in gst_element_found_tags_for_pad (element=0x830e2e8,
pad=0x831be40, list=0x831e498) at
/home/ognyan/firmware/Q7401-ut/libs/gstreamer/gstreamer/gst/gstutils.c:3087
#10 0x406048e7 in gst_matroska_demux_send_event (demux=0x830e2e8,
event=0x827f0c8) at
/home/ognyan/firmware/Q7401-ut/libs/gst-plugins-good/gst-plugins-good/gst/matroska/matroska-demux.c:2015
#11 0x40604b77 in gst_matroska_demux_handle_seek_event (demux=0x830e2e8,
pad=<value optimized out>, event=0x827f118)
    at
/home/ognyan/firmware/Q7401-ut/libs/gst-plugins-good/gst-plugins-good/gst/matroska/matroska-demux.c:2096
#12 0x40605c9a in gst_matroska_demux_element_send_event (element=0x830e2e8,
event=0x827f118) at
/home/ognyan/firmware/Q7401-ut/libs/gst-plugins-good/gst-plugins-good/gst/matroska/matroska-demux.c:2033
#13 0x402e5b21 in gst_element_send_event (element=0x830e2e8, event=0x827f118)
at
/home/ognyan/firmware/Q7401-ut/libs/gstreamer/gstreamer/gst/gstelement.c:1385
#14 0x402e5ea7 in gst_element_seek (element=0x830e2e8, rate=1,
format=GST_FORMAT_TIME, flags=GST_SEEK_FLAG_FLUSH, cur_type=GST_SEEK_TYPE_SET,
cur=115000000, stop_type=GST_SEEK_TYPE_SET, stop=459999999)
    at
/home/ognyan/firmware/Q7401-ut/libs/gstreamer/gstreamer/gst/gstelement.c:1425

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