On 2019-10-31 3:11 p.m., Agustin Martin Domingo wrote:
> Package: xserver-xorg-core
> Version: 2:1.20.4-1
> Severity: important
> 
> Dear Maintainer,
> 
> X session crashes randomly, losing unsaved information.
> 
> Xorg.0.log (attached below) shows that a segfault is aborting the server.
> 
> Error starts with
> 
>   glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage
> 
> Browsing for that error I found
> 
>   [Bug 110500 - X-Server crashes - GL error: GL_OUT_OF_MEMORY in 
> glTexSubImage ]
>   https://bugs.freedesktop.org/show_bug.cgi?id=110500
> 
> with a similar backtrace.
> 
> Very similar backtraces (but for /usr/bin/Xwayland instead of
> /usr/lib/xorg/modules/libglamoregl.so) are reported in 
> 
>   [Sometimes my Ubuntu Log me out and close all applications]
>   https://gitlab.freedesktop.org/xorg/xserver/issues/833.
> 
> and
> 
>   [https://gitlab.freedesktop.org/xorg/xserver/issues/647]
>   https://gitlab.freedesktop.org/xorg/xserver/issues/647
> 
> This last one seems already fixed upstream, and there is a suggestion that
> Xwayland 1.20.5 contains the fix. Since I see libglamoregl.so in my
> backtrace I am setting xserver-xorg-core as affected package. Please
> reassign if aprppriate.

The root cause seems to be a memory leak in the nouveau drivers. While
glamor can be made more robust against not being able to allocate/update
OpenGL textures, at some point it won't be able to continue if no memory
can be allocated, so it's better to address the leak.


-- 
Earthling Michel Dänzer               |               https://redhat.com
Libre software enthusiast             |             Mesa and X developer

Reply via email to