[gstreamer-bugs] [Bug 623103] New: matroskamux dispose error

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 29 01:42:51 PDT 2010


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

           Summary: matroskamux dispose error
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.23
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ikt011 at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Hi,

I found a bug in the matroskamux, try this pipeline:

gst-launch -e videotestsrc is-live=1 ! video/x-raw-yuv ! x264enc ! \
 matroskamux ! filesink location="test1"   videotestsrc is-live=1 ! \
video/x-raw-yuv ! x264enc ! matroskamux ! filesink location="test2"  \
videotestsrc is-live=1 ! video/x-raw-yuv ! x264enc ! matroskamux ! \
 filesink location="test3"  videotestsrc is-live=1 ! video/x-raw-yuv \
 ! x264enc ! matroskamux ! filesink location="test4"  \
videotestsrc is-live=1 ! video/x-raw-yuv ! x264enc ! matroskamux ! \
filesink location="test5"   videotestsrc is-live=1 ! video/x-raw-yuv \
! x264enc ! matroskamux ! filesink location="test6"   \
videotestsrc is-live=1 ! video/x-raw-yuv ! x264enc ! matroskamux ! \
filesink location="test7"    videotestsrc is-live=1 ! \
video/x-raw-yuv ! x264enc ! matroskamux ! filesink \
location="test8"    videotestsrc is-live=1 ! video/x-raw-yuv ! \
x264enc ! matroskamux ! filesink location="test9"

When I press ctrl+c the following messages come:

(gst-launch-0.10:20785): GStreamer-CRITICAL **: gst_object_replace:
assertion `*oldobj == NULL || GST_IS_OBJECT (*oldobj)' failed
(gst-launch-0.10:20785): GStreamer-CRITICAL **: gst_object_replace:
assertion `*oldobj == NULL || GST_IS_OBJECT (*oldobj)' failed
... (for 4 or 5 times)

GST_DEBUG=3 says:

0:00:03.817021404 20339  0x84c1050 INFO         GST_REFCOUNTING
gstelement.c:2835:gst_element_dispose:<matroskamux0> dispose
0:00:03.817036878 20339  0x84c1050 INFO        GST_ELEMENT_PADS
gstelement.c:816:gst_element_remove_pad:<matroskamux0> removing pad
'video_0'
0:00:03.817052653 20339  0x84c1050 INFO        GST_ELEMENT_PADS
gstelement.c:816:gst_element_remove_pad:<matroskamux0> removing pad
'src'
0:00:03.817068684 20339  0x84c1050 INFO         GST_REFCOUNTING
gstelement.c:2859:gst_element_dispose:<matroskamux0> parent class
dispose

(gst-launch-0.10:20339): GStreamer-CRITICAL **: gst_object_replace:
assertion `*oldobj == NULL || GST_IS_OBJECT (*oldobj)' failed
0:00:03.817109435 20339  0x84c1050 INFO         GST_REFCOUNTING
gstelement.c:2890:gst_element_finalize:<matroskamux0> finalize
0:00:03.817125551 20339  0x84c1050 INFO         GST_REFCOUNTING
gstelement.c:2901:gst_element_finalize:<matroskamux0> finalize parent

I tried the pipeline with matroskamux in gstreamer-plugins-good version 10.21
and it worked fine. So i guess it's a new bug.

In an other application i use several matroskamux (switching recording files),
and when i want to create a new muxer for the 4th time (always the 4th) it
fails at the creation of the src pad, and the following errors come:

(unknown:26703): GStreamer-CRITICAL **: gst_pad_new_from_template: assertion
`GST_IS_PAD_TEMPLATE (templ)' failed
(unknown:26703): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed
(unknown:26703): GStreamer-CRITICAL **: gst_pad_set_event_function: assertion
`GST_IS_PAD (pad)' failed
(unknown:26703): GStreamer-CRITICAL **: gst_element_add_pad: assertion
`GST_IS_PAD (pad)' failed

I think the two bugs are caused by the same problem...

Thanks in advance
Tibor

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