nautilus crashes opening empty location

Bug #228203 reported by Robert Ancell on 2008-05-08
6
Affects Status Importance Assigned to Milestone
Nautilus
Invalid
Unknown
nautilus (Ubuntu)
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

To reproduce:
1. Open nautilus window
2. Show location bar (ctrl-L)
3. Clear location (backspace)
4. Press enter

What occurs: Nautilus crashes with SIGSEGV then restarts
Reproducible: Always
Expected behaviour: Enter keypress is ignored unless non-empty location entered

ProblemType: Crash
Architecture: i386
Date: Thu May 8 23:26:12 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/nautilus
NonfreeKernelModules: fglrx
Package: nautilus 1:2.22.2-0ubuntu4
PackageArchitecture: i386
ProcCmdline: nautilus --no-desktop file:///home/username
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_NZ.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: nautilus
Stacktrace:
 #0 0x08106238 in ?? ()
 #1 0x083c9fd0 in ?? ()
 #2 0x00000000 in ?? ()
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
Title: nautilus crashed with SIGSEGV
Uname: Linux 2.6.24-16-386 i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin mythtv plugdev scanner video

Robert Ancell (robert-ancell) wrote :
Robert Ancell (robert-ancell) wrote :

When run from the command line:
bob@alchemy2:~$ nautilus
seahorse nautilus module initialized
Initializing nautilus-share extension
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

** (nautilus:23505): WARNING **: Unable to add monitor: Not supported

** (nautilus:23505): CRITICAL **: nautilus_file_new_from_filename: assertion `filename[0] != '\0'' failed
Segmentation fault (core dumped)

StacktraceTop:?? ()
?? ()
?? ()

Sebastien Bacher (seb128) wrote :

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Isak Savo (isak-savo) wrote :

I can reproduce this on my machine, (ubuntu hardy)

Here's a backtrace with nautilus-dbg, glib-dbg and gtk-dbg packages installed:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6af2720 (LWP 27136)]
0x08106268 in nautilus_file_invalidate_attributes (file=0x0,
    file_attributes=2047) at nautilus-file.c:6415
6415 nautilus-file.c: No such file or directory.
 in nautilus-file.c
(gdb) bt
#0 0x08106268 in nautilus_file_invalidate_attributes (file=0x0,
    file_attributes=2047) at nautilus-file.c:6415
#1 0x08106306 in nautilus_file_invalidate_all_attributes (file=0x0)
    at nautilus-file.c:6450
#2 0x0809a0ab in begin_location_change (window=0x8440970, location=0x8562338,
    new_selection=0x0, type=NAUTILUS_LOCATION_CHANGE_STANDARD, distance=0,
    scroll_pos=0x0) at nautilus-window-manage-views.c:776
#3 0x0809d464 in nautilus_window_open_location_with_selection (
    window=0x8440970, location=0x8562338, selection=0x0, close_behind=0)
    at nautilus-window-manage-views.c:623
#4 0x080a09f3 in nautilus_window_go_to_with_selection (window=0x8440970,
    location=0x8562338, new_selection=0x0) at nautilus-window.c:246
#5 0x0806cdec in nautilus_application_present_spatial_window_with_selection (
    application=0x81a3c50, requesting_window=0x8352010, startup_id=0x0,
    location=0x8562338, new_selection=0x0, screen=0x81a20b0)
    at nautilus-application.c:1231
#6 0x0809d319 in nautilus_window_open_location_full (window=0x8352010,
    location=0x8562338, mode=NAUTILUS_WINDOW_OPEN_ACCORDING_TO_MODE, flags=0,
    new_selection=0x0) at nautilus-window-manage-views.c:522
#7 0x0809d4a5 in nautilus_window_open_location (window=0x8352010,
    location=0x8562338, close_behind=0) at nautilus-window-manage-views.c:606
#8 0x080a0a97 in nautilus_window_go_to (window=0x8352010, location=0x8562338)
    at nautilus-window.c:237
#9 0x0807daa9 in response_callback (dialog=0x83419a0, response_id=0,
    data=0x83419a0) at nautilus-location-dialog.c:82
#10 0xb75ff79a in g_cclosure_marshal_VOID () from /usr/lib/libgobject-2.0.so.0
#11 0xb75f2759 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0xb7606d1d in ?? () from /usr/lib/libgobject-2.0.so.0

Sebastien Bacher (seb128) wrote :

The bug has been sent upstream on http://bugzilla.gnome.org/show_bug.cgi?id=532531

Changed in nautilus:
status: Incomplete → Triaged
Changed in nautilus:
status: Unknown → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.