GNOME Bugzilla – Bug 590591
nautilus crashed with SIGSEGV in nautilus_file_peek_display_name()
Last modified: 2009-11-17 09:32:08 UTC
this report has been filed here: https://bugs.edge.launchpad.net/ubuntu/+source/nautilus/+bug/407768 "extracting files, then opening new tab" ".
+ Trace 216760
Thread 1 (process 3568)
*** Bug 598681 has been marked as a duplicate of this bug. ***
*** Bug 599675 has been marked as a duplicate of this bug. ***
Created attachment 146759 [details] [review] Possible workaround, falling back to parent folder info when selected item is not valid. Some users reported the same issue in Fedora 12, however without good repro steps. The issue happened when deleting files in one case but I'm unable to reproduce it here. Some notes: - the selection_changed_callback() is properly called once the delete operation is finished, no intermittent callbacks during the operation. - for some reason, we get a single GFile object but lookup for corresponding NautilusFile fails. Might be a race condition, we get the file URI which is already gone from the nautilus folder view.
I managed to reproduce this by doing, in list view under valgrind: create new folder press delete to delete name press enter press delete to delete file try to open the file which is still there.
launchpad bug comment "There could be more bugs around this one. I give instruction that definitely make nautilus crash. -> *create a new folder* -> folder name is "Namenloser Ordner", in engl. i think: "Unnamed Folder". -> instead of entering a new folder name, *hit delete* -> folder is unamed : "" -> *hit enter* -> folder name is as before :"Namenloser Ordner" / "Unnamed Folder" -> deleting this folder results in a crash" it happens when using listview
*** Bug 601184 has been marked as a duplicate of this bug. ***
Created attachment 147378 [details] [review] nautilus-2.28.2-unfreeze-listview-after-rename.patch Better patch based on repro steps. This fixes the issue with leftover item after rename with empty string. Still, do you think that so many people create directories with no name, judging by the number of duplicates reported?
I dunno. I guess it may happen quite a bit by accident if you press backspace not realizing that the whole entry is selected (for overwrite) and then accidentally press enter. Anyway, Its obviously right and causes this bug so I'm commiting and closing. We'll get more reports if there are more issues.