GNOME Bugzilla – Bug 355242
Nautilus crashes when trying to change a folder's icon
Last modified: 2016-06-21 19:54:42 UTC
I right clicked a folder, clicked Properties, then clicked on the folder's icon in the properties window and Nautilus crashed. This is the command line output of nautilus (from .xsession-errors) (nautilus:19060): GLib-GObject-WARNING **: cannot register existing type `ShortcutsModelFilter' (nautilus:19060): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed (nautilus:19060): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed ** (bug-buddy:19156): WARNING **: Couldn't load icon for Bonobo Component Browser ** (bug-buddy:19156): WARNING **: Couldn't load icon for Open Folder This is a backtrace from bug-buddy (on a side note, I couldn't submit this via bug-buddy because it seems that nautilus has incorrect Bugzilla info. Bug Buddy thought that Nautilus was "CD/DVD Creator") Backtrace was generated from '/usr/bin/nautilus' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 47305737837424 (LWP 19197)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) 0x00002b063853a88f in waitpid () from /lib/libpthread.so.0
+ Trace 72029
Thread 1 (Thread 47305737837424 (LWP 19197))
Thanks
*** Bug 355243 has been marked as a duplicate of this bug. ***
Created attachment 72667 [details] [review] Fix crash due to naming conflict This patch fixes the crash. The reason for the crash is there was a naming conflict, ShortcutsModelFilter was used in both nautilus and gtk+. I simply changed ShortcutsModelFilter to NautilusShortcutsModelFilter.
Yep, this fixes it. Thanks :)
Hi. Alex did you set the status to be resolved fixed? You probably want to keep it open until a nautilus developer sees this bug and merges the patch. I am unable to merge the patch...
Ahhh, I thought you were a nautilus developer, sorry.
Excellent, thanks a bundle! It's on HEAD: 2006-09-13 Martin Wehner <martin.wehner@gmail.com> * src/nautilus-places-sidebar.c: Don't use the same type name for the shortcut model filter as GtkFileChooser to avoid name clashes. Fixes #355242. Patch from Stephen Cook <siti@orcon.net.nz>
*** Bug 349467 has been marked as a duplicate of this bug. ***
*** Bug 355326 has been marked as a duplicate of this bug. ***
*** Bug 356217 has been marked as a duplicate of this bug. ***
*** Bug 356395 has been marked as a duplicate of this bug. ***
*** Bug 356284 has been marked as a duplicate of this bug. ***
*** Bug 357943 has been marked as a duplicate of this bug. ***
*** Bug 358097 has been marked as a duplicate of this bug. ***
*** Bug 358980 has been marked as a duplicate of this bug. ***
*** Bug 359143 has been marked as a duplicate of this bug. ***
*** Bug 360599 has been marked as a duplicate of this bug. ***
*** Bug 360911 has been marked as a duplicate of this bug. ***
Hi, anyone can explain how to fix this error ?