gnome-shell/budgie-wm crashes with SIGSEGV in _cogl_unpack_bgra_8888_8 from _cogl_unpack_8 from _cogl_bitmap_convert_into_bitmap

Bug #1821014 reported by David Kedves on 2019-03-20
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
budgie-desktop (Ubuntu)
Undecided
Unassigned
gnome-shell (Ubuntu)
Undecided
Unassigned
mutter (Ubuntu)
Undecided
Unassigned

Bug Description

https://errors.ubuntu.com/problem/7700ef9eb2ee16eefb57a28cc0d72a9b11528630

Sometimes it crashes, i think i was trying to move a window to the right side of the screen when this happened.

Backtrace:
sudo gdb /usr/bin/budgie-wm /tmp/coredump.budgie-wm.12829.kedz-i7s850.1553090616
GNU gdb (Ubuntu 8.2-0ubuntu1) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/budgie-wm...Reading symbols from /usr/lib/debug/.build-id/4b/fb3bfed09d0116b7a46bbe32d4a9546a9c12d4.debug...done.
done.
[New LWP 12829]
[New LWP 12841]
[New LWP 12842]
[New LWP 12934]
[New LWP 12933]
[New LWP 12839]
[New LWP 16576]
[New LWP 12940]
[New LWP 12935]
[New LWP 12936]
[New LWP 12938]
[New LWP 12937]
[New LWP 12939]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `budgie-wm'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 _cogl_unpack_bgra_8888_8 (width=<optimized out>, dst=0x55eca12b3b90 "",
    src=0x7fc51f384000 <error: Cannot access memory at address 0x7fc51f384000>)
    at cogl-bitmap-packing.h:143
143 cogl-bitmap-packing.h: No such file or directory.
[Current thread is 1 (Thread 0x7fc569925f40 (LWP 12829))]
(gdb) back
#0 0x00007fc56fecb210 in _cogl_unpack_bgra_8888_8
    (width=<optimized out>, dst=0x55eca12b3b90 "", src=0x7fc51f384000 <error: Cannot access memory at address 0x7fc51f384000>) at cogl-bitmap-packing.h:143
#1 0x00007fc56fecb210 in _cogl_unpack_8
    (width=1808, dst=0x55eca12b35d0 "\016A\020\b", src=0x7fc51f383a40 "\020A\016\bd", format=COGL_PIXEL_FORMAT_BGRA_8888_PRE) at cogl-bitmap-packing.h:362
#2 0x00007fc56fecb210 in _cogl_bitmap_convert_into_bitmap
    (src_bmp=src_bmp@entry=0x55ec9f8c2ac0, dst_bmp=dst_bmp@entry=0x7fc55c006a30, error=error@entry=0x7fffddb7e818) at cogl-bitmap-conversion.c:454
#3 0x00007fc56fecc2fc in _cogl_bitmap_convert
    (src_bmp=0x55ec9f8c2ac0, dst_format=COGL_PIXEL_FORMAT_RGB_888, error=0x7fffddb7e818)
    at cogl-bitmap-conversion.c:509
#4 0x00007fc56fecc446 in _cogl_bitmap_convert_for_upload
    (src_bmp=src_bmp@entry=0x55ec9f8c2ac0, internal_format=<optimized out>, can_convert_in_place=can_convert_in_place@entry=0, error=error@entry=0x7fffddb7e818) at cogl-bitmap-conversion.c:610
#5 0x00007fc56feb2d68 in _cogl_texture_2d_gl_copy_from_bitmap
    (tex_2d=0x55ec9f7fdf10, src_x=0, src_y=0, width=1808, height=784, bmp=0x55ec9f8c2ac0, dst_x=0, dst_y=0, level=0, error=0x7fffddb7e818) at driver/gl/cogl-texture-2d-gl.c:765
#6 0x00007fc56feeb5c5 in _cogl_texture_2d_set_region
    (tex=0x55ec9f7fdf10, src_x=<optimized out>, src_y=<optimized out>, dst_x=<optimized out>, dst_y=<optimized out>, width=<optimized out>, height=784, level=0, bmp=0x55ec9f8c2ac0, error=0x7fffddb7e818)
    at cogl-texture-2d.c:613
#7 0x00007fc56feeb014 in _cogl_texture_set_region
    (texture=0x55ec9f7fdf10, width=width@entry=1808, height=height@entry=784, format=format@entry=COGL_PIXEL_FORMAT_BGRA_8888_PRE, rowstride=<optimized out>, data=<optimized out>, dst_x=0, dst_y=0, level=0, error=0x7fffddb7e818) at cogl-texture.c:464
#8 0x00007fc56ff084d4 in _cogl_texture_pixmap_x11_update_image_texture (tex_pixmap=0x55ec9f7fde00)
    at winsys/cogl-texture-pixmap-x11.c:747
#9 0x00007fc56ff084d4 in _cogl_texture_pixmap_x11_update
    (tex_pixmap=0x55ec9f7fde00, needs_mipmap=<optimized out>) at winsys/cogl-texture-pixmap-x11.c:804
#10 0x00007fc56ff08b03 in _cogl_texture_pixmap_x11_pre_paint (tex=0x55ec9f7fde00, flags=(unknown: 0))
    at winsys/cogl-texture-pixmap-x11.c:1051
#11 0x00007fc56feddded in _cogl_pipeline_layer_pre_paint (layer=0x55eca12f4030)
    at cogl-pipeline-layer.c:864
#12 0x00007fc56fedc197 in _cogl_pipeline_pre_paint_for_layer
    (pipeline=pipeline@entry=0x55eca130bbe0, layer_id=layer_id@entry=0) at cogl-pipeline.c:2607
#13 0x00007fc56fecc46b in _cogl_rectangles_validate_layer_cb
    (pipeline=0x55eca130bbe0, layer_index=0, user_data=0x7fffddb7e9b0) at cogl-primitives.c:542
#14 0x00007fc56fedaa09 in cogl_pipeline_foreach_layer
    (pipeline=pipeline@entry=0x55eca130bbe0, callback=callback@entry=0x7fc56fecc450 <_cogl_rectangles_validate_layer_cb>, user_data=user_data@entry=0x7fffddb7e9b0) at cogl-pipeline.c:735
#15 0x00007fc56feccd31 in _cogl_framebuffer_draw_multitextured_rectangles
    (framebuffer=framebuffer@entry=0x55ec9f416e50, pipeline=pipeline@entry=0x55eca130bbe0, rects=rects@entry=0x7fffddb7ea70, n_rects=n_rects@entry=1, disable_legacy_state=disable_legacy_state@entry=1)
    at cogl-primitives.c:658
#16 0x00007fc56fefa9b1 in cogl_framebuffer_draw_multitextured_rectangle
    (framebuffer=framebuffer@entry=0x55ec9f416e50, pipeline=pipeline@entry=0x55eca130bbe0, x_1=<optimized out>, y_1=<optimized out>, x_2=<optimized out>, y_2=<optimized out>, tex_coords=tex_coords@entry=0x7fffddb7eac0, tex_coords_len=tex_coords_len@entry=8) at cogl-framebuffer.c:2485
#17 0x00007fc5702dd1a6 in paint_clipped_rectangle
--Type <RET> for more, q to quit, c to continue without paging--
    (fb=fb@entry=0x55ec9f416e50, pipeline=pipeline@entry=0x55eca130bbe0, rect=rect@entry=0x7fffddb7eb90, alloc=alloc@entry=0x7fffddb7eb70) at compositor/meta-shaped-texture.c:348
#18 0x00007fc5702dd7a4 in meta_shaped_texture_paint (actor=0x55ec9fbe0ff0)
    at compositor/meta-shaped-texture.c:597
#19 0x00007fc570141a0c in clutter_actor_continue_paint (self=self@entry=0x55ec9fbe0ff0)
    at clutter-actor.c:4040
#20 0x00007fc570147eb6 in clutter_actor_paint (self=0x55ec9fbe0ff0) at clutter-actor.c:3956
#21 0x00007fc570147ff0 in clutter_actor_real_paint (actor=<optimized out>) at clutter-actor.c:3655
#22 0x00007fc570141a0c in clutter_actor_continue_paint (self=self@entry=0x55ec9fbd56c0)
    at clutter-actor.c:4040
#23 0x00007fc570147eb6 in clutter_actor_paint (self=0x55ec9fbd56c0) at clutter-actor.c:3956
#24 0x00007fc570147ff0 in clutter_actor_real_paint (actor=<optimized out>) at clutter-actor.c:3655
#25 0x00007fc5702e1d56 in meta_window_actor_paint (actor=0x55ec9fbe0c10)
    at compositor/meta-window-actor.c:770
#26 0x00007fc570141a0c in clutter_actor_continue_paint (self=self@entry=0x55ec9fbe0c10)
    at clutter-actor.c:4040
#27 0x00007fc570147eb6 in clutter_actor_paint (self=0x55ec9fbe0c10) at clutter-actor.c:3956
#28 0x00007fc570147ff0 in clutter_actor_real_paint (actor=<optimized out>) at clutter-actor.c:3655
#29 0x00007fc5702e42c7 in meta_window_group_paint (actor=0x55ec9f58c410)
    at compositor/meta-window-group.c:125
#30 0x00007fc570141a0c in clutter_actor_continue_paint (self=self@entry=0x55ec9f58c410)
    at clutter-actor.c:4040
#31 0x00007fc570147eb6 in clutter_actor_paint (self=0x55ec9f58c410) at clutter-actor.c:3956
#32 0x00007fc57019d99a in clutter_stage_paint (self=<optimized out>) at clutter-stage.c:701
#33 0x00007fc5702c4ff2 in meta_stage_paint (actor=0x55ec9f416e10) at backends/meta-stage.c:141
#34 0x00007fc570141a0c in clutter_actor_continue_paint (self=self@entry=0x55ec9f416e10)
    at clutter-actor.c:4040
#35 0x00007fc570147eb6 in clutter_actor_paint (self=self@entry=0x55ec9f416e10) at clutter-actor.c:3956
#36 0x00007fc5701a1ac9 in clutter_stage_do_paint_view
    (stage=stage@entry=0x55ec9f416e10, view=0x55ec9f42c150, clip=0x7fffddb7f600) at clutter-stage.c:669
#37 0x00007fc5701a1dc3 in _clutter_stage_paint_view
    (stage=0x55ec9f416e10, view=<optimized out>, clip=<optimized out>) at clutter-stage.c:685
#38 0x00007fc57012ff24 in paint_stage
    (stage_cogl=stage_cogl@entry=0x7fc55c007f20, view=view@entry=0x55ec9f42c150, clip=clip@entry=0x7fffddb7f600) at cogl/clutter-stage-cogl.c:424
#39 0x00007fc5701300da in clutter_stage_cogl_redraw_view
    (stage_window=stage_window@entry=0x7fc55c007f20, view=0x55ec9f42c150)
    at cogl/clutter-stage-cogl.c:757
#40 0x00007fc57013128b in clutter_stage_cogl_redraw (stage_window=0x7fc55c007f20)
    at cogl/clutter-stage-cogl.c:867
#41 0x00007fc57019e929 in clutter_stage_do_redraw (stage=0x55ec9f416e10) at clutter-stage.c:1121
#42 0x00007fc57019e929 in _clutter_stage_do_update (stage=0x55ec9f416e10) at clutter-stage.c:1236
#43 0x00007fc57018a249 in master_clock_update_stages
    (master_clock=0x55ec9fa88600, stages=0x55ec9f6d7760 = {...}) at clutter-master-clock-default.c:443
#44 0x00007fc57018a249 in clutter_clock_dispatch
    (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>)
    at clutter-master-clock-default.c:567
#45 0x00007fc56fd72c3e in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fc56fd72ed8 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fc56fd731d2 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#48 0x00007fc5702f74ac in meta_run () at core/main.c:689
#49 0x000055ec9d53f7cd in _vala_main (args=<optimized out>, args_length1=<optimized out>)
    at src/wm/src@wm@@budgie-wm@exe/main.c:136
#50 0x00007fc56faa909b in __libc_start_main (main=
    0x55ec9d53b350 <main>, argc=1, argv=0x7fffddb7fa98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffddb7fa88) at ../csu/libc-start.c:308
#51 0x000055ec9d53b38a in _start () at src/wm/src@wm@@budgie-wm@exe/main.c:145
(gdb) info locals
No locals.
(gdb)

NOTE: the coredump is about ~620MB so i am not going to attach it here..

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: budgie-core 10.4+git20180830.02.f2dbc215fdb-2ubuntu0.1
ProcVersionSignature: Ubuntu 4.18.0-16.17-generic 4.18.20
Uname: Linux 4.18.0-16-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.10-0ubuntu13.2
Architecture: amd64
CurrentDesktop: Budgie:GNOME
Date: Wed Mar 20 15:12:05 2019
SourcePackage: budgie-desktop
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.default.apport:
 # set this to 0 to disable apport, or to 1 to enable it
 # you can temporarily override this with
 # sudo service apport start force_start=1
 enabled=0
mtime.conffile..etc.default.apport: 2015-03-22T12:00:14.314889

David Kedves (kedazo) wrote :
David Kedves (kedazo) wrote :

It crashed again, attaching a newer backtrace (this time an all thread one).

fossfreedom (fossfreedom) wrote :

Sorry - cannot reproduce this - but you are right this is somewhere in clutter/mutter . Can you tell me a bit more about your setup.

Is this a virtual machine - if so what virtualisation solution are you using - how have you configured your VM.

Is this a real machine - if so, what graphics card and graphics driver are you using - nvidia? have you got animations switched on/off in budgie-desktop-settings (it should be off).

Can you reproduce this if you boot into a live session of 19.04 Ubuntu Budgie (download the latest daily image)?

David Kedves (kedazo) wrote :

Well it is a real machine, the apport report (the attached txt files) are containing everything.

I use some nvidia graphics card using the proprietary driver
(nvidia-driver-390 390.116-0ubuntu0.18.10.1).

Animations are turned off, I actually installed the budgie packages not so long ago.
It is an Ubuntu 18.10 cosmic setup, i installed the budgie-desktop packages from default Ubuntu repos:
 libmutter-3-0:amd64 3.30.2-1~ubuntu18.10.4
 budgie-core 10.4+git20180830.02.f2dbc215fdb-2ubuntu0.1
 budgie-desktop 10.4+git20180830.02.f2dbc215fdb-2ubuntu0.1
 budgie-desktop-environment 0.10.5
 ubuntu-budgie-desktop 0.37

I am not sure when i'll be able to play with a live session of 19.04 :-S Also it takes some time to reproduce this... I use this machine for working mostly, 8-10hours per a day, it happens like 2-3 times per a day...
But I am pretty sure that dragging the window to the left/right side to the screen (to occupy the half screen, this sticking feature...) or moving the window out from that position triggers this...

summary: - budgie-wm crashes sometimes
+ budgie-wm crashes with SIGSEGV in _cogl_unpack_bgra_8888_8 from
+ _cogl_unpack_8 from _cogl_bitmap_convert_into_bitmap
summary: - budgie-wm crashes with SIGSEGV in _cogl_unpack_bgra_8888_8 from
- _cogl_unpack_8 from _cogl_bitmap_convert_into_bitmap
+ gnome-shell/budgie-wm crashes with SIGSEGV in _cogl_unpack_bgra_8888_8
+ from _cogl_unpack_8 from _cogl_bitmap_convert_into_bitmap
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in budgie-desktop (Ubuntu):
status: New → Confirmed
Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Changed in mutter (Ubuntu):
status: New → Confirmed
tags: added: disco xenial
removed: cosmic
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers