Nautilus crashes when accessing already mounted samba share

Bug #1323584 reported by Adam Niedling
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Ubuntu 14.04 LTS
gvfs: 1.20.1-1ubuntu1

How to reproduce:

1. Open a Nautilus window.
2. Navigate to a Samba share.
3. A new entry for the share appears under Network in the left side panel.
4. Wait 10-30 minutes, do some other work.
5. Go back to Nautilus and click on the Samba share.

Expected result: The content of the Samba share is displayed in Nautilus.

Actual result: I get the following error message in an alert box:

Oops! Something went wrong.
    Unhandled error message: The connection is closed

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gvfs 1.20.1-1ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11
Uname: Linux 3.13.0-27-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Tue May 27 12:15:40 2014
InstallationDate: Installed on 2013-07-22 (308 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
ProcEnviron:
 LANGUAGE=hu
 TERM=xterm
 PATH=(custom, no user)
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
SourcePackage: gvfs
UpgradeStatus: Upgraded to trusty on 2014-05-07 (19 days ago)

Revision history for this message
Adam Niedling (krychek) wrote :
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. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in gvfs (Ubuntu):
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gvfs (Ubuntu):
status: New → Confirmed
Revision history for this message
John Rüdén (john-ruden) wrote :

Yes, this stalls my work flow several times daily as I access files on our primary office file server which is Win/Samba.

Revision history for this message
yoyoma2 (sinbad-4273) wrote :

Getting the same bug but the error message is slightly different.

Oops! Something went wrong.
    Unhandled error message: Software caused connection abort

Revision history for this message
yoyoma2 (sinbad-4273) wrote :

Microsoft servers drop idle connections after 15 minutes. This behavior can be disabled by this command as administrator (details: http://support.microsoft.com/kb/297684).

net config server /autodisconnect:-1

Alternatively, adding the following script to the gnome startup applications keeps the connections alive.

#!/bin/bash
while true
do
    ls /run/user/`id -u`/gvfs/smb-share:* &> /dev/null
    sleep 600
done

Revision history for this message
Paul Phillips (paul-gs-phillips) wrote :

Thanks yoyoma2 - the script works a treat. This also appears to be a duplicate of
Bug #1321354

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.