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

Andreas Henriksson andreas at fatal.se
Fri Aug 26 11:02:58 UTC 2016

Hello Michael Gilbert.

I recently ran into this issue myself...

On Sat, Aug 06, 2016 at 09:28:23PM -0400, Michael Gilbert wrote:
> control: severity -1 minor
> control: forwarded -1 http://crbug.com/615164
> You should be able to work around this by using GDK_BACKEND=x11.

Thanks for this suggestion, but maybe you could make sure chromium
always starts with the x11 backend until using the wayland backend is
considered stable enough?

As you might be aware the overwhelming majority of Debian desktop users
are using GNOME which will go switch to wayland by default for 3.22
which will soon be released and is already being prepared in
experimental. (It was already planned for 3.20 but postponed then.)
As the Debian social contract says our users are our priority I thus
think this bug report deserves a higher severity than minor as the
browser by default is more or less unusable now.

Here's a backtrace fwiw (if nothing else might make it easier for search
engines to index this and help others find this bug report easier):

Thread 1 "chromium" received signal SIGSEGV, Segmentation fault.
0x00007fffefd52200 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
(gdb) bt
#0  0x00007fffefd52200 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#1  0x00007fffefd52b54 in gdk_x11_display_error_trap_push ()
   from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#2  0x00007fffefd715b0 in gdk_x11_window_foreign_new_for_display ()
   from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#3  0x000055555978266d in libgtk2ui::X11InputMethodContextImplGtk2::GdkEventFromNativeEvent(_XEvent* const&) ()
#4  0x000055555978277b in libgtk2ui::X11InputMethodContextImplGtk2::DispatchKeyEvent(ui::KeyEvent const&) [clone .part.61] [clone .constprop.74] ()
#5  0x000055555ab1383d in ui::InputMethodAuraLinux::DispatchKeyEvent(ui::KeyEvent*) ()
#6  0x00005555594fe47f in views::DesktopWindowTreeHostX11::DispatchEvent(_XEvent* const&) ()
#7  0x0000555556ca483c in ui::PlatformEventSource::DispatchEvent(_XEvent*) ()
#8  0x0000555556ca736b in ui::X11EventSource::ExtractCookieDataDispatchEvent(_XEvent*) ()
#9  0x0000555556ca748d in ui::X11EventSource::DispatchXEvents() ()
#10 0x000055555a33decc in ui::(anonymous namespace)::XSourceDispatch(_GSource*, int (*)(void*), void*) ()
#11 0x00007ffff74b15aa in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff74b1950 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff74b19fc in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00005555564fe71a in base::MessagePumpGlib::Run(base::MessagePump::Delegate*) ()
#15 0x00005555564ccd3a in base::RunLoop::Run() ()
#16 0x000055555626022c in ChromeBrowserMainParts::MainMessageLoopRun(int*) ()
#17 0x00005555590a648a in content::BrowserMainLoop::RunMainMessageLoopParts()
#18 0x0000555558e7354d in content::BrowserMainRunnerImpl::Run() ()
#19 0x0000555558e73431 in content::BrowserMain(content::MainFunctionParams const&) ()
#20 0x000055555646536d in content::ContentMainRunnerImpl::Run() ()
#21 0x00005555564635d1 in content::ContentMain(content::ContentMainParams const&) ()
#22 0x0000555555ff888a in ChromeMain ()
#23 0x00007fffeea74730 in __libc_start_main (main=0x555555ff6200 <main>, 
    argc=7, argv=0x7fffffffdfd8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffdfc8)
    at ../csu/libc-start.c:291
#24 0x0000555555ff8739 in _start ()

Andreas Henriksson

More information about the Pkg-chromium-maint mailing list