[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#887402: Xwayland: random crash (SIGABRT) while running under gdm



Control: reassign -1 mutter 3.26.2-1
Control: affects -1 gnome-shell xwayland 
Control: retitle -1  Xwayland error "invalid global wl_output" and gnome-shell killed by SIGTRAP
Control: forwarded -1 https://bugzilla.gnome.org/show_bug.cgi?id=789070
Control: severity -1 important
Control: tags -1 + upstream fixed-upstream patch

On Tue, Jan 16, 2018 at 08:14:42AM +0800, Paul Wise wrote:
> #5  0x000056053ad8d26c in xwl_log_handler (format=<optimized out>, args=<optimized out>) at ../../../../../hw/xwayland/xwayland.c:883
>         msg = "wl_registry@2: error 0: invalid global wl_output (22)\n\000\000\256\006\000\000\000\000\000\000\000\000\001\000\000\000\000\000\064\207q\277\036\177\000\000p8fD\377\177\000\000\024", '\000' <repeats 15 times>, "p8fD\377\177\000\000\000\000\000\000\000\000\001\000\000\000\220\006\000\000\032\004\000\000\001\000\000\000\000\000\000\236A\370ˊ\315,-\000\000\000\000\000\000\000p8fD\377\177\000\000p8fD\377\177\000\000*f=\277\036\177\000\000\340\070fD\377\177\000\000\250M\001<\005V\000\000\260M\001<\005V\000\000\204"...

I'm seeing a lot of gnome-shell crashes caused by this! The symptoms are
that when I unsuspend my Lenovo P50, or dock or undock it, or plug or
unplug a monitor, or switch VCs a few times, there's a high probability
of seeing this pattern of crashes:

TIME                            PID   UID   GID SIG COREFILE  EXE
Wed 2018-02-21 09:14:38 GMT    5730  1000  1000   6 present   /usr/bin/Xwayland
Wed 2018-02-21 09:14:41 GMT    5710  1000  1000   5 present   /usr/bin/gnome-shell

gnome-shell notices that Xwayland has aborted, and kills itself, after logging the following:

Feb 21 09:14:36 org.gnome.Shell.desktop[5710]: (EE)
Feb 21 09:14:36 org.gnome.Shell.desktop[5710]: Fatal server error:
Feb 21 09:14:36 org.gnome.Shell.desktop[5710]: (EE) wl_registry@2: error 0: invalid global wl_output (37)
Feb 21 09:14:36 org.gnome.Shell.desktop[5710]: (EE)
Feb 21 09:14:38 org.gnome.Shell.desktop[5710]: xcb_connection_has_error() returned true
Feb 21 09:14:38 gnome-shell[5710]: Connection to xwayland lost
Feb 21 09:14:38 org.gnome.Shell.desktop[5710]: == Stack trace for context 0x559d248be000 ==
[... lots more programs die, having lost their connection to the X server ...]
Feb 21 09:14:39 gnome-session[5677]: gnome-session-binary[5677]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 5
Feb 21 09:14:39 gnome-session-binary[5677]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 5
Feb 21 09:14:39 gnome-session-binary[5677]: Unrecoverable failure in required component org.gnome.Shell.desktop

Note that Xwayland itself is not logging any messages; they are passed
to gnome-shell, which logs them on its behalf.

This should be fixed by mutter 3.26.3 is out. Other useful references:

https://bugzilla.gnome.org/show_bug.cgi?id=789070
https://phabricator.freedesktop.org/T7722
https://lists.x.org/archives/xorg-devel/2017-October/055025.html
https://bugzilla.redhat.com/show_bug.cgi?id=1514220
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1731911

-- 
Sam Morris <https://robots.org.uk/>
CAAA AA1A CA69 A83A 892B  1855 D20B 4202 5CDA 27B9


Reply to: