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 564530 - Nautilus crashes when desktop icon is renamed to match an icon selected in Trash
Nautilus crashes when desktop icon is renamed to match an icon selected in Trash
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.30.x
Other All
: Normal critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-14 22:24 UTC by Splex
Modified: 2017-07-16 12:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30



Description Splex 2008-12-14 22:24:54 UTC
Steps to reproduce:
1. create an empty file on desktop named 'test' and delete it so that it goes to trash.
2. create a new file on desktop with any name other than 'test' and select it.
3. open trash either via the trash applet or through 'places'->'Home Folder'->'Trash'.
4. Select the deleted file 'test'. leave the window Trash window open.
4. Select the file on the desktop from step 2. Rename it to 'test'.
5. Nautilus will segfault.

Stack trace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f42a5d76780 (LWP 17849)]
0x00000000004c9bd2 in nautilus_file_clear_info (file=0x7f4294045310) at nautilus-file.c:313
313	nautilus-file.c: No such file or directory.
	in nautilus-file.c
(gdb) thread apply all bt

Thread 1 (Thread 0x7f42a5d76780 (LWP 17849))

  • #0 nautilus_file_clear_info
    at nautilus-file.c line 313
  • #1 rename_get_info_callback
    at nautilus-file.c line 1235
  • #2 complete_in_idle_cb
    at /build/buildd/glib2.0-2.18.2/gio/gsimpleasyncresult.c line 564
  • #3 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c line 2144
  • #4 g_main_context_iterate
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c line 2778
  • #5 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c line 2986
  • #6 IA__gtk_main
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c line 1200
  • #7 main
    at nautilus-main.c line 596
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.

Other information:
Ubuntu Intrepid 8.10
2.6.27-10-generic x86_64
Comment 1 lexual 2008-12-15 11:08:16 UTC
confirming on fedora 10
Comment 2 palfrey 2008-12-15 11:42:32 UTC
Just reproduced locally (customised Ubuntu/Debian system). Part of the 'bt full' output:

Thread 1 (Thread 0xb69c16c0 (LWP 8584))

  • #0 nautilus_file_clear_info
    at nautilus-file.c line 313
  • #1 nautilus_file_mark_gone
    at nautilus-file.c line 6308
  • #2 rename_get_info_callback
    at nautilus-file.c line 1227
  • #3 IA__g_simple_async_result_complete
    at /data/tparker/builder/sources/glib2.0_2.18.1-1/gio/gsimpleasyncresult.c line 554

Comment 3 Vish 2010-07-04 20:41:52 UTC
Do you still have this problem with an up to date version of nautilus?
Comment 4 Splex 2010-07-04 21:43:51 UTC
I just tried on my Arch64 box:
Kernel: 2.6.34
Nautilus 2.30.2

The bug still exists.
Comment 5 Splex 2010-07-04 21:46:19 UTC
Correction, Nautilus 2.30.1
Comment 6 Sebastien Bacher 2012-03-12 21:43:58 UTC
The issue seems to still be there on 3.3.91: https://bugs.launchpad.net/nautilus/+bug/952974
Comment 7 Alexandre Franke 2016-12-04 22:51:39 UTC
Does this still happen with a more recent version (3.20 or newer)?

Does it happen only on the desktop?
Comment 8 clobrano 2017-07-10 14:59:01 UTC
I could not reproduce this behavior anymore with Ubuntu 16.04 (and Nautilus 3.14.3), mostly because it seems to be impossible to copy the filename of an item in Trash.