[Bug 735952] New: videorate: GstStructure refcount critical message

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 2 23:50:09 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=735952
  GStreamer | gst-plugins-base | 1.4.0

           Summary: videorate: GstStructure refcount critical message
    Classification: Platform
           Product: GStreamer
           Version: 1.4.0
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: robert.swain at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When using videorate, I have encountered a 'critical' error.

(<unknown>:1327): GStreamer-CRITICAL **: void gst_structure_free(GstStructure
*): assertion `GST_STRUCTURE_REFCOUNT (structure) == NULL' failed

Below is a little bit of GST_CAPS:5 and the thread backtrace:

0:00:11.767961000  1327    0x106076680 DEBUG               GST_CAPS
gstreamer/gst/gstutils.c:2822:GstCaps *gst_pad_peer_query_caps(GstPad *,
GstCaps *):<source-video-scale-0:src> peer query returned video/x-raw,
width=(int)640, height=(int)480, framerate=(fraction)30/1, format=(string)BGRA;
video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)[ 0/1, 30/1
], format=(string)BGRA; video/x-raw, width=(int)640, height=(int)480,
format=(string)UYVY, framerate=(fraction)30/1; video/x-raw, width=(int)640,
height=(int)480, format=(string)UYVY, framerate=(fraction)[ 0/1, 30/1 ];
video/x-raw, width=(int)640, height=(int)480, format=(string)YUY2,
framerate=(fraction)30/1; video/x-raw, width=(int)640, height=(int)480,
format=(string)YUY2, framerate=(fraction)[ 0/1, 30/1 ]; video/x-raw,
width=(int)640, height=(int)480, format=(string)NV12, framerate=(fraction)30/1;
video/x-raw, width=(int)640, height=(int)480, format=(string)NV12,
framerate=(fraction)[ 0/1, 30/1 ]
0:00:11.768940000  1327    0x105808d20 DEBUG               GST_CAPS
gstreamer/gst/gstutils.c:2769:GstCaps *gst_pad_query_caps(GstPad *, GstCaps
*):<local-video-capture-source-bin-0:src_0_0> get pad caps with filter (NULL)
0:00:11.768930000  1327    0x106076680 DEBUG               GST_CAPS
gstreamer/gst/gstutils.c:2822:GstCaps *gst_pad_peer_query_caps(GstPad *,
GstCaps *):<source-video-rate-0:src> peer query returned video/x-raw,
width=(int)640, height=(int)480, framerate=(fraction)30/1, format=(string)BGRA;
video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)[ 0/1, 30/1
], format=(string)BGRA; video/x-raw, width=(int)640, height=(int)480,
format=(string)UYVY, framerate=(fraction)30/1; video/x-raw, width=(int)640,
height=(int)480, format=(string)UYVY, framerate=(fraction)[ 0/1, 30/1 ];
video/x-raw, width=(int)640, height=(int)480, format=(string)YUY2,
framerate=(fraction)30/1; video/x-raw, width=(int)640, height=(int)480,
format=(string)YUY2, framerate=(fraction)[ 0/1, 30/1 ]; video/x-raw,
width=(int)640, height=(int)480, format=(string)NV12, framerate=(fraction)30/1;
video/x-raw, width=(int)640, height=(int)480, format=(string)NV12,
framerate=(fraction)[ 0/1, 30/1 ]
0:00:11.768975000  1327    0x105808d20 DEBUG               GST_CAPS
gstreamer/gst/gstpad.c:2964:gboolean gst_pad_query_caps_default(GstPad *,
GstQuery *):<local-video-capture-source-bin-0:src_0_0> query caps caps query:
0x1060766d0, GstQueryCaps, filter=(GstCaps)"NULL", caps=(GstCaps)"NULL";

(<unknown>:1327): GStreamer-CRITICAL **: void gst_structure_free(GstStructure
*): assertion `GST_STRUCTURE_REFCOUNT (structure) == NULL' failed
Process 1327 stopped
* thread #27: tid = 0xe5ea4d, 0x0000000100ce5bd5 daemon`g_logv + 1397, stop
reason = EXC_BREAKPOINT (code=EXC_I386_BPT, subcode=0x0)
    frame #0: 0x0000000100ce5bd5 daemon`g_logv + 1397
daemon`g_logv + 1397:
-> 0x100ce5bd5:  jmpq   0x100ce5bdf               ; g_logv + 1407
   0x100ce5bda:  callq  0x100fcea12               ; symbol stub for: abort
   0x100ce5bdf:  jmpq   0x100ce5be4               ; g_logv + 1412
   0x100ce5be4:  leaq   0x228f8a5(%rip), %rdi     ; g_log_depth
(lldb) thread backtrace
* thread #27: tid = 0xe5ea4d, 0x0000000100ce5bd5 daemon`g_logv + 1397, stop
reason = EXC_BREAKPOINT (code=EXC_I386_BPT, subcode=0x0)
  * frame #0: 0x0000000100ce5bd5 daemon`g_logv + 1397
    frame #1: 0x0000000100ce5629 daemon`g_log + 361
    frame #2: 0x0000000100ce65f0 daemon`g_return_if_fail_warning + 64
    frame #3: 0x0000000100b25cc9
daemon`gst_structure_free(structure=0x000000010594c300) + 121 at
gststructure.c:376
    frame #4: 0x0000000100aacf3a
daemon`gst_caps_merge_structure(caps=0x0000000104804590,
structure=0x000000010594c300) + 522 at gstcaps.c:706
    frame #5: 0x00000001008db988
daemon`gst_video_rate_transform_caps(trans=0x0000000106080800,
direction=GST_PAD_SRC, caps=0x0000000104818850, filter=0x00000001048180f0) +
1064 at gstvideorate.c:434
    frame #6: 0x0000000100a76c60
daemon`gst_base_transform_transform_caps(trans=0x0000000106080800,
direction=GST_PAD_SRC, caps=0x0000000104818850, filter=0x00000001048180f0) +
304 at gstbasetransform.c:523
    frame #7: 0x0000000100a7a15e
daemon`gst_base_transform_query_caps(trans=0x0000000106080800,
pad=0x00000001038f7af0, filter=0x00000001048180f0) + 1166 at
gstbasetransform.c:732
    frame #8: 0x0000000100a77762
daemon`gst_base_transform_default_query(trans=0x0000000106080800,
direction=GST_PAD_SINK, query=0x0000000104818320) + 1154 at
gstbasetransform.c:1535
    frame #9: 0x00000001008def53
daemon`gst_video_rate_query(trans=0x0000000106080800, direction=GST_PAD_SINK,
query=0x0000000104818320) + 3059 at gstvideorate.c:854
    frame #10: 0x0000000100a73b7f
daemon`gst_base_transform_query(pad=0x00000001038f7af0,
parent=0x0000000106080800, query=0x0000000104818320) + 95 at
gstbasetransform.c:1561
    frame #11: 0x0000000100af4c7a daemon`gst_pad_query(pad=0x00000001038f7af0,
query=0x0000000104818320) + 1242 at gstpad.c:3584
    frame #12: 0x0000000100af5dfd
daemon`gst_pad_peer_query(pad=0x00000001038f5d80, query=0x0000000104818320) +
1197 at gstpad.c:3715
    frame #13: 0x0000000100b4a467
daemon`query_caps_func(pad=0x00000001038f5d80, data=0x0000000108a873e0) + 39 at
gstutils.c:2488
    frame #14: 0x0000000100af3081
daemon`gst_pad_forward(pad=0x00000001038f5b50, forward=0x0000000100b4a440,
user_data=0x0000000108a873e0) + 721 at gstpad.c:2796
    frame #15: 0x0000000100b4a3ba
daemon`gst_pad_proxy_query_caps(pad=0x00000001038f5b50,
query=0x0000000104818320) + 874 at gstutils.c:2538
    frame #16: 0x0000000100af3cfc
daemon`gst_pad_query_caps_default(pad=0x00000001038f5b50,
query=0x0000000104818320) + 156 at gstpad.c:2968
    frame #17: 0x0000000100af381b
daemon`gst_pad_query_default(pad=0x00000001038f5b50, parent=0x00000001038f0c20,
query=0x0000000104818320) + 571 at gstpad.c:3079
    frame #18: 0x00000001006920c6
daemon`gst_queue_handle_sink_query(pad=0x00000001038f5b50,
parent=0x00000001038f0c20, query=0x0000000104818320) + 1286 at gstqueue.c:872
    frame #19: 0x0000000100af4c7a daemon`gst_pad_query(pad=0x00000001038f5b50,
query=0x0000000104818320) + 1242 at gstpad.c:3584
    frame #20: 0x0000000100af5dfd
daemon`gst_pad_peer_query(pad=0x000000010607a010, query=0x0000000104818320) +
1197 at gstpad.c:3715
    frame #21: 0x0000000100b4a467
daemon`query_caps_func(pad=0x000000010607a010, data=0x0000000108a87d80) + 39 at
gstutils.c:2488
    frame #22: 0x0000000100af3081
daemon`gst_pad_forward(pad=0x00000001050a78f0, forward=0x0000000100b4a440,
user_data=0x0000000108a87d80) + 721 at gstpad.c:2796
    frame #23: 0x0000000100b4a3ba
daemon`gst_pad_proxy_query_caps(pad=0x00000001050a78f0,
query=0x0000000104818320) + 874 at gstutils.c:2538
    frame #24: 0x0000000100af3cfc
daemon`gst_pad_query_caps_default(pad=0x00000001050a78f0,
query=0x0000000104818320) + 156 at gstpad.c:2968
    frame #25: 0x0000000100af381b
daemon`gst_pad_query_default(pad=0x00000001050a78f0, parent=0x000000010486ae70,
query=0x0000000104818320) + 571 at gstpad.c:3079
    frame #26: 0x00000001006ac9fa
daemon`gst_tee_sink_query(pad=0x00000001050a78f0, parent=0x000000010486ae70,
query=0x0000000104818320) + 42 at gsttee.c:551
    frame #27: 0x0000000100af4c7a daemon`gst_pad_query(pad=0x00000001050a78f0,
query=0x0000000104818320) + 1242 at gstpad.c:3584
    frame #28: 0x0000000100af5dfd
daemon`gst_pad_peer_query(pad=0x00000001050a76c0, query=0x0000000104818320) +
1197 at gstpad.c:3715
    frame #29: 0x0000000100b4b110
daemon`gst_pad_peer_query_caps(pad=0x00000001050a76c0,
filter=0x00000001048180f0) + 432 at gstutils.c:2818
    frame #30: 0x0000000100a79fe3
daemon`gst_base_transform_query_caps(trans=0x00000001050b8390,
pad=0x00000001050a7490, filter=0x00000001048182d0) + 787 at
gstbasetransform.c:715
    frame #31: 0x0000000100a77762
daemon`gst_base_transform_default_query(trans=0x00000001050b8390,
direction=GST_PAD_SINK, query=0x00000001048180a0) + 1154 at
gstbasetransform.c:1535
    frame #32: 0x0000000100a73b7f
daemon`gst_base_transform_query(pad=0x00000001050a7490,
parent=0x00000001050b8390, query=0x00000001048180a0) + 95 at
gstbasetransform.c:1561
    frame #33: 0x0000000100af4c7a daemon`gst_pad_query(pad=0x00000001050a7490,
query=0x00000001048180a0) + 1242 at gstpad.c:3584
    frame #34: 0x0000000100af5dfd
daemon`gst_pad_peer_query(pad=0x00000001050a7260, query=0x00000001048180a0) +
1197 at gstpad.c:3715
    frame #35: 0x0000000100b4b110
daemon`gst_pad_peer_query_caps(pad=0x00000001050a7260,
filter=0x00000001048182d0) + 432 at gstutils.c:2818
    frame #36: 0x0000000100a6eb3e
daemon`gst_base_src_default_negotiate(basesrc=0x000000010487a000) + 238 at
gstbasesrc.c:3182
    frame #37: 0x0000000100a6976c
daemon`gst_base_src_negotiate(basesrc=0x000000010487a000) + 140 at
gstbasesrc.c:3246
    frame #38: 0x0000000100a68505
daemon`gst_base_src_loop(pad=0x00000001050a7260) + 277 at gstbasesrc.c:2683
    frame #39: 0x0000000100b3b1ab daemon`gst_task_func(task=0x00000001048177e0)
+ 747 at gsttask.c:317
    frame #40: 0x0000000100b3bdc7 daemon`default_func(tdata=0x000000010371b740,
pool=0x0000000103812010) + 71 at gsttaskpool.c:68
    frame #41: 0x0000000100d0df60 daemon`g_thread_pool_thread_proxy + 128
    frame #42: 0x0000000100d0d0a8 daemon`g_thread_proxy + 152
    frame #43: 0x00007fff889e5899 libsystem_pthread.dylib`_pthread_body + 138
    frame #44: 0x00007fff889e572a libsystem_pthread.dylib`_pthread_start + 137

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