[Bug 774814] New: ximagesrc crashes if its display is restarted.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 21 20:36:30 UTC 2016


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

            Bug ID: 774814
           Summary: ximagesrc crashes if its display is restarted.
    Classification: Platform
           Product: GStreamer
           Version: 1.10.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: swestrup at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

We have a pipeline that we wish to keep running as long as possible, even in
the face of various failures. In particular, we sometimes need to restart X
seervers. If we are currently using ximagesrc to capture from that X server,
then restarting the server will crash ximagesrc:

[root at chronos ~]# gst-launch-1.0 ximagesrc display-name=:46 ! fakesink
sync=true
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

# pkill -fl -9 "Xorg :46"

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

This brings down our entire pipeline, even when we are handling dozens of video
outputs and only one or two would be logically affected by the loss of the
input.
We would far rather have a black screen, possibly accompanied by an internal
pipeline message, than a crash if an X server is rebooted.

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