Frequent crash related to glamor
On Fedora 31 (details below), Xorg (must be the x11 variant, since KDE isn't running on wayland yet) crashes frequently, dumping core as follows:
#0 raise (libc.so.6)
#1 abort (libc.so.6)
#2 OsAbort (Xorg)
#3 AbortServer (Xorg)
#4 FatalError (Xorg)
#5 OsSigHandler (Xorg)
#6 __restore_rt (libpthread.so.0)
#7 glamor_bind_texture (libglamoregl.so)
#8 glamor_set_composite_texture.isra.0 (libglamoregl.so)
#9 glamor_composite_set_shader_blend.isra.0 (libglamoregl.so)
#10 glamor_composite_clipped_region (libglamoregl.so)
#11 glamor_composite (libglamoregl.so)
#12 damageComposite (Xorg)
#13 glamor_trapezoids (libglamoregl.so)
#14 ProcRenderTrapezoids (Xorg)
#15 Dispatch (Xorg)
#16 dix_main (Xorg)
#17 __libc_start_main (libc.so.6)
#18 _start (Xorg)
It's not really reproduceable; it seems to happen at random - but especially when using applications like Nautilus, LibreOffice, KiCAD. So it might be coming from/triggered by something in GTK
. Sometimes Folder Icons in Nautilus or Text in LibreOffice are not displayed correctly (color/grey stripes going through icons, characters replaced with other symbols). Im not entirely sure if it's Xorg or maybe my old graphics card causing the issue, but Xorg crashes everytime when something goes wrong.
Note: Some of the rendering defects look like the ones shown in #941 (moved). But it usually doesn't happen in the whole window, but just within a button or icon.
The issue has been there for quite long - maybe more than a year.
This might be related to: !140 (merged)
System Info
Graphics Card: NVIDIA GT260, Driver: nouveau, OpenGL: 3.3 (Compatibility Profile) Mesa 19.2.8
Xorg:
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
Build Operating System: 5.0.6-200.fc29.x86_64
Current Operating System: Linux [...] 5.3.16-300.fc31.x86_64 #1 SMP Fri Dec 13 17:59:04 UTC 2019 x86_64
Kernel command line: BOOT_IMAGE=[...] root=[...] ro rhgb quiet resume=[...]
Build Date: 25 November 2019 12:00:00AM
Build ID: xorg-x11-server 1.20.6-1.fc31
Current version of pixman: 0.38.4
KDE Plasma: 5.17.4
KDE Framework version: 5.64.0
Log:
[ 2011.616] (EE) client bug: timer event3 debounce short: offset negative (-2ms)
[ 2902.182] (EE) client bug: timer event3 debounce short: offset negative (-2ms)
[ 76007.213] (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage
[ 76007.213] (WW) glamor: Failed to allocate 16x16 FBO due to GL_OUT_OF_MEMORY.
[ 76007.213] (WW) glamor: Expect reduced performance.
[ 82713.092] (EE) client bug: timer event3 debounce short: offset negative (-2ms)