Bug#893488: gnome-shell 3.28 crashes on Radeon R9: Failed to create texture 2d due to size/format constraints

Matteo Settenvini matteo at member.fsf.org
Thu Apr 5 19:43:12 BST 2018


Il giorno sab, 31/03/2018 alle 17.47 +0100, Simon McVittie ha scritto:
> On Sat, 31 Mar 2018 at 01:04:04 +0200, Matteo Settenvini wrote:
> > I finally got round to re-install the packages that are crashing
> > for me (by the way, this seem to happen roughly the same on another
> > computer of mine, which has a nVidia graphics card).
> 
> nVidia with the proprietary drivers from nvidia-graphics-drivers, or
> nVidia with the open-source "Nouveau" driver from Mesa? (They have
> different bugs, and Nouveau in particular has quite a lot in common
> with the amdgpu driver that you're presumably using on the Radeon.)

The nVidia proprietary drivers, to be exact. But I reviewed the logs
today and maybe the problem is slightly different by attempting to also
look at a coredump.

> Unfortunately, this looks like heap corruption, so the damage was
> probably done earlier (perhaps via a double-free, or by calling
> g_free() on memory that came from g_slice_alloc()).
> 
> You might get a better backtrace from running gnome-shell with either
> G_SLICE=always-malloc MALLOC_CHECK_=2, or G_SLICE=debug-blocks, for
> instance by moving /usr/bin/gnome-shell to /usr/bin/gnome-shell.real
> and replacing it with a script like:

I can see the following:

------------------------------------------------------------------

Apr 05 20:24:19 rosebud gnome-shell.rea[3361]:
_cogl_buffer_gl_map_range: assertion 'data != ((void *)0)' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: g_error_free: assertion
'error != NULL' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]:
_cogl_buffer_bind_no_create: assertion 'ctx->current_buffer[buffer-
>last_target] != buffer' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]:
_cogl_buffer_gl_map_range: assertion 'data != ((void *)0)' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: g_error_free: assertion
'error != NULL' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]:
_cogl_buffer_bind_no_create: assertion 'ctx->current_buffer[buffer-
>last_target] != buffer' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: Failed to allocate
texture: Failed to create texture 2d due to size/format constraints
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: cogl_object_ref:
assertion 'object != ((void *)0)' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]:
clutter_texture_set_cogl_texture: assertion 'cogl_is_texture
(cogl_tex)' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: CoglError set over the
top of a previous CoglError or uninitialized memory.
                                               This indicates a bug in
someone's code. You must ensure an error is NULL before it's set.
                                               The overwriting error
message was: Sliced texture size of 16 x 16 not possible with max waste
set to -1
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]:
clutter_texture_set_cogl_texture: assertion 'cogl_is_texture
(cogl_tex)' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: CoglError set over the
top of a previous CoglError or uninitialized memory.
                                               This indicates a bug in
someone's code. You must ensure an error is NULL before it's set.
                                               The overwriting error
message was: Sliced texture size of 16 x 16 not possible with max waste
set to -1
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: Failed to allocate
texture: Failed to create texture 2d due to size/format constraints
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: cogl_object_ref:
assertion 'object != ((void *)0)' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]:
clutter_texture_set_cogl_texture: assertion 'cogl_is_texture
(cogl_tex)' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: CoglError set over the
top of a previous CoglError or uninitialized memory.
                                               This indicates a bug in
someone's code. You must ensure an error is NULL before it's set.
                                               The overwriting error
message was: Sliced texture size of 16 x 16 not possible with max waste
set to -1
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: Failed to allocate
texture: Failed to create texture 2d due to size/format constraints
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: cogl_object_ref:
assertion 'object != ((void *)0)' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]:
clutter_texture_set_cogl_texture: assertion 'cogl_is_texture
(cogl_tex)' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: CoglError set over the
top of a previous CoglError or uninitialized memory.
                                               This indicates a bug in
someone's code. You must ensure an error is NULL before it's set.
                                               The overwriting error
message was: Sliced texture size of 16 x 16 not possible with max waste
set to -1
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: Failed to allocate
texture: Failed to create texture 2d due to size/format constraints
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: cogl_object_ref:
assertion 'object != ((void *)0)' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]:
clutter_texture_set_cogl_texture: assertion 'cogl_is_texture
(cogl_tex)' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: CoglError set over the
top of a previous CoglError or uninitialized memory.
                                               This indicates a bug in
someone's code. You must ensure an error is NULL before it's set.
                                               The overwriting error
message was: Sliced texture size of 16 x 16 not possible with max waste
set to -1
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: Failed to allocate
texture: Failed to create texture 2d due to size/format constraints
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: cogl_object_ref:
assertion 'object != ((void *)0)' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]:
clutter_texture_set_cogl_texture: assertion 'cogl_is_texture
(cogl_tex)' failed
Apr 05 20:24:19 rosebud gnome-shell.rea[3361]: CoglError set over the
top of a previous CoglError or uninitialized memory.
                                               This indicates a bug in
someone's code. You must ensure an error is NULL before it's set.
                                               The overwriting error
message was: Sliced texture size of 16 x 16 not possible with max waste
set to -1

------------------------------------------------------------------

Bests,
Matteo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20180405/f81252c0/attachment.sig>


More information about the pkg-gnome-maintainers mailing list