[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Random crashes relatid to Xorg



Hello Xorg maintainers,


I've been experiencing increasing instability and random crashes on
Debian oldstable, with error logs probably pointing to the Xorg server,
libc, radeonsi driver, Cinnamon or its dependencies - maybe the input
bus configuration or implementation  is involved in some way, too.
I should mention, that I had changed the Cinnamon setings for windows
behavior for ALT+TAB to "Coverflow 3D" (switched back to "Icons only"
now), but this kind of problem occured before.

Usually, when switching applications with ALT+TAB, it so happens, that
window decorations and keyboard input ability gets lost (input in text
fields, not shortcuts like ALT+TAB), while the screen goes dark for a
moment.

The problem approaches in several stages; at first, the window
decorations disappear / become inaccessible, and all keyboard-input
based fields, too, while the mouse is still functional (at least until
further freezes occur, which usually follows some time after).

Experiencing similar problems ealier last year, I could usually use a
terminal root login to kill off the running process "cinnamon --replace"
and restart it with manually running the same command, which would
restart the window decorator, keeping the xsession and all applications
up and running, being able to continue working.

Now, "cinnamon --replace" will not show up anymore in the process
manager anymore, or killing and restarting it would not help, as a
"connection to xserver" fails, when trying it.

The window decorations will not be replaced properly and / or the system
becomes unstable:

I had even the problem not being able to use the terminal (Alt+F2)
anymore, at least once.

Even if I restart the whole desktop with "service lightd restart", after
logging in and running Eclipse, the whole desktop crashes to login again
(probably on ALT+TAB) and a complete restart is required, unsaved work lost.

Maybe trying to fix a problem with the flickering Eclipse code view also
was detrimental to the system stability; as suggested by others, this
would be occuring due to a wrong system input bus configuration, as

echo $GTK_IM_MODULE in the terminal

showed "xkb", which it obviously shouldn't, for "IBus" is installed in
Debian, as default.

To fix this, I tried to add

export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="ibus"
export XMODIFIERS="@im=ibus"

and alternatively

"fcitx"

to both .bashrc and /etc/profile. None of this helped, btw., though echo
 outputs the altered input bus settings - right now, "ibus" is set.

The crashing window decorator occured before, maybe not as often as now
(about 2-3 times a day at least).


#############################################

.xsession-xerrors.old shows:

(Eclipse:7401): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion
'size >= 0' failed in GtkScrollbar
...271:
(Eclipse:7401): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion
'size >= 0' failed in GtkScrollbar
(cinnamon-settings-daemon:7258): color-plugin-WARNING **: failed to
connect to device: Failed to connect to missing device
/org/freedesktop/ColorManager/devices/cups_CLX_3300_Series
(cinnamon-settings-daemon:7258): color-plugin-WARNING **: failed to
connect to device: Failed to connect to missing device
/org/freedesktop/ColorManager/devices/cups_PDF
(cinnamon-settings-daemon:7258): color-plugin-WARNING **: failed to
connect to device: Failed to connect to missing device
/org/freedesktop/ColorManager/devices/cups_Samsung_CLX_3300_Series
(Eclipse:7401): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion
'size >= 0' failed in GtkScrollbar
...391:
(Eclipse:7401): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion
'size >= 0' failed in GtkScrollbar
Gdk-Message: /usr/lib/firefox-esr/firefox-esr: Fatal IO error 11 (Die
Ressource ist zur Zeit nicht verfügbar) on X server :0.
...
Gdk-Message: /usr/lib/firefox-esr/firefox-esr: Fatal IO error 11 (Die
Ressource ist zur Zeit nicht verfügbar) on X server :0.
Gdk-Message: firefox-esr: Fatal IO error 11 (Die Ressource ist zur Zeit
nicht verfügbar) on X server :0.
Gdk-Message: /usr/lib/firefox-esr/firefox-esr: Fatal IO error 11 (Die
Ressource ist zur Zeit nicht verfügbar) on X server :0.
Gdk-Message: Eclipse: Fatal IO error 0 (Erfolg) on X server :0.
Gdk-Message: WebKitWebProcess: Fatal IO error 11 (Die Ressource ist zur
Zeit nicht verfügbar) on X server :0.
Gdk-Message: nm-applet: Fatal IO error 11 (Die Ressource ist zur Zeit
nicht verfügbar) on X server :0.
Gdk-Message: cinnamon-settings-daemon: Fatal IO error 11 (Die Ressource
ist zur Zeit nicht verfügbar) on X server :0.
Gdk-Message: polkit-gnome-authentication-agent-1: Fatal IO error 11 (Die
Ressource ist zur Zeit nicht verfügbar) on X server :0.
Gdk-Message: cinnamon-killer-daemon: Fatal IO error 11 (Die Ressource
ist zur Zeit nicht verfügbar) on X server :0.
Gdk-Message: nemo: Fatal IO error 11 (Die Ressource ist zur Zeit nicht
verfügbar) on X server :0.
Gdk-Message: plank: Fatal IO error 11 (Die Ressource ist zur Zeit nicht
verfügbar) on X server :0.
Gdk-Message: cinnamon-screensaver-main.py: Fatal IO error 11 (Die
Ressource ist zur Zeit nicht verfügbar) on X server :0.
Gdk-Message: cinnamon: Fatal IO error 11 (Die Ressource ist zur Zeit
nicht verfügbar) on X server :0.
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden
Gdk-Message: cinnamon-launcher: Fatal IO error 2 (Datei oder Verzeichnis
nicht gefunden) on X server :0.
Gdk-Message: eclipse: Fatal IO error 0 (Erfolg) on X server :0.
Window manager error: Unable to open X display :0
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden
x-session-manager[7161]: CRITICAL: t+19531,05641s: We failed, but the
fail whale is dead. Sorry....
Gdk-Message: x-session-manager: Fatal IO error 104 (Die Verbindung wurde
vom Kommunikationspartner zurückgesetzt) on X server :0.


#############################################

/var/log/Xorg.0.log:

less /var/log/Xorg.0.log.old | egrep 'EE'
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 22617.661] (EE)
[ 22617.661] (EE) Backtrace:
[ 22617.667] (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x4a)
[0x55cbbda5166a]
[ 22617.667] (EE) 1: /usr/lib/xorg/Xorg (0x55cbbd898000+0x1bd3f9)
[0x55cbbda553f9]
[ 22617.667] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0
(0x7fa6af1fb000+0x110e0) [0x7fa6af20c0e0]
[ 22617.667] (EE) 3: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
(0x7fa6a865b000+0x6448c0) [0x7fa6a8c9f8c0]
[ 22617.667] (EE) 4: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
(0x7fa6a865b000+0x640cec) [0x7fa6a8c9bcec]
[ 22617.667] (EE) 5: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
(0x7fa6a865b000+0x6410fd) [0x7fa6a8c9c0fd]
[ 22617.667] (EE) 6: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
(0x7fa6a865b000+0x6637c6) [0x7fa6a8cbe7c6]
[ 22617.667] (EE) 7: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
(0x7fa6a865b000+0x3dc8c5) [0x7fa6a8a378c5]
[ 22617.667] (EE) 8: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
(0x7fa6a865b000+0x1e9bc9) [0x7fa6a8844bc9]
[ 22617.667] (EE) 9: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
(0x7fa6a865b000+0x1a9b1a) [0x7fa6a8804b1a]
[ 22617.667] (EE) 10: /usr/lib/xorg/modules/libglamoregl.so
(0x7fa6a1d7b000+0x19f66) [0x7fa6a1d94f66]
[ 22617.667] (EE) 11: /usr/lib/xorg/Xorg (0x55cbbd898000+0x1405b8)
[0x55cbbd9d85b8]
[ 22617.667] (EE) 12: /usr/lib/xorg/modules/libglamoregl.so
(0x7fa6a1d7b000+0x244c6) [0x7fa6a1d9f4c6]
[ 22617.667] (EE) 13: /usr/lib/xorg/modules/libglamoregl.so
(0x7fa6a1d7b000+0x243a1) [0x7fa6a1d9f3a1]
[ 22617.667] (EE) 14: /usr/lib/xorg/Xorg (0x55cbbd898000+0x134992)
[0x55cbbd9cc992]
[ 22617.667] (EE) 15: /usr/lib/xorg/Xorg (0x55cbbd898000+0x54725)
[0x55cbbd8ec725]
[ 22617.667] (EE) 16: /usr/lib/xorg/Xorg (0x55cbbd898000+0x586a8)
[0x55cbbd8f06a8]
[ 22617.667] (EE) 17: /lib/x86_64-linux-gnu/libc.so.6
(__libc_start_main+0xf1) [0x7fa6aee7b2e1]
[ 22617.667] (EE) 18: /usr/lib/xorg/Xorg (_start+0x2a) [0x55cbbd8da33a]
[ 22617.667] (EE)
[ 22617.668] (EE) Segmentation fault at address 0x0
[ 22617.668] (EE)
[ 22617.668] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 22617.668] (EE)
[ 22617.668] (EE)
[ 22617.668] (EE) Please also check the log file at
"/var/log/Xorg.0.log" for additional information.
[ 22617.668] (EE)
[ 22617.686] (EE) Server terminated with error (1). Closing log file.


#############################################

My setup here is:

- Debian oldstable
- Xorg 1:7.7+19
- AMD RX580 + firmware-amd-graphics 20161130-5
- libdrm-radeon1 2.4.74-1
- xserver-xorg-video-amdgpu 1.2.0-1+b1
- xserver-xorg-video-radeon 1:7.8.0-1+b1
- libc6 2.24-11+deb9u4
- linux-image-4.9.0-9-amd64
- cinnamon 3.2.7-4
- Eclipse 2019-12 + jdk-13.0.1-ojdkbuild


Do you have any insights on this for me to share?

Best regards,
brunn


Reply to: