After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 745284 - nautilus crashes on gnome-shell/wayland
nautilus crashes on gnome-shell/wayland
Status: RESOLVED DUPLICATE of bug 712620
Product: nautilus
Classification: Core
Component: Desktop
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-02-27 13:36 UTC by Marek Chalupa
Modified: 2015-02-27 17:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marek Chalupa 2015-02-27 13:36:46 UTC
Nautilus crashes with this message:

(nautilus:23840): GLib-GObject-WARNING **: invalid cast from 'GdkWaylandDisplay' to 'GdkX11Display'
**
GLib:ERROR:ghash.c:373:g_hash_table_lookup_node: assertion failed: (hash_table->ref_count > 0)
zsh: abort (core dumped)  nautilus

The assertion is just random, when it pass it crashes on SIGSEGV few steps later. It crashes in gtk and I'm not sure if it should be fixed there or in nautilus. Backtrace (short):

  • #3 g_assertion_message_expr
    at gtestutils.c line 2371
  • #4 g_hash_table_lookup_node
    at ghash.c line 373
  • #5 g_hash_table_lookup
    at ghash.c line 1147
  • #6 lookup_cached_xatom
    at gdkproperty-x11.c line 163
  • #7 gdk_x11_atom_to_xatom_for_display
    at gdkproperty-x11.c line 196
  • #8 nautilus_desktop_window_init_selection
    at nautilus-desktop-window.c line 131

It only crashes when trying to create Desktop window, i. e. steps to reproduce:

1. run gnome-shell under wayland
2. in gnome-tweak-tool allow Icons on Desktop
3. try run nautilus
Comment 1 Carlos Soriano 2015-02-27 13:40:26 UTC
Yeah, we will split nautilus at some point and make the desktop part only available in x11.

To suport the desktop on wayland we would need new protocols and hacks, that we don't want for wayland.

I think we can't do nothing until 3.18 when we will try to do the nautilus split.

Cosimo, do you have some opinion here?
Comment 2 Cosimo Cecchi 2015-02-27 17:31:00 UTC
(In reply to Carlos Soriano from comment #1)
> Yeah, we will split nautilus at some point and make the desktop part only
> available in x11.
> 
> To suport the desktop on wayland we would need new protocols and hacks, that
> we don't want for wayland.
> 
> I think we can't do nothing until 3.18 when we will try to do the nautilus
> split.
> 
> Cosimo, do you have some opinion here?

I agree with your approach. I think this can be closed as a duplicate of bug 712620 where a more concrete set of steps to achieve that is proposed.

*** This bug has been marked as a duplicate of bug 712620 ***