GNOME Bugzilla – Bug 324365
nautilus crashes when accessing ".." or "#" location
Last modified: 2007-08-24 11:54:20 UTC
This bug has been opened here: http://bugzilla.ubuntu.com/show_bug.cgi?id=21167 "When i go to location bar, and insert .. as a location to be accessed (and then enter), the nautilus crashes. It does not crash if i put anything like: ../_sth_ , only when it is a bare .. location. Ubuntu Breeze Nautilus 2.12.1"
Happens with current tarball too: Backtrace was generated from '/usr/bin/nautilus' Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. [Thread debugging using libthread_db enabled] [New Thread -1226213696 (LWP 8801)] [New Thread -1292874832 (LWP 15608)] [New Thread -1284482128 (LWP 15607)] [New Thread -1229108304 (LWP 8814)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 64671
Thread 1 (Thread -1226213696 (LWP 8801))
I can reproduce this with Nautilus 2.12.0. Steps to reproduce: - Open the 'open location' dialog with ctrl+l - Type '..' - Click 'open' Result: Nautilus crashes.
*** Bug 321888 has been marked as a duplicate of this bug. ***
It looks to me like it's a gnome-vfs bug, not sure though. GnomeVFSURI *uri = gnome_vfs_uri_new ("file:///.."); printf ("%s\n", gnome_vfs_uri_to_string (uri, 0)); This code fragment prints "file:". I expected that it prints "file:///", i.e. it shouldn't be possible to remove the first slash with .. If I've read the code correctly, that behaviour may be the reason for the crash of nautilus. gnome_vfs_get_local_path_from_uri ("file:") in nautilus_get_uri_shortname_for_display in nautilus-file-utilities.c returns NULL.
*** Bug 316035 has been marked as a duplicate of this bug. ***
works fine now, marking as fixed
*** Bug 351499 has been marked as a duplicate of this bug. ***
That crash still happens with nautilus 2.17.1, that was not a duplicate from the other bug which is fixed, unduplicating it then
*** Bug 436071 has been marked as a duplicate of this bug. ***
Also affects Gnome 2.18 :(
Fixed in svn.