[Bug 750199] New: crashes in gst_gl_window_x11_set_window_handle()

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun May 31 22:15:48 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=750199

            Bug ID: 750199
           Summary: crashes in gst_gl_window_x11_set_window_handle()
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: thaytan at noraisin.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Since recent-ish master (since ~ 27th May) I get crashes at startup using any
of the GL Gtk examples, trying to do X operations on a NULL Display. It looks
like gst_gl_window_x11_set_window_handle() does X operations before
gst_gl_window_x11_open() has happened.

Program received signal SIGSEGV, Segmentation fault.
XGetWindowAttributes (dpy=0x0, w=w at entry=33554445,
attr=attr at entry=0x7fffffffa210) at GetWAttrs.c:148
148        LockDisplay(dpy);
Missing separate debuginfos, use: dnf debuginfo-install
at-spi2-atk-2.16.0-1.fc22.x86_64 at-spi2-core-2.16.0-1.fc22.x86_64
bzip2-libs-1.0.6-14.fc22.x86_64 dbus-libs-1.8.18-1.fc22.x86_64
elfutils-libelf-0.161-6.fc22.x86_64 elfutils-libs-0.161-6.fc22.x86_64
expat-2.1.0-10.fc22.x86_64 graphite2-1.2.4-3.fc22.x86_64
gtk3-3.16.3-1.fc22.x86_64 gvfs-1.24.1-1.fc22.x86_64
harfbuzz-0.9.40-1.fc22.x86_64 libattr-2.4.47-9.fc22.x86_64
libbluray-0.7.0-1.fc22.x86_64 libcanberra-0.30-7.fc22.x86_64
libcanberra-gtk3-0.30-7.fc22.x86_64 libcap-2.24-7.fc22.x86_64
libdrm-2.4.61-3.fc22.x86_64 libepoxy-1.2-1.fc22.x86_64 libffi-3.1-7.fc22.x86_64
libgcc-5.1.1-1.fc22.x86_64 libjpeg-turbo-1.4.0-1.fc22.x86_64
libogg-1.3.2-2.fc22.x86_64 libpng-1.6.16-3.fc22.x86_64
libselinux-2.3-10.fc22.x86_64 libstdc++-5.1.1-1.fc22.x86_64
libtdb-1.3.4-1.fc22.x86_64 libtool-ltdl-2.4.2-34.fc22.x86_64
libvorbis-1.3.4-3.fc22.x86_64 libwayland-client-1.7.0-1.fc22.x86_64
libwayland-cursor-1.7.0-1.fc22.x86_64 libwayland-server-1.7.0-1.fc22.x86_64
libXau-1.0.8-4.fc22.x86_64 libxcb-1.11-5.fc22.x86_64
libXcomposite-0.4.4-6.fc22.x86_64 libXcursor-1.1.14-4.fc22.x86_64
libXdamage-1.1.4-6.fc22.x86_64 libXfixes-5.0.1-4.fc22.x86_64
libXi-1.7.4-2.fc22.x86_64 libXinerama-1.1.3-4.fc22.x86_64
libxkbcommon-0.5.0-1.fc22.x86_64 libxml2-2.9.2-3.fc22.x86_64
libXrandr-1.4.2-2.fc22.x86_64 libXrender-0.9.9-1.fc22.x86_64
libxshmfence-1.2-1.fc22.x86_64 libXxf86vm-1.1.4-1.fc22.x86_64
nss-softokn-freebl-3.19.0-1.0.fc22.x86_64
PackageKit-gtk3-module-1.0.6-4.fc22.x86_64 pcre-8.37-1.fc22.x86_64
pixman-0.32.6-4.fc22.x86_64 systemd-libs-219-15.fc22.x86_64
xz-libs-5.2.0-2.fc22.x86_64
(gdb) bt
#0  0x000000344c029de9 in XGetWindowAttributes (dpy=0x0, w=w at entry=33554445,
attr=attr at entry=0x7fffffffa210) at GetWAttrs.c:148
#1  0x00007fffeb5839db in gst_gl_window_x11_set_window_handle
(window=<optimized out>, id=33554445) at gstglwindow_x11.c:319
#2  0x00007fffeb57afcf in _set_window_handle_cb (data=0x9bb0a0) at
gstglwindow.c:369
#3  0x00007fffeb579ea2 in _run_message_async (message=0x7e2680) at
gstglwindow.c:695
#4  0x000000344b04ab8d in g_main_context_invoke_full (context=0x653d00,
priority=0, function=0x7fffeb579e90 <_run_message_async>, data=0x7e2680,
notify=0x0) at gmain.c:5593
#5  0x00007fffeb7b5470 in _ensure_gl_setup (gl_sink=gl_sink at entry=0xa84010
[GstGLImageSink]) at gstglimagesink.c:805
#6  0x00007fffeb7b8428 in gst_glimage_sink_change_state (element=0xa84010
[GstGLImageSink], transition=GST_STATE_CHANGE_READY_TO_PAUSED) at
gstglimagesink.c:986
#7  0x00007ffff78084e2 in gst_element_change_state
(element=element at entry=0xa84010 [GstGLImageSink],
transition=transition at entry=GST_STATE_CHANGE_READY_TO_PAUSED)
    at gstelement.c:2604

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