After installing Dropbox on a clean install of Ubuntu 22.04, when I try to open the "Files" application, it opens a window and then immediately closes it. When I try to run nautilus
from the command line, I get error messages and a segfault:
$ nautilus
(org.gnome.Nautilus:3840): GLib-GObject-WARNING **: 10:19:41.889: Two different plugins tried to register 'TerminalNautilus'.
(org.gnome.Nautilus:3840): GLib-GObject-CRITICAL **: 10:19:41.889: g_type_add_interface_dynamic: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(org.gnome.Nautilus:3840): GLib-GObject-WARNING **: 10:19:41.889: Two different plugins tried to register 'TerminalNautilusMenuItem'.
(org.gnome.Nautilus:3840): GLib-GObject-WARNING **: 10:19:41.889: Two different plugins tried to register 'EvPropertiesPlugin'.
(org.gnome.Nautilus:3840): GLib-GObject-CRITICAL **: 10:19:41.889: g_type_add_interface_dynamic: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(org.gnome.Nautilus:3840): GLib-GObject-WARNING **: 10:19:41.889: Two different plugins tried to register 'NautilusNste'.
(org.gnome.Nautilus:3840): GLib-GObject-CRITICAL **: 10:19:41.889: g_type_add_interface_dynamic: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(org.gnome.Nautilus:3840): GLib-GObject-WARNING **: 10:19:41.889: Two different plugins tried to register 'NautilusFileRoller'.
(org.gnome.Nautilus:3840): GLib-GObject-CRITICAL **: 10:19:41.889: g_type_add_interface_dynamic: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(org.gnome.Nautilus:3840): GLib-GObject-WARNING **: 10:19:41.889: Two different plugins tried to register 'TotemPropertiesPlugin'.
(org.gnome.Nautilus:3840): GLib-GObject-CRITICAL **: 10:19:41.889: g_type_add_interface_dynamic: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(org.gnome.Nautilus:3840): GLib-GObject-WARNING **: 10:19:41.889: Two different plugins tried to register 'NautilusImagesPropertiesPageProvider'.
(org.gnome.Nautilus:3840): GLib-GObject-CRITICAL **: 10:19:41.889: g_type_add_interface_dynamic: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(org.gnome.Nautilus:3840): GLib-GObject-WARNING **: 10:19:41.999: invalid cast from 'TerminalNautilus' to '<invalid>'
(org.gnome.Nautilus:3840): GLib-GObject-WARNING **: 10:19:41.999: invalid cast from 'NautilusNste' to '<invalid>'
(org.gnome.Nautilus:3840): GLib-GObject-WARNING **: 10:19:41.999: invalid cast from 'TerminalNautilus' to '<invalid>'
(org.gnome.Nautilus:3840): GLib-GObject-CRITICAL **: 10:19:41.999: g_object_new_valist: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
Segmentation fault (core dumped)
The "two different plugins" message may be referring to Dropbox integration, but the problem persists if I uninstall Dropbox. I've also tried uninstalling/reinstalling nautilus, but the problem remains.