After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 774814 - ximagesrc crashes if its display is restarted.
ximagesrc crashes if its display is restarted.
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.10.0
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-21 20:36 UTC by Stirling Westrup
Modified: 2018-11-03 15:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stirling Westrup 2016-11-21 20:36:30 UTC
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@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.
Comment 1 Nicolas Dufresne (ndufresne) 2016-11-21 21:11:21 UTC
Marking as an enhancement, don't feel offended, this just has never been supported. While doing do, maybe would be nice to add ximagesink and xvimagesink support.
Comment 2 Stirling Westrup 2016-11-22 20:07:33 UTC
Nah, not offended. I considered marking it as a Feature, but I feel that anything that causes an uncontrolled shutdown of the pipeline is a bug, whether or not its something that is actively reported.

In any case, it would be nice if ximagesink and xvimagesink were also able to survive a server reset, but as we've been moving away from using those elements, the need for us isn't as high.
Comment 3 GStreamer system administrator 2018-11-03 15:14:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/328.