GNOME Bugzilla – Bug 720264
Hovering item over sidebar "desktop"-entry crashes applications if XDG-desktop dir is not "~/Desktop"
Last modified: 2013-12-19 16:06:08 UTC
When hovering a file over the "Desktop" entry on the Nautilus sidebar during DnD, Nautilus segfaults. Since I do not use a desktop, my XDG_DESKTOP_DIR is "~"; if I set XDG_DESKTOP_DIR to "~/Desktop", the segfault does not trigger. BTW it would be convenient if the sidebar omits the Desktop entry altogether if it's identical to $HOME, or something like that. This is on Nautilus 3.10.1.
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance! (In reply to comment #0) > BTW it would be convenient if the sidebar omits the Desktop entry altogether if > it's identical to $HOME, or something like that. Some users may want to show $HOME as the desktop. But the sidebar does omit the "Desktop" entry if the "show-desktop-icons" setting is disabled. At least it does for me in nautilus 3.10.1 from fedora 20. What is the output of the following command in the terminal? gsettings get org.gnome.desktop.background show-desktop-icons
Program terminated with signal 11, Segmentation fault.
+ Trace 232930
Thread 1 (Thread 0x7fc2365d2940 (LWP 21515))
> But the sidebar does omit the "Desktop" entry if the "show-desktop-icons" > setting is disabled. At least it does for me in nautilus 3.10.1 from fedora 20. > > What is the output of the following command in the terminal? > > gsettings get org.gnome.desktop.background show-desktop-icons show-desktop-icons is disabled for me, yet both Nautilus and the GTK file choose show the desktop entry in the sidebar.
(In reply to comment #3) > show-desktop-icons is disabled for me, yet both Nautilus and the GTK file > choose show the desktop entry in the sidebar. That's weird. Can you file a separate bug report about that? (Product: gtk+; component: GtkFileChooser)
Oh, by the way, when doing a move operation within the file chooser, any host program segfaults, not just Nautilus. Tentatively reassigning to GTK+.
Sorry, the last comment was unclear. The host program don't crash for any move operation, just when D'n'Ding over the desktop entry. Also I recompiled GTK and glib2 with -g. See new backtrace with line numbers below. (Although line numbers don't seem to show for functions from glib2? Is this normal?) Program terminated with signal 11, Segmentation fault.
+ Trace 232931
Thread 1 (Thread 0x7f285b7a2940 (LWP 3565))
Okay, I recompiled glib2 with --enable-debug=yes, now most of the line numbers should be there. Program terminated with signal 11, Segmentation fault.
+ Trace 232932
Thread 1 (Thread 0x7f63ead54940 (LWP 28801))