[Bug 745516] New: xvimagesink: race condition causes crash in XCB

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 3 03:06:24 PST 2015


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

            Bug ID: 745516
           Summary: xvimagesink: race condition causes crash in XCB
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: vincent.penquerch at collabora.co.uk
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I could get a fairly reliable crash with:

gst-play-1.0 dvd:///someisofile

On an ISO file with a menu (125 MB), clicking on the menu to start a video.

It is fixed by adding XInitThreads to _class_init, but this seems to maybe not
be the best fix, since:
- ximagesink does not have it, and does not crash
- 432790c4ff89aa0f51c9dc9d68048b52f9e7c343 in -base hints it should not be our
problem

The original error:

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 1466 requests (1466 known processed) with 0 events remaining.

And another one, much rarer version, which helped a lot:

[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been
called
[xcb] Aborting, sorry about that.
gst-play-1.0: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion
`!xcb_xlib_unknown_req_in_deq' failed.
Aborted (core dumped)

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