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 355242 - Nautilus crashes when trying to change a folder's icon
Nautilus crashes when trying to change a folder's icon
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Sidebar
2.16.x
Other Linux
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 349467 355243 355326 356217 356284 356395 357943 358097 358980 359143 360599 360911 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-09-10 08:24 UTC by Alex Smith
Modified: 2016-06-21 19:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Fix crash due to naming conflict (6.65 KB, patch)
2006-09-13 03:20 UTC, Stephen Cook
none Details | Review

Description Alex Smith 2006-09-10 08:24:53 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

Thread 1 (Thread 47305737837424 (LWP 19197))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 libgnomeui_segv_handle
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 gtk_file_chooser_default_constructor
    from /usr/lib/libgtk-x11-2.0.so.0
  • #4 g_object_newv
    from /usr/lib/libgobject-2.0.so.0
  • #5 g_object_new_valist
    from /usr/lib/libgobject-2.0.so.0
  • #6 g_object_new
    from /usr/lib/libgobject-2.0.so.0
  • #7 gtk_file_chooser_widget_constructor
    from /usr/lib/libgtk-x11-2.0.so.0
  • #8 g_object_newv
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_object_new_valist
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_object_new
    from /usr/lib/libgobject-2.0.so.0
  • #11 gtk_file_chooser_dialog_constructor
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 g_object_newv
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_object_new_valist
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_object_new
    from /usr/lib/libgobject-2.0.so.0
  • #15 gtk_file_chooser_dialog_new_valist
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 gtk_file_chooser_dialog_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 fm_directory_view_bump_zoom_level
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 gtk_real_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #24 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #27 gtk_button_button_release
    from /usr/lib/libgtk-x11-2.0.so.0
  • #28 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #29 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #30 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #32 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #33 gtk_widget_event_internal
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #36 gdk_event_dispatch
    from /usr/lib/libgdk-x11-2.0.so.0
  • #37 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #38 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #39 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #40 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #41 POA_Nautilus_MetafileMonitor__init
  • #42 __libc_start_main
    from /lib/libc.so.6
  • #43 ??
  • #44 ??
  • #45 ??
  • #0 waitpid
    from /lib/libpthread.so.0

Thanks
Comment 1 Martin Wehner 2006-09-10 23:42:22 UTC
*** Bug 355243 has been marked as a duplicate of this bug. ***
Comment 2 Stephen Cook 2006-09-13 03:20:28 UTC
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.
Comment 3 Alex Smith 2006-09-13 06:51:08 UTC
Yep, this fixes it. Thanks :)
Comment 4 Stephen Cook 2006-09-13 08:20:37 UTC
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...
Comment 5 Alex Smith 2006-09-13 11:44:52 UTC
Ahhh, I thought you were a nautilus developer, sorry.
Comment 6 Martin Wehner 2006-09-13 20:10:44 UTC
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>
Comment 7 Martin Wehner 2006-09-13 20:14:05 UTC
*** Bug 349467 has been marked as a duplicate of this bug. ***
Comment 8 Martin Wehner 2006-09-13 20:14:18 UTC
*** Bug 355326 has been marked as a duplicate of this bug. ***
Comment 9 Martin Wehner 2006-09-16 09:19:42 UTC
*** Bug 356217 has been marked as a duplicate of this bug. ***
Comment 10 Martin Wehner 2006-09-18 17:05:13 UTC
*** Bug 356395 has been marked as a duplicate of this bug. ***
Comment 11 Martin Wehner 2006-09-18 17:05:33 UTC
*** Bug 356284 has been marked as a duplicate of this bug. ***
Comment 12 Elijah Newren 2006-09-27 18:19:43 UTC
*** Bug 357943 has been marked as a duplicate of this bug. ***
Comment 13 Karsten Bräckelmann 2006-09-28 13:15:57 UTC
*** Bug 358097 has been marked as a duplicate of this bug. ***
Comment 14 Elijah Newren 2006-10-02 15:47:29 UTC
*** Bug 358980 has been marked as a duplicate of this bug. ***
Comment 15 Elijah Newren 2006-10-02 22:26:15 UTC
*** Bug 359143 has been marked as a duplicate of this bug. ***
Comment 16 Elijah Newren 2006-10-08 12:39:22 UTC
*** Bug 360599 has been marked as a duplicate of this bug. ***
Comment 17 André Klapper 2006-10-09 14:43:02 UTC
*** Bug 360911 has been marked as a duplicate of this bug. ***
Comment 18 Przemek 2016-06-21 19:54:42 UTC
Hi, anyone can explain how to fix this error ?