GNOME Bugzilla – Bug 131861
Holding down F2 and clicking on desktop, having objects selected crashes nautilus
Last modified: 2004-12-22 21:47:04 UTC
If you select a file, shortcut etc. and try to rename it using the F2 key but change your mind and abort by clicking somewhere else, nautilus segfaults. Steps to reproduce: 1. Select object. 2. Hold down F2 key. 3. Click somewhere else (desktop). 4. Nautilus crashes. (Segmentation fault)
I was able to reproduce, but it took me a while. Basically I opened a nautilus window for my home directory, selected the file, held down F2 while clicking several times in totally different locations. I've duplicated this both under nautilus-2.4.x (a vanilla Fedora 1 install) and under nautilus-2.5.x (from CVS head about a month or so ago). The two stack traces look different to me, but the interesting thing is that the 2.5 trace looks like bug 75817/bug 75076 (closed long ago due to not being able to reproduce though it showed up multiple times). I'll cut and paste both the traces here. First, I'll cut & paste the 2.4 trace (sorry, no debugging symbols in this one): Backtrace was generated from '/usr/bin/nautilus' (no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1". (no debugging symbols found)... <snip> (no debugging symbols found)...[Thread debugging using libthread_db enabled] [New Thread -1084577920 (LWP 25394)] [New Thread -1090286672 (LWP 1001)] [New Thread -1090020432 (LWP 1000)] [New Thread -1087239248 (LWP 25429)] [New Thread -1086973008 (LWP 25428)] [New Thread -1086706768 (LWP 25427)] (no debugging symbols found)... <snip> (no debugging symbols found)...(no debugging symbols found)... 0x00bdcc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
+ Trace 43330
The 2.5.x stacktrace is huge, so I'm going to attach it. I'll still cut-and-paste part of it here so that the simple-dup-finder can pick up on it. Backtrace was generated from '/opt/gnome2/bin/nautilus' ...
+ Trace 43332
Created attachment 23506 [details] Entire 2.5.x stack trace (somewhat long)
*** Bug 130928 has been marked as a duplicate of this bug. ***
I've commited a fix to both branches today: rename_file_callback() wasn't checking if the selection is still valid, so it crashed over a null pointer when one unselects quickly after starting a rename.
*** Bug 135631 has been marked as a duplicate of this bug. ***