Nautilus hangs after smb share is unavailable

Bug #528314 reported by Matthias Meier
74
This bug affects 16 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Confirmed
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

After opening and closing a smb share with nautilus, the gvfsd-smb mount isn't unmounted automatically.
As soon as the network share is unavailable thereafter, the whole gnome desktop freezes for about 30' from time to time.
Until the user logs out or the gfs-mount is unmounted manually (which in case can't be done until the freeze period is over).

It would be nice if the gvfs-unmount would happen automatically after some timeout witout traffic and/or when all network interfaces (LAN/WLAN) are down.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in nautilus (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Matthias Meier (matthias-j-meier) wrote : Re: [Bug 528314] Re: Nautilus hangs after smb share is unavailable

Sebastien Bacher schrieb:
> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. Please try to obtain a backtrace following the
> instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload
> the backtrace (as an attachment) to the bug report. This will greatly
> help us in tracking down your problem.
>
> ** Changed in: nautilus (Ubuntu)
> Importance: Undecided => Medium
>
> ** Changed in: nautilus (Ubuntu)
> Status: New => Incomplete
>
> ** Changed in: nautilus (Ubuntu)
> Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs)
>
>
I think I can't do a backtrace, because nautilus doesn't seem to crash -
it seems nautilus only times out during a directory list of ~ or .gvfs/

Regards
Matthias

Revision history for this message
Matthias Meier (matthias-j-meier) wrote :

Is it possible to specify a timeout after which an idle gvfsd-smb share could be unmounted automatically?

affects: nautilus (Ubuntu) → gvfs (Ubuntu)
Revision history for this message
Carey Underwood (cwillu) wrote :

When the smb connection has died, gvfsd-smb doesn't appear to die along with it, nor restablish a connection. This results in 20 second hangs when selecting that share in nautilus, or when doing most operations in the root of a gvfs-fuse mount.

Changed in gvfs (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Dmitry (rusdmitry) wrote :

If you anybody needs steps to reproduce (I tested on Wi-Fi networks but that does not matter, really):
1) Connect to a samba share on your network
2) Close nautilus
3) Connect to a network where a there is no route to a server with the samba share
4) Open nautilus (hangs for about 2 - 3 minutes)

If you unmount your share nautilus does not hang after a restart.

Revision history for this message
Sam Weston (sam-weston) wrote :

We have this problem with Ubuntu 14.04. It happens when the network connection is lost or after a period of inactivity. Anyone found a workaround yet?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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