Bug#1034255: libgtk-4-1: Getting Bail out! Gdk:ERROR random crashes on x11, which makes the app closes itself

2023-04-11 Thread Simon McVittie
Control: retitle -1 libgtk-4-1: intermittent crashes on X11 in 
sync_counter_for_end_frame: assertion failed: 
(impl->toplevel->extended_update_counter != None)
Control: forwarded -1 https://gitlab.gnome.org/GNOME/gtk/-/issues/5440

On Tue, 11 Apr 2023 at 14:00:07 -0300, Thiago Bellini Ribeiro wrote:
> Bail out! Gdk:ERROR

For future reference, this is the least interesting/distinctive part of the
assertion failure message, and the least useful to distinguish between
different crashes. The parts that matter most are the function that has the
assertion (in this case sync_counter_for_end_frame) and the assertion itself
(in this case impl->toplevel->extended_update_counter != None).

smcv



Bug#1034255: libgtk-4-1: Getting Bail out! Gdk:ERROR random crashes on x11, which makes the app closes itself

2023-04-11 Thread Thiago Bellini Ribeiro
Package: libgtk-4-1
Version: 4.8.3+ds-2
Severity: important
Tags: upstream
X-Debbugs-Cc: hackedbell...@gmail.com

I sometimes experience this when closing a tab on gnome-console (kgx). I also
got this when trying to shift+del a selection of files on nautilus. In both
cases the whole app will crash and close.
It is really random, but since I work in my terminal a lot I usually get 1 or 2
crashes per day.

Just had a situation here in gnome-console and got this:
2023-04-11T13:44:37.203800-03:00 behemoth org.gnome.Console[3584]:
Gdk:ERROR:../../../gdk/x11/gdksurface-x11.c:606:sync_counter_for_end_frame:
assertion failed: (impl->toplevel->extended_update_counter != None)
2023-04-11T13:44:37.203843-03:00 behemoth org.gnome.Console[3584]: Bail out!
Gdk:ERROR:../../../gdk/x11/gdksurface-x11.c:606:sync_counter_for_end_frame:
assertion failed: (impl->toplevel->extended_update_counter != None)

This is the related upstream issue:
https://gitlab.gnome.org/GNOME/gtk/-/issues/5440


-- System Information:
Debian Release: 12.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-7-amd64 (SMP w/6 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libgtk-4-1 depends on:
ii  adwaita-icon-theme43-1
ii  hicolor-icon-theme0.17-2
ii  libc6 2.36-9
ii  libcairo-gobject2 1.16.0-7
ii  libcairo-script-interpreter2  1.16.0-7
ii  libcairo2 1.16.0-7
ii  libcloudproviders00.3.1-2
ii  libcolord21.4.6-2.2
ii  libcups2  2.4.2-3
ii  libepoxy0 1.5.10-1
ii  libfontconfig12.14.1-4
ii  libfribidi0   1.0.8-2.1
ii  libgdk-pixbuf-2.0-0   2.42.10+dfsg-1+b1
ii  libglib2.0-0  2.74.6-2
ii  libgraphene-1.0-0 1.10.8-1
ii  libgtk-4-common   4.8.3+ds-2
ii  libharfbuzz0b 6.0.0+dfsg-3
ii  libjpeg62-turbo   1:2.1.5-2
ii  libpango-1.0-01.50.12+ds-1
ii  libpangocairo-1.0-0   1.50.12+ds-1
ii  libpangoft2-1.0-0 1.50.12+ds-1
ii  libpng16-16   1.6.39-2
ii  libtiff6  4.5.0-5
ii  libwayland-client01.21.0-1
ii  libwayland-egl1   1.21.0-1
ii  libx11-6  2:1.8.4-2
ii  libxcursor1   1:1.2.1-1
ii  libxdamage1   1:1.1.6-1
ii  libxext6  2:1.3.4-1+b1
ii  libxfixes31:6.0.0-2
ii  libxi62:1.8-1+b1
ii  libxinerama1  2:1.1.4-3
ii  libxkbcommon0 1.5.0-1
ii  libxrandr22:1.5.2-2+b1
ii  shared-mime-info  2.2-1

Versions of packages libgtk-4-1 recommends:
ii  iso-codes4.13.0-1
ii  libgtk-4-bin 4.8.3+ds-2
ii  librsvg2-common  2.54.5+dfsg-1

Versions of packages libgtk-4-1 suggests:
ii  gvfs  1.50.3-1
pn  libgtk-4-media-gstreamer | libgtk-4-media-ffmpeg  

-- no debconf information