Bug 1301711

Summary: [RHEL-7.3] gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0
Product: Red Hat Enterprise Linux 7 Reporter: PaulB <pbunyan>
Component: gnome-sessionAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: bpeck, hayrol, jburke, jwright, pbunyan, rik.theys, rstrode
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-01 17:00:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
my_pc_messages
none
yum_foo none

Description PaulB 2016-01-25 18:37:09 UTC
Summary: 
 Running RHEL-7.2 Workstation with RHEL-7.2Z updates,
I have several workspaces each with several applications 
running. I locked my screen to step away from the computer.
Returning short time later, I tapped the spacebar
to turn dual monitors back on in order to login. 
I logged in with my password and all my previously
open applications were closed :/

Description of problem:
The following Fatal error seen in /var/log/messages at the 
time frame of the incident:
 gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0

Version-Release number of selected component (if applicable):
 distro: RHEL-7.2
 kernel:  3.10.0-327.3.1.el7.x86_64
 gnome-shell.x86_64:            3.14.4-37.el7
 gnome-settings-daemon.x86_64   3.14.4-9.el7      

How reproducible:
 unknown

Actual results:
# cat /var/log/messages | grep Fatal
Jan 25 10:27:08 my_pc gnome-session: (gnome-settings-daemon:3356): Gdk-WARNING **: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 25 10:27:08 my_pc gnome-session: (gnome-shell:3434): Gdk-WARNING **: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 25 10:27:08 my_pc gnome-session: (nautilus:3573): Gdk-WARNING **: nautilus: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 25 10:27:08 my_pc gnome-session: (rhsm-icon:3580): Gdk-WARNING **: rhsm-icon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 25 10:27:08 my_pc gnome-session: seapplet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 25 10:27:08 my_pc hexchat.desktop: hexchat: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 25 10:27:08 my_pc gnome-session: (abrt:3591): Gdk-WARNING **: abrt: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 25 10:27:08 my_pc mozilla-thunderbird.desktop: thunderbird: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 25 10:27:08 my_pc gnome-session: (vino-server:3445): Gdk-WARNING **: vino-server: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 25 10:27:08 my_pc mozilla-thunderbird.desktop: firefox: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

# cat /var/log/messages | grep -i critical
Jan 25 08:47:38 my_pc mozilla-thunderbird.desktop: (thunderbird:30042): Gtk-CRITICAL **: IA__gtk_clipboard_set_with_data: assertion 'targets != NULL' failed
Jan 25 09:50:48 my_pc mozilla-thunderbird.desktop: (firefox:4637): Gtk-CRITICAL **: IA__gtk_clipboard_set_with_data: assertion 'targets != NULL' failed
Jan 25 10:27:08 my_pc gnome-session: (tracker-miner-fs:3589): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
Jan 25 10:27:08 my_pc gnome-session: (tracker-miner-fs:3589): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
Jan 25 10:27:08 my_pc gnome-session: (tracker-miner-fs:3589): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
Jan 25 10:27:25 my_pc gnome-session: (vino-server:14499): EggSMClient-CRITICAL **: egg_sm_client_set_mode: assertion 'global_client == NULL || global_client_mode == EGG_SM_CLIENT_MODE_DISABLED' failed
Jan 25 10:36:14 my_pc firefox.desktop: (firefox:15409): Gtk-CRITICAL **: IA__gtk_clipboard_set_with_data: assertion 'targets != NULL' failed
Jan 25 12:04:10 my_pc firefox.desktop: ** (firefox:15409): CRITICAL **: gst_app_src_set_size: assertion 'GST_IS_APP_SRC (appsrc)' failed
#

Expected results:
 No Fatal errors
 No Critical errors

Additional info:
 -RHEL-7.2Z updates attached
 -/var/log/messages attached

Comment 1 PaulB 2016-01-25 18:38:21 UTC
Created attachment 1118161 [details]
my_pc_messages

Comment 2 PaulB 2016-01-25 18:38:59 UTC
Created attachment 1118162 [details]
yum_foo

Comment 3 PaulB 2016-01-25 18:44:49 UTC
All,
Let me clarify...
Im not "logging back in" to my pc - Im unlocking the screen.

Best,
-pbunyan

Comment 5 PaulB 2016-10-26 15:10:47 UTC
Ray,
I have been moving along with zstream updates on my PC and have not reproduced
this particular issue.

This BZ has been quiet. So feel free to close - if you wish.

I can reopen should the issue surface again...

Best,
-pbunyan

Comment 6 Ray Strode [halfline] 2016-10-26 16:39:01 UTC
okay, it's probably an X server crash of some sort, but hard to say. Given there's no customer case attached and there aren't duplicate reports, I'll close for now. reopen if it happens again, and we can try to dig further!

Comment 7 Hayrol Reyes 2017-02-25 06:25:58 UTC
Same thing happens to me, several times... when I left my machine for a while and try to unlock my current session, which already has several process running and some X application holding on.


Red Hat Enterprise Linux Server release 7.3 (Maipo) - on Lenovo ThinkPad W510.

...
Feb 24 23:33:10 w510 dbus-daemon: dbus[849]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service'
Feb 24 23:33:10 w510 dbus[849]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service'
Feb 24 23:33:10 w510 systemd: Cannot add dependency job for unit microcode.service, ignoring: Unit is not loaded properly: Invalid argument.
Feb 24 23:33:10 w510 systemd: Starting Fingerprint Authentication Daemon...
Feb 24 23:33:10 w510 dbus[849]: [system] Successfully activated service 'net.reactivated.Fprint'
Feb 24 23:33:10 w510 dbus-daemon: dbus[849]: [system] Successfully activated service 'net.reactivated.Fprint'
Feb 24 23:33:10 w510 systemd: Started Fingerprint Authentication Daemon.
Feb 24 23:33:10 w510 fprintd: Launching FprintObject
Feb 24 23:33:10 w510 fprintd: ** Message: D-Bus service launched with name: net.reactivated.Fprint
Feb 24 23:33:10 w510 fprintd: ** Message: entering main loop
Feb 24 23:33:11 w510 kernel: gdm-session-wor[3373]: segfault at 10 ip 00007fd018a6e13a sp 00007ffcfd878050 error 4 in gdm-session-worker[7fd018a61000+39000]
Feb 24 23:33:11 w510 gnome-session: (gnome-settings-daemon:3621): Gdk-WARNING **: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Feb 24 23:33:11 w510 gnome-session: (tracker-miner-fs:3851): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.UDisks2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Feb 24 23:33:11 w510 gnome-session: (tracker-miner-fs:3851): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.MTPVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Feb 24 23:33:11 w510 gnome-session: (tracker-miner-fs:3851): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.AfcVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Feb 24 23:33:11 w510 gnome-session: (tracker-miner-fs:3851): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.GPhoto2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Feb 24 23:33:11 w510 gnome-session: (tracker-miner-fs:3851): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.GoaVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Feb 24 23:33:11 w510 gnome-session: Received signal:15->'Terminated'
Feb 24 23:33:11 w510 gnome-session: (tracker-miner-fs:3851): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
Feb 24 23:33:11 w510 gnome-session: (tracker-miner-fs:3851): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
Feb 24 23:33:11 w510 gnome-session: Received signal:15->'Terminated'
Feb 24 23:33:11 w510 gnome-session: OK
Feb 24 23:33:11 w510 gnome-session: (tracker-miner-fs:3851): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
Feb 24 23:33:11 w510 gnome-session: Received signal:15->'Terminated'
Feb 24 23:33:11 w510 bluetoothd[881]: Endpoint unregistered: sender=:1.84 path=/MediaEndpoint/A2DPSource
Feb 24 23:33:11 w510 bluetoothd[881]: Endpoint unregistered: sender=:1.84 path=/MediaEndpoint/A2DPSink
Feb 24 23:33:11 w510 gnome-session: (gnome-shell:3711): Gdk-WARNING **: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Feb 24 23:33:11 w510 gnome-session: Received signal:15->'Terminated'
Feb 24 23:33:11 w510 gnome-session: OK
Feb 24 23:33:11 w510 gnome-session: OK
Feb 24 23:33:11 w510 gnome-session: (nautilus:3840): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.UDisks2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Feb 24 23:33:11 w510 gnome-session: (nautilus:3840): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.MTPVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Feb 24 23:33:11 w510 gnome-session: (nautilus:3840): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.AfcVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Feb 24 23:33:11 w510 gnome-session: (nautilus:3840): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.GPhoto2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Feb 24 23:33:11 w510 gnome-session: (nautilus:3840): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.GoaVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Feb 24 23:33:11 w510 gnome-session: ICE default IO error handler doing an exit(), pid = 3919, errno = 32
Feb 24 23:33:11 w510 gnome-session: (org.gnome.Software:3863): Gs-WARNING **: lost session service
Feb 24 23:33:11 w510 gnome-session: seapplet: Fatal IO error 0 (Success) on X server :0.
Feb 24 23:33:11 w510 google-chrome.desktop: [5843:5843:0224/233311.128804:ERROR:x11_util.cc(87)] X IO error received (X server probably went away)
Feb 24 23:33:11 w510 google-chrome.desktop: [5752:5752:0224/233311.129772:ERROR:chrome_browser_main_extra_parts_x11.cc(62)] X IO error received (X server probably went away)
Feb 24 23:33:11 w510 gnome-session: #
Feb 24 23:33:11 w510 gnome-session: # A fatal error has been detected by the Java Runtime Environment:
Feb 24 23:33:11 w510 gnome-session: #
Feb 24 23:33:11 w510 gnome-session: #  SIGSEGV (0xb) at pc=0x00007fb66d06973a, pid=13922, tid=0x00007fb666aa4700
Feb 24 23:33:11 w510 gnome-session: #
Feb 24 23:33:11 w510 gnome-session: # JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
Feb 24 23:33:11 w510 gnome-session: # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops)
Feb 24 23:33:11 w510 gnome-session: # Problematic frame:
Feb 24 23:33:11 w510 gnome-session: # v  ~BufferBlob::jni_fast_GetLongField
Feb 24 23:33:11 w510 gnome-session: #
Feb 24 23:33:11 w510 gnome-session: # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
Feb 24 23:33:11 w510 gnome-session: #
Feb 24 23:33:11 w510 gnome-session: # An error report file with more information is saved as:
Feb 24 23:33:11 w510 gnome-session: # /opt/SoapUI-5.3.0/bin/hs_err_pid13922.log
Feb 24 23:33:11 w510 gnome-session: java: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Feb 24 23:33:11 w510 gnome-session: pure virtual method called
Feb 24 23:33:11 w510 gnome-session: (eclipsews:4344): Gdk-WARNING **: eclipsews: Fatal IO error 2 (No such file or directory) on X server :0.
Feb 24 23:33:11 w510 gnome-session: (eclipse:13806): Gdk-WARNING **: eclipse: Fatal IO error 2 (No such file or directory) on X server :0.
Feb 24 23:33:12 w510 google-chrome.desktop: Failed to tell parent about crash.
Feb 24 23:33:12 w510 abrt-hook-ccpp: Process 2245 (chrome) of user 1000 killed by SIGSEGV - dumping core
Feb 24 23:33:12 w510 abrt-hook-ccpp: Failed to create core_backtrace: dwfl_getthread_frames failed: No DWARF information found
Feb 24 23:33:12 w510 abrt-server: Package 'google-chrome-stable' isn't signed with proper key
Feb 24 23:33:12 w510 abrt-server: 'post-create' on '/var/spool/abrt/ccpp-2017-02-24-23:33:12-2245' exited with 1
Feb 24 23:33:12 w510 abrt-server: Deleting problem directory '/var/spool/abrt/ccpp-2017-02-24-23:33:12-2245'
Feb 24 23:33:12 w510 kernel: chrome[2245]: segfault at 968 ip 00007f63271b7e30 sp 00007ffca320afd0 error 4 in libX11.so.6.3.0[7f632718a000+138000]
Feb 24 23:33:12 w510 gdm: Freeing conversation 'gdm-password' with active job
Feb 24 23:33:13 w510 gdm: AccountsService: ActUserManager: user (null) has no username (object path: /org/freedesktop/Accounts/User42, uid: 0)
Feb 24 23:33:13 w510 gdm: could not save session and language settings
Feb 24 23:33:13 w510 systemd: Created slice user-42.slice.
Feb 24 23:33:13 w510 systemd: Starting user-42.slice.
Feb 24 23:33:13 w510 systemd-logind: New session c2 of user gdm.
Feb 24 23:33:13 w510 systemd: Started Session c2 of user gdm.
Feb 24 23:33:13 w510 systemd: Starting Session c2 of user gdm.
Feb 24 23:33:13 w510 gdm: GLib-GObject: instance of invalid non-instantiatable type '(null)'
Feb 24 23:33:13 w510 gdm: GLib-GObject: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Feb 24 23:33:13 w510 gnome-session: gnome-session[2267]: WARNING: Error getting login monitor: -13
Feb 24 23:33:13 w510 gnome-session[2267]: WARNING: Error getting login monitor: -13
Feb 24 23:33:13 w510 spice-vdagent[2291]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
Feb 24 23:33:13 w510 gnome-session: gnome-session[2267]: WARNING: App 'spice-vdagent.desktop' exited with code 1
Feb 24 23:33:13 w510 gnome-session[2267]: WARNING: App 'spice-vdagent.desktop' exited with code 1
Feb 24 23:33:13 w510 gnome-session: Entering running state
...

Comment 8 Joe Wright 2017-11-01 16:57:56 UTC
Looks like this has resurfaced. two instances of this on one machine:


Window manager warning: last_focus_time (1455240804) is greater than comparison timestamp (865528660).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Window manager warning: last_user_time (1455240804) is greater than comparison timestamp (865528660).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Window manager warning: 0x200007 (VNC config) appears to be one of the offending windows with a timestamp of 1455240834.  Working around...
Window manager warning: 0x1000028 (Bottom Exp) appears to be one of the offending windows with a timestamp of 1455240961.  Working around...
Window manager warning: 0x1000003 (Top Expand) appears to be one of the offending windows with a timestamp of 1455240926.  Working around...
gnome-settings-daemon: Fatal IO error 9 (Bad file descriptor) on X server :8.
Window manager warning: Fatal IO error 4 (Interrupted system call) on display ':8'.
gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :8.


Window manager warning: last_focus_time (1457015847) is greater than comparison timestamp (865528480).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Window manager warning: last_user_time (1457015847) is greater than comparison timestamp (865528480).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Window manager warning: 0x200007 (VNC config) appears to be one of the offending windows with a timestamp of 1457015860.  Working around...
Window manager warning: 0x1000003 (Top Expand) appears to be one of the offending windows with a timestamp of 1457015916.  Working around...
Window manager warning: 0x1000028 (Bottom Exp) appears to be one of the offending windows with a timestamp of 1457015929.  Working around...
Window manager warning: Fatal IO error 11 (Resource temporarily unavailable) on display ':12'.
gnome-settings-daemon: Fatal IO error 9 (Bad file descriptor) on X server :12.
gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :12.



This is occurring in VNC sessions.

Comment 9 Joe Wright 2017-11-01 17:00:53 UTC
Scratch the prior, customer is on RHEL 6