GNOME Bugzilla – Bug 709656
Crash when dragging items on the overview with custom cursor theme
Last modified: 2019-02-27 22:06:12 UTC
Upon dragging an item on the overview dash, the shell crashes. The crash occurs before the dragged item is released. On the first attempt, gnome-shell will restart. On the second attempt, the shell will display the "Oh no!" screen and force log-out. I have noticed that, upon initiating the drag, the mouse cursor is replaced by the default X server "x" cursor, and the "ghosted outline" of the dragged item which usually came up does not seem to appear.
The same issue comes up when trying to drag overviewed windows. :-(
Okt 08 19:32:00 wirrsal gnome-session[10713]: Window manager warning: Log level 6: The program 'gnome-shell' received an X Window System error. Okt 08 19:32:00 wirrsal gnome-session[10713]: This probably reflects a bug in the program. Okt 08 19:32:00 wirrsal gnome-session[10713]: The error was 'BadCursor (invalid Cursor parameter)'. Okt 08 19:32:00 wirrsal gnome-session[10713]: (Details: serial 11424 error_code 6 request_code 95 minor_code 0) Okt 08 19:32:00 wirrsal gnome-session[10713]: (Note to programmers: normally, X errors are reported asynchronously; Okt 08 19:32:00 wirrsal gnome-session[10713]: that is, you will receive the error a while after causing it. Okt 08 19:32:00 wirrsal gnome-session[10713]: To debug your program, run it with the GDK_SYNCHRONIZE environment Okt 08 19:32:00 wirrsal gnome-session[10713]: variable to change this behavior. You can then get a meaningful Okt 08 19:32:00 wirrsal gnome-session[10713]: backtrace from your debugger if you break on the gdk_x_error() function.) Okt 08 19:32:00 wirrsal kernel: traps: gnome-shell[26568] trap int3 ip:7f1664702239 sp:7fffd583e390 error:0 Okt 08 19:32:00 wirrsal polkitd[374]: Unregistered Authentication Agent for unix-session:10 (system bus name :1.468, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected from bus) Okt 08 19:32:00 wirrsal gnome-session[10713]: gnome-session[10713]: WARNING: Application 'gnome-shell.desktop' killed by signal 5 Okt 08 19:32:00 wirrsal gnome-session[10713]: WARNING: Application 'gnome-shell.desktop' killed by signal 5
Okay, after disabling my custom cursor, the bug doesn't seem occur anymore. The cursor I was using is: http://gnome-look.org/content/show.php/?content=57588 Until moving to 3.10, this problem was not present. Please reassign if this problem is not original to gnome-shell.
I can confirm this bug. As suggested, changing mouse cursor back to default (from Human), problem was resolved.
I've just talked to the original reporter on irc and we have found that this bug can only be triggered if the configured cursor theme and the fallback cursor theme are missing the "dnd-none" cursor. This happens to be the case on Arch when using the linked cursor theme for example. On fedora which uses "Adwaita" as its fallback cursor theme you need to remove /usr/share/icons/Adwaita/cursors/dnd-none to be able to trigger this bug.
*** Bug 737617 has been marked as a duplicate of this bug. ***
adding dnd-* to an cursor icon theme fixes the bug.
sorry,I wanted to say: adding dnd-* icons to an cursor icon theme fixes the bug for this icon theme. I used the ones of adwaita.
*** Bug 739067 has been marked as a duplicate of this bug. ***
*** Bug 763995 has been marked as a duplicate of this bug. ***
This occurs in gnome-shell 3.18.5-0ubuntu0.3 as well
@Eric: It's not relevant if an old gnome-shell version released two years ago was affected by this or not, as nobody works on that version anymore. Feel free to contact your distribution if they still support that old version. Thanks. :)
This is a mutter issue: https://gitlab.gnome.org/GNOME/mutter/issues/355