Description of problem: I was switching tty Version-Release number of selected component: gnome-shell-3.14.3-1.fc21 Additional info: reporter: libreport-2.3.0 backtrace_rating: 4 cmdline: /usr/bin/gnome-shell --wayland --display-server crash_function: wl_closure_marshal executable: /usr/bin/gnome-shell kernel: 3.18.6-200.fc21.x86_64 runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (10 frames) #2 wl_closure_marshal at src/connection.c:568 #3 wl_resource_post_event_array at src/wayland-server.c:130 #4 wl_resource_post_event at src/wayland-server.c:159 #5 wl_keyboard_send_keymap at /usr/include/wayland-server-protocol.h:1826 #6 meta_wayland_keyboard_create_new_resource at wayland/meta-wayland-keyboard.c:625 #7 ffi_call_unix64 at ../src/x86/unix64.S:76 #8 ffi_call at ../src/x86/ffi64.c:525 #9 wl_closure_invoke at src/connection.c:934 #10 wl_client_connection_data at src/wayland-server.c:334 #11 wl_event_loop_dispatch at src/event-loop.c:419
Created attachment 992173 [details] File: backtrace
Created attachment 992174 [details] File: cgroup
Created attachment 992175 [details] File: core_backtrace
Created attachment 992176 [details] File: dso_list
Created attachment 992177 [details] File: environ
Created attachment 992178 [details] File: limits
Created attachment 992179 [details] File: maps
Created attachment 992180 [details] File: open_fds
Created attachment 992181 [details] File: proc_pid_status
Created attachment 992182 [details] File: var_log_messages
This happens due to a race when switching VT. When a get_keyboard request is pending on a queue and we switch VT, the get_keyboard is processed after that. But switching VT releases all devices so get_keyboard is handled with invalid data. (wl_closure_marshal call abort due to bad filedescriptor). I can't reproduce it on master gnome-shell, though looking into the code, the race is still there, but with little different behavior. get_keyboard handler now can not be called with released keyboard (mutter commit 2aa6dcd9d) , so gnome-shell won't crash. But if the request is pending as described, then client will expect that the keyboard resource was created (but it was not) and then libwayland will hit invalid id error. But as I said - I cannot reproduce it on master anymore.
There are some attempts to fix this race in wayland: http://lists.freedesktop.org/archives/wayland-devel/2015-February/020276.html
This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '21'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 21 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.