[Pkg-chromium-maint] Bug#833342: chromium: crashes upon the first keypress in wayland

Rostislav Pehlivanov atomnuker at gmail.com
Wed Aug 3 09:23:44 UTC 2016

Package: chromium
Version: 52.0.2743.82-4
Severity: important

Dear Maintainer,

Since the switch to GTK3 in unstable Chromium has started to crash
upon the first keypress in Wayland with the following log:

[25511:25511:0803/101959:ERROR:browser_main_loop.cc(283)] GLib-GObject: invalid cast from 'GdkWaylandDisplay' to 'GdkX11Display'
[25511:25511:0803/101959:ERROR:browser_main_loop.cc(283)] GLib-GObject: invalid cast from 'GdkWaylandDisplay' to 'GdkX11Display'
[25511:25511:0803/101959:ERROR:browser_main_loop.cc(283)] GLib-GObject: invalid cast from 'GdkWaylandDisplay' to 'GdkX11Display'
[25511:25511:0803/101959:ERROR:browser_main_loop.cc(283)] GLib-GObject: invalid cast from 'GdkWaylandDisplay' to 'GdkX11Display'

It appears that since GTK3 supports Wayland it's automatically picked as
the backend and since Chromium either hasn't fully stabilized its support for it
or there's a bug the crash happens. Previously with gtk2 Xwayland was always used.
The browser is perfectly usable and stable as long as no actual keys have been pressed, e.g.
navigating with a mouse.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-custom (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages chromium depends on:
ii  libasound2           1.1.1-2
ii  libatk1.0-0          2.20.0-1
ii  libavcodec57         7:3.1.1-3
ii  libavformat57        7:3.1.1-3
ii  libavutil55          7:3.1.1-3
ii  libc6                2.23.90+20160725.b898b64-1
ii  libcairo2            1.14.6-1+b1
ii  libcups2             2.1.4-4
ii  libdbus-1-3          1.11.2-1
ii  libexpat1            2.2.0-1
ii  libfontconfig1       2.11.0-6.4
ii  libfreetype6         2.6.3-3+b1
ii  libgcc1              1:6.1.1-10
ii  libgdk-pixbuf2.0-0   2.34.0-1
ii  libglib2.0-0         2.49.4-1
ii  libgnome-keyring0    3.12.0-1+b1
ii  libgtk-3-0           3.21.4-1
ii  libharfbuzz0b        1.2.7-1
ii  libjpeg62-turbo      1:1.5.0-1
ii  libnettle6           3.2-1
ii  libnspr4             2:4.12-2
ii  libnss3              2:3.23-2
ii  libpango-1.0-0       1.40.1-1
ii  libpangocairo-1.0-0  1.40.1-1
ii  libpci3              1:3.3.1-1.1
ii  libpulse0            9.0-1.1
ii  libspeechd2          0.8.4-2
ii  libstdc++6           6.1.1-10
ii  libx11-6             2:1.6.3-1
ii  libxcomposite1       1:0.4.4-1
ii  libxcursor1          1:1.1.14-1+b1
ii  libxdamage1          1:1.1.4-2+b1
ii  libxext6             2:1.3.3-1
ii  libxfixes3           1:5.0.2-1
ii  libxi6               2:1.7.6-1
ii  libxml2              2.9.4+dfsg1-1
ii  libxrandr2           2:1.5.0-1
ii  libxrender1          1:0.9.9-2
ii  libxslt1.1           1.1.28-4
ii  libxss1              1:1.2.2-1
ii  libxtst6             2:1.2.2-1+b1
ii  x11-utils            7.7+3
ii  xdg-utils            1.1.1-1

Versions of packages chromium recommends:
ii  fonts-liberation  2.00.1-1

Versions of packages chromium suggests:
pn  chromium-l10n  <none>

-- debconf-show failed

More information about the Pkg-chromium-maint mailing list