[Bug 647854] New: [schrodec] Allocates buffers with NULL caps from downstream

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Apr 15 03:26:36 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=647854
  GStreamer | gst-plugins-bad | git

           Summary: [schrodec] Allocates buffers with NULL caps from
                    downstream
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Just try to play a file with totem, this assertion will hit:


GStreamer-CRITICAL **: gst_caps_intersect_full: assertion `GST_IS_CAPS (caps2)'
failed
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe8cfc700 (LWP 21531)]
0x00000032d0c32165 in raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64    ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
    in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00000032d0c32165 in raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00000032d0c34f70 in abort () at abort.c:92
#2  0x0000003c69a4e32a in g_logv (log_domain=0x7ffff7eafa78 "GStreamer", 
    log_level=<value optimized out>, format=0x3c69a94f88 "%s: assertion `%s'
failed", args1=
    0x7fffe8cfab50) at /tmp/buildd/glib2.0-2.28.6/./glib/gmessages.c:557
#3  0x0000003c69a4e3b3 in g_log (log_domain=<value optimized out>, 
    log_level=<value optimized out>, format=<value optimized out>)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gmessages.c:577
#4  0x00007ffff7e35987 in gst_caps_intersect_full (caps1=0xb15c40, caps2=0x0, 
    mode=GST_CAPS_INTERSECT_ZIG_ZAG) at gstcaps.c:1563
#5  0x00007ffff2632b38 in gst_xvimagesink_buffer_alloc (bsink=<value optimized
out>, 
    offset=<value optimized out>, size=153600, caps=0x0, buf=0x7fffe8cfb7a8)
    at xvimagesink.c:2532
#6  0x00007ffff7fc6b8a in gst_base_sink_pad_buffer_alloc (pad=<value optimized
out>, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8)
    at gstbasesink.c:661
#7  0x00007ffff7e59923 in gst_pad_buffer_alloc_unchecked (pad=0x9278b0, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8,
setcaps=0)
    at gstpad.c:2999
#8  gst_pad_alloc_buffer_full (pad=0x9278b0, offset=18446744073709551615,
size=153600, caps=
    0x0, buf=0x7fffe8cfb7a8, setcaps=0) at gstpad.c:3076
#9  0x00007ffff7e4810a in gst_proxy_pad_do_bufferalloc (pad=<value optimized
out>, 
---Type <return> to continue, or q <return> to quit---
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8)
    at gstghostpad.c:158
#10 0x00007ffff7e59923 in gst_pad_buffer_alloc_unchecked (pad=0x927700, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8,
setcaps=0)
    at gstpad.c:2999
#11 gst_pad_alloc_buffer_full (pad=0x927700, offset=18446744073709551615,
size=153600, caps=
    0x0, buf=0x7fffe8cfb7a8, setcaps=0) at gstpad.c:3076
#12 0x00007ffff7e4810a in gst_proxy_pad_do_bufferalloc (pad=<value optimized
out>, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8)
    at gstghostpad.c:158
#13 0x00007ffff7e59923 in gst_pad_buffer_alloc_unchecked (pad=0x14c4060, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8,
setcaps=0)
    at gstpad.c:2999
#14 gst_pad_alloc_buffer_full (pad=0x14c4060, offset=18446744073709551615,
size=153600, caps=
    0x0, buf=0x7fffe8cfb7a8, setcaps=0) at gstpad.c:3076
#15 0x00007ffff7fda170 in gst_base_transform_buffer_alloc (pad=0x11bae30, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8)
    at gstbasetransform.c:1921
#16 0x00007ffff7e59923 in gst_pad_buffer_alloc_unchecked (pad=0x11bacb0, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8,
setcaps=0)
    at gstpad.c:2999
#17 gst_pad_alloc_buffer_full (pad=0x11bacb0, offset=18446744073709551615,
size=153600, caps=
    0x0, buf=0x7fffe8cfb7a8, setcaps=0) at gstpad.c:3076
---Type <return> to continue, or q <return> to quit---
#18 0x00007ffff7fda170 in gst_base_transform_buffer_alloc (pad=0x11bab30, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8)
    at gstbasetransform.c:1921
#19 0x00007ffff7e59923 in gst_pad_buffer_alloc_unchecked (pad=0x11ba9b0, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8,
setcaps=0)
    at gstpad.c:2999
#20 gst_pad_alloc_buffer_full (pad=0x11ba9b0, offset=18446744073709551615,
size=153600, caps=
    0x0, buf=0x7fffe8cfb7a8, setcaps=0) at gstpad.c:3076
#21 0x00007ffff265fd4c in gst_queue_bufferalloc (pad=<value optimized out>, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8) at
gstqueue.c:557
#22 0x00007ffff7e59923 in gst_pad_buffer_alloc_unchecked (pad=0x7fffe40c4080, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8,
setcaps=0)
    at gstpad.c:2999
#23 gst_pad_alloc_buffer_full (pad=0x7fffe40c4080, offset=18446744073709551615,
size=153600, 
    caps=0x0, buf=0x7fffe8cfb7a8, setcaps=0) at gstpad.c:3076
#24 0x00007ffff7e4810a in gst_proxy_pad_do_bufferalloc (pad=<value optimized
out>, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8)
    at gstghostpad.c:158
#25 0x00007ffff7e59923 in gst_pad_buffer_alloc_unchecked (pad=0x14c4360, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8,
setcaps=0)
    at gstpad.c:2999
#26 gst_pad_alloc_buffer_full (pad=0x14c4360, offset=18446744073709551615,
size=153600, caps=
    0x0, buf=0x7fffe8cfb7a8, setcaps=0) at gstpad.c:3076
---Type <return> to continue, or q <return> to quit---
#27 0x00007ffff26ba5c2 in gst_stream_synchronizer_sink_bufferalloc
(pad=0x14c41e0, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8)
    at gststreamsynchronizer.c:563
#28 0x00007ffff7e59923 in gst_pad_buffer_alloc_unchecked (pad=0xb41dd0, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8,
setcaps=0)
    at gstpad.c:2999
#29 gst_pad_alloc_buffer_full (pad=0xb41dd0, offset=18446744073709551615,
size=153600, caps=
    0x0, buf=0x7fffe8cfb7a8, setcaps=0) at gstpad.c:3076
#30 0x00007ffff7e4810a in gst_proxy_pad_do_bufferalloc (pad=<value optimized
out>, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8)
    at gstghostpad.c:158
#31 0x00007ffff7e59923 in gst_pad_buffer_alloc_unchecked (pad=0x11ba6b0, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8,
setcaps=0)
    at gstpad.c:2999
#32 gst_pad_alloc_buffer_full (pad=0x11ba6b0, offset=18446744073709551615,
size=153600, caps=
    0x0, buf=0x7fffe8cfb7a8, setcaps=0) at gstpad.c:3076
#33 0x00007ffff26565be in gst_selector_pad_bufferalloc (pad=0x11568a0, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8)
    at gstinputselector.c:583
#34 0x00007ffff7e59923 in gst_pad_buffer_alloc_unchecked (pad=0xb1ae00, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8,
setcaps=0)
    at gstpad.c:2999
#35 gst_pad_alloc_buffer_full (pad=0xb1ae00, offset=18446744073709551615,
size=153600, caps=
---Type <return> to continue, or q <return> to quit---
    0x0, buf=0x7fffe8cfb7a8, setcaps=0) at gstpad.c:3076
#36 0x00007ffff7e4810a in gst_proxy_pad_do_bufferalloc (pad=<value optimized
out>, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8)
    at gstghostpad.c:158
#37 0x00007ffff7e59923 in gst_pad_buffer_alloc_unchecked (pad=0x112c960, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8,
setcaps=0)
    at gstpad.c:2999
#38 gst_pad_alloc_buffer_full (pad=0x112c960, offset=18446744073709551615,
size=153600, caps=
    0x0, buf=0x7fffe8cfb7a8, setcaps=0) at gstpad.c:3076
#39 0x00007ffff7e4810a in gst_proxy_pad_do_bufferalloc (pad=<value optimized
out>, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8)
    at gstghostpad.c:158
#40 0x00007ffff7e59923 in gst_pad_buffer_alloc_unchecked (pad=0x11ba530, 
    offset=18446744073709551615, size=153600, caps=0x0, buf=0x7fffe8cfb7a8,
setcaps=1)
    at gstpad.c:2999
#41 gst_pad_alloc_buffer_full (pad=0x11ba530, offset=18446744073709551615,
size=153600, caps=
    0x0, buf=0x7fffe8cfb7a8, setcaps=1) at gstpad.c:3076
#42 0x00007ffff055e1f3 in gst_base_video_decoder_alloc_src_buffer
(base_video_decoder=
    0x14a0210) at gstbasevideodecoder.c:1474
#43 0x00007ffff05672ca in gst_schro_dec_process (schro_dec=0x14a0210, eos=0)
    at gstschrodec.c:580
#44 0x00007ffff0559f19 in gst_base_video_decoder_have_frame_2
(base_video_decoder=0x14a0210)
    at gstbasevideodecoder.c:1357
---Type <return> to continue, or q <return> to quit---
#45 0x00007ffff0567b8a in gst_schro_dec_parse_data
(base_video_decoder=0x14a0210, 
    at_eos=<value optimized out>) at gstschrodec.c:528
#46 0x00007ffff055bbcd in gst_base_video_decoder_chain (pad=<value optimized
out>, 
    buf=<value optimized out>) at gstbasevideodecoder.c:890
#47 0x00007ffff7e5e58c in gst_pad_push (pad=0x11ba230, buffer=0x112e4b0) at
gstpad.c:4684
#48 0x00007ffff265b290 in gst_single_queue_push_one (pad=<value optimized out>)
    at gstmultiqueue.c:980
#49 gst_multi_queue_loop (pad=<value optimized out>) at gstmultiqueue.c:1178
#50 0x00007ffff7e85860 in gst_task_func (task=0x11bb0c0) at gsttask.c:318
#51 0x0000003c69a6f3e4 in g_thread_pool_thread_proxy (data=<value optimized
out>)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gthreadpool.c:319
#52 0x0000003c69a6ccf6 in g_thread_create_proxy (data=0xc6cce0)
    at /tmp/buildd/glib2.0-2.28.6/./glib/gthread.c:1897
#53 0x00000032d14068ba in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#54 0x00000032d0ccf3cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#55 0x0000000000000000 in ?? ()

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