[gst-devel] xvideosink crash

Bastien Nocera hadess at hadess.net
Sat Jan 19 18:45:01 CET 2002


Hi,

It seems there is some bad interaction between v4lsrc and xvideosink.
xvideosink crashes, with this backtrace:

-(~/Cvs/gst-plugins/sys/v4l)-> gdb /usr/local/bin/gst-launch
GNU gdb 5.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "powerpc-linux"...
(gdb) run v4lsrc ! xvideosink
Starting program: /usr/local/bin/gst-launch v4lsrc ! xvideosink
[New Thread 1024 (LWP 17537)]
INFO (17537:-1) Initializing GStreamer Core Library
INFO (17537:-1) CPU features: (00000000) NONE

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 17537)]
gst_xvimage_new (type=844715353, window=0x0, width=160, height=120)
    at gstxvimage.c:238
    238     fo = XvListImageFormats(window->disp, im_port, &formats);
    (gdb) bt
#0  gst_xvimage_new (type=844715353, window=0x0, width=160, height=120)
        at gstxvimage.c:238
#1  0x0f706b20 in gst_xvideosink_sinkconnect (pad=0x1004b8a0,
caps=0x10035414)
            at xvideosink.c:304
#2  0x0ff69190 in gst_pad_try_set_caps_func (pad=0x1003cff8,
caps=0x10035414,
                    notify=1, set_caps=1) at gstpad.c:854
#3  0x0ff696e4 in gst_pad_try_set_caps (pad=0x10045e88, caps=0x10035414)
    at gstpad.c:930
#4  0x0f754718 in gst_v4lsrc_srcconnect (pad=0x1004b8a0,
vscapslist=0x100353c0)
        at gstv4lsrc.c:305
#5  0x0ff69190 in gst_pad_try_set_caps_func (pad=0x10045e88,
caps=0x100353c0,
                    notify=1, set_caps=1) at gstpad.c:854
#6  0x0ff69dd8 in gst_pad_try_reconnect_filtered_func (pad=0x10035350,
                    filtercaps=0x0, clear=268653112) at gstpad.c:1012
#7  0x0ff68494 in gst_pad_connect_filtered (srcpad=0x10045e88,
                    sinkpad=0x1003cff8, filtercaps=0x0) at gstpad.c:627
#8  0x0ff68634 in gst_pad_connect (srcpad=0x1004b8a0, sinkpad=0x32)
    at gstpad.c:664
#9  0x0ff7dab4 in gst_parse_launchv_recurse (argv=0x100e2b80,
                    parent=0x10043348, priv=0x10043ba0) at
gstparse.c:425
#10 0x0ff7dea8 in gst_parse_launchv (argv=0x100e2b80) at gstparse.c:510
#11 0x100014dc in main (argc=4, argv=0x7ffff864) at gst-launch.c:180
#12 0x0f856a30 in __libc_start_main () from /lib/libc.so.6

I have Xvideo support in X, and playing a video otherwise just works...
weird I'd say.

Any ideas ?

-- 
/Bastien Nocera
http://hadess.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20020119/628af21c/attachment.pgp>


More information about the gstreamer-devel mailing list