Crashes on DP hotplug (wl_registry@2: error 0: invalid global wl_output (29))
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I switched to a new external monitor at work today. I cannot reproduce the exact sequence of events, but it was basically: plug in external monitor (via DisplayPort), suspend laptop, unplug that monitor and plug in another one, resume laptop. At that point I was staring at the GDM login screen because gnome-shell had crashed on me.
(It's hard to understand what happened exactly, from the journal, but it may've been Xwayland that crashed -- I've an Xwayland crash file in /var/crash with a matching timestamp -- but the entire GNOME session died soon afterwards.)
Highlights from journalctl:
Vas 07 15:04:27 platonas gtimelog[27075]: Error 71 (Protokolo klaida) dispatching to Wayland display.
Vas 07 15:04:27 platonas gsd-color[3440]: no xrandr-Goldstar Company Ltd-LG ULTRAWIDE-316961 device found: Failed to find output xrandr-Goldstar Company Ltd-LG ULTRAWIDE-316961
Vas 07 15:04:27 platonas evolution-
Vas 07 15:04:27 platonas update-
Vas 07 15:04:27 platonas xdg-desktop-
Vas 07 15:04:27 platonas org.gnome.
Vas 07 15:04:27 platonas org.gnome.
Vas 07 15:04:27 platonas org.gnome.
Vas 07 15:04:27 platonas org.gnome.
Vas 07 15:04:27 platonas systemd[4065]: xdg-desktop-
Vas 07 15:04:27 platonas systemd[4065]: xdg-desktop-
Vas 07 15:04:27 platonas systemd[4065]: xdg-desktop-
...
Vas 07 15:04:34 platonas org.gnome.
...
Vas 07 15:04:34 platonas gnome-shell[4166]: Connection to xwayland lost
Vas 07 15:04:34 platonas org.gnome.
...
Vas 07 15:04:35 platonas gnome-session[
Vas 07 15:04:35 platonas gnome-session-
Vas 07 15:04:35 platonas gnome-session-
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-shell 3.26.2-0ubuntu0.1
ProcVersionSign
Uname: Linux 4.13.0-32-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Feb 7 15:20:24 2018
DisplayManager: gdm3
InstallationDate: Installed on 2016-09-10 (515 days ago)
InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160720)
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to artful on 2017-10-19 (110 days ago)
This is probably a duplicate of 1728588 (which itself is marked as a duplicate of 1731911).
apport-retrace gives me this Xwayland stack trace:
(gdb) bt unix/sysv/ linux/raise. c:51 ./../os/ utils.c: 1361 ./../os/ log.c:877 0x558934f66fa6 "%s") at ../../. ./../os/ log.c:1015 ./../.. /hw/xwayland/ xwayland. c:885 wayland- util.c: 406 handle_ error (data=<optimized out>, display= 0x558935d07e30, object= 0x558935d0c300, code=0, message=<optimized out>) wayland- client. c:810 x86/unix64. S:76 entry=0x7ffd318 ba470, fn=<optimized out>, rvalue=<optimized out>, rvalue@entry=0x0, avalue@ entry=0x7ffd318 ba540) at ../src/ x86/ffi64. c:525 connection. c:935 display@ entry=0x558935d 07e30, queue=<optimized out>) at ../src/ wayland- client. c:1310 0x558935d07ef8, display= 0x558935d07e30) at ../src/ wayland- client. c:1449 dispatch_ queue_pending (display= 0x558935d07e30, queue=0x558935d 07ef8) at ../src/ wayland- client. c:1698 dispatch_ pending (display=<optimized out>) at ../src/ wayland- client. c:1761 0x558935cffa40) at ../../. ./../.. /hw/xwayland/ xwayland. c:598 0x558935cf4a20, timeout=<optimized out>) at ../../. ./../os/ ospoll. c:412 <optimized out>) at ../../. ./../os/ WaitFor. c:226 ./../dix/ dispatch. c:422 b4f8, envp=<optimized out>) at ../../. ./../dix/ main.c: 287 e2a60 <main>, argc=11, argv=0x7ffd318b b4f8, init=<optimized out>, fini=<optimized out>, fini=<optimized out>, stack_end= 0x7ffd318bb4e8) at ../csu/ libc-start. c:308
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/
#1 0x00007fce6a322f5d in __GI_abort () at abort.c:90
#2 0x0000558934f5713a in OsAbort () at ../../.
#3 0x0000558934f5cc53 in AbortServer () at ../../.
#4 0x0000558934f5da75 in FatalError (f=f@entry=
#5 0x0000558934de2e6c in xwl_log_handler (format=<optimized out>, args=<optimized out>) at ../../.
#6 0x00007fce6c7728ca in wl_log (fmt=<optimized out>) at ../src/
#7 0x00007fce6c76e2d8 in display_
at ../src/
#8 0x00007fce69c60e18 in ffi_call_unix64 () at ../src/
#9 0x00007fce69c6087a in ffi_call (cif=cif@
avalue=
#10 0x00007fce6c771a1b in wl_closure_invoke (closure=<optimized out>, flags=<optimized out>, target=<optimized out>, opcode=0, data=<optimized out>)
at ../src/
#11 0x00007fce6c76e5b8 in dispatch_event (display=
#12 0x00007fce6c76f847 in dispatch_queue (queue=
#13 wl_display_
#14 0x00007fce6c76f8cc in wl_display_
#15 0x0000558934de341b in xwl_read_events (xwl_screen=
#16 0x0000558934f54cb1 in ospoll_wait (ospoll=
#17 0x0000558934f4dcbb in WaitForSomething (are_ready=
#18 0x0000558934f199f3 in Dispatch () at ../../.
#19 0x0000558934f1dc90 in dix_main (argc=11, argv=0x7ffd318b
#20 0x00007fce6a30b1c1 in __libc_start_main (main=0x558934d
rtld_
#21 0x0000558934de2a9a in _start ()