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 166120 - crash when renaming file
crash when renaming file
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.9.x
Other Linux
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 166712 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-02-03 02:23 UTC by Lupine
Modified: 2005-02-08 23:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
trace from file rename crash (45.19 KB, text/plain)
2005-02-04 19:51 UTC, Lupine
Details

Description Lupine 2005-02-03 02:23:02 UTC
1.) Open nautilus window (spatial mode or not, happens either way)

2.) Hit F2 or right-click to rename a file, but don't rename it, leave it
highlighted

3.) Click off the window, say on the desktop

4.) Click back on the nautilus window anywhere except on the file you were
trying to rename

5.) Crash should happen


This is using a Beyond Linux From Scratch system, with latest Gnome compiled
from tarballs downloaded from ftp.gnome.org.....mostly 2.9.0 versions.

nautilus-2.9.90
gnome-about == 2.9.90
Comment 1 Elijah Newren 2005-02-03 03:55:28 UTC
I can't duplicate with cvs head from a few days ago.  Can you provide a stack trace?
Comment 2 Lupine 2005-02-04 19:51:21 UTC
Created attachment 37003 [details]
trace from file rename crash
Comment 3 Elijah Newren 2005-02-08 20:46:23 UTC
*** Bug 166712 has been marked as a duplicate of this bug. ***
Comment 4 Elijah Newren 2005-02-08 20:52:08 UTC
Pasting the first part of the stack trace to make it easier to find duplicates
with the simple-dup-finder.  (The stack trace appears to be unique).  It'd be
great if you could both test with 2.9.91, since I wasn't able to duplicate with
a newer version than 2.9.90...

  • #6 <signal handler called>
  • #7 strcmp
    from /lib/libc.so.6
  • #8 cell_renderer_edited
    at fm-list-view.c line 860
  • #9 _gtk_marshal_VOID__STRING_STRING
    at gtkmarshalers.c line 2234
  • #10 IA__g_closure_invoke
    at gclosure.c line 437
  • #11 signal_emit_unlocked_R
    at gsignal.c line 2485
  • #12 IA__g_signal_emit_valist
    at gsignal.c line 2244
  • #13 IA__g_signal_emit
    at gsignal.c line 2288
  • #14 gtk_cell_renderer_text_editing_done
    at gtkcellrenderertext.c line 1620
  • #15 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77

Comment 5 Martin Wehner 2005-02-08 23:54:24 UTC
It only crashes in the list view, that's the missing ingredient.
Comment 6 Martin Wehner 2005-02-08 23:55:02 UTC
2005-02-08  Martin Wehner  <martin.wehner@epost.de>

	* src/file-manager/fm-list-view.c: (cell_renderer_edited),
	(fm_list_view_start_renaming_file):
	Set original_name to the new name as cell_renderer_edited()
	might be called multiple times if the view looses focus.
	Fixes bug #166120.