Segmentation fault crocus_dri.so (X server dies)
referals
detailed bug report in: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1989964
xorg.log in: https://launchpadlibrarian.net/623790845/XorgLogOld.txt
excerpt
[335847.470] (EE) Backtrace:
[335847.472] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x55a7fb3586e9]
[335847.505] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x50) [0x7fd653b6b520]
[335847.534] (EE) 2: /usr/lib/x86_64-linux-gnu/dri/crocus_dri.so (nouveau_drm_screen_create+0x77a917) [0x7fd65266a4d7]
[335847.562] (EE) 3: /usr/lib/x86_64-linux-gnu/dri/crocus_dri.so (nouveau_drm_screen_create+0x77b827) [0x7fd65266b3e7]
[335847.593] (EE) 4: /usr/lib/x86_64-linux-gnu/dri/crocus_dri.so (nouveau_drm_screen_create+0x783358) [0x7fd652672f18]
[335847.622] (EE) 5: /usr/lib/x86_64-linux-gnu/dri/crocus_dri.so (nouveau_drm_screen_create+0x7bb79d) [0x7fd6526ab35d]
[335847.653] (EE) 6: /usr/lib/x86_64-linux-gnu/dri/crocus_dri.so (__driDriverGetExtensions_d3d12+0x55c336) [0x7fd651be1d56]
[335848.033] (EE) Segmentation fault at address 0x14
[335848.033] (EE)
Fatal server error:
[335848.033] (EE) Caught signal 11 (Segmentation fault). Server aborting
speculation
repeated entries in the log:
[335842.604] (WW) glamor: Failed to allocate 128x88 FBO due to GL_OUT_OF_MEMORY.
[335842.604] (WW) glamor: Expect reduced performance.
[335844.555] (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glMapBuffer(map failed)
followed by
[335844.561] (EE) glamor0: GL error: GL_INVALID_OPERATION in glUnmapBuffer(buffer is not mapped)
It looks like a failed allocation is not detected, and an illegal unmap follows.
From a distant it looks like an application is exhausting the Xserver memory, en the Xserver is not robust enough to report these problems to the application program and stay unaffected.
When it is followed by a segmentation error later it sure looks like memory corruption, due to not detecting the failure return from glMapBuffer.