gvfsd-smb crashes when been unmounted from Nautilus

Bug #1205647 reported by Mathieu Marquer
154
This bug affects 33 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Fix Released
Medium
Unassigned
gvfs
Expired
Medium
gvfs (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

****************
HOW TO REPRODUCE
****************

1. Open a Nautilus window.
2. Open a new tab.
3. In the new tab, navigate to a Samba share.
4. A new entry for the share appears under Network in the left side panel.
5. Close the new tab.
6. In the left side panel, under Network, click the unmount icon next to Samba share entry.

******************
EXPECTED BEHAVIOUR
******************

- Samba share to be unmounted.

**************
REAL BEHAVIOUR
**************

- "gvfsd-smb" crashes.
- Get two alert boxes:

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

2. Unable to unmount <share name>
    The connection is closed

**************
TECHNICAL INFO
**************

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: gvfs-backends 1.17.2-0ubuntu3
ProcVersionSignature: Ubuntu 3.10.0-5.14-generic 3.10.2
Uname: Linux 3.10.0-5-generic x86_64
ApportVersion: 2.11-0ubuntu1
Architecture: amd64
Date: Sat Jul 27 15:58:03 2013
ExecutablePath: /usr/lib/gvfs/gvfsd-smb
InstallationDate: Installed on 2013-07-20 (6 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
ProcCmdline: /usr/lib/gvfs/gvfsd-smb --spawner :1.9 /org/gtk/gvfs/exec_spaw/7
ProcEnviron:
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, no user)
 LANGUAGE=fr_FR
 LANG=fr_FR.UTF-8
SegvAnalysis:
 Segfault happened at: 0x7fad3ebbfff1: cmpb $0x0,(%rax)
 PC (0x7fad3ebbfff1) ok
 source "$0x0" ok
 destination "(%rax)" (0x00000170) not located in a known VMA region (needed writable region)!
 Stack memory exhausted (SP below stack segment)
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: gvfs
StacktraceTop:
 ?? () from /usr/lib/x86_64-linux-gnu/libsmbclient.so.0
 ?? ()
 g_vfs_job_run () from /usr/lib/x86_64-linux-gnu/gvfs/libgvfsdaemon.so
 ?? () from /usr/lib/x86_64-linux-gnu/gvfs/libgvfsdaemon.so
 ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
Title: gvfsd-smb crashed with SIGSEGV in g_vfs_job_run()
UpgradeStatus: Upgraded to saucy on 2013-07-20 (6 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Mathieu Marquer (slasher-fun) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 ?? () from /tmp/apport_sandbox_7fAhne/usr/lib/x86_64-linux-gnu/libsmbclient.so.0
 ?? ()
 g_vfs_job_run () from /tmp/apport_sandbox_7fAhne/usr/lib/x86_64-linux-gnu/gvfs/libgvfsdaemon.so
 ?? () from /tmp/apport_sandbox_7fAhne/usr/lib/x86_64-linux-gnu/gvfs/libgvfsdaemon.so
 g_thread_pool_thread_proxy (data=<optimized out>) at /build/buildd/glib2.0-2.37.3/./glib/gthreadpool.c:309

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
tags: added: apport-failed-retrace
tags: removed: need-amd64-retrace
Revision history for this message
Apport retracing service (apport) wrote : Updated stack trace from duplicate bug 1206549

Package: gvfs-backends 1.17.2-0ubuntu3
ProcCmdline: /usr/lib/gvfs/gvfsd-smb --spawner :1.5 /org/gtk/gvfs/exec_spaw/6

Revision history for this message
Apport retracing service (apport) wrote : Dependencies.txt
Revision history for this message
Apport retracing service (apport) wrote : ProcMaps.txt
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
tags: removed: apport-failed-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: gvfsd-smb crashed with SIGSEGV in g_vfs_job_run()

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

Changed in gvfs (Ubuntu):
status: New → Confirmed
information type: Private → Public
Revision history for this message
cacula (cacula) wrote :

crash happend while trying to unmount smb share in natulius

Revision history for this message
Rainer Rohde (rainer-rohde) wrote :

This happens to me when trying to unmount an SMB share from Nautilus by clicking on the little triangular icon. However, when right-clicking and choosing "unmount", there is *no* crash.

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Mathieu Marquer, notice you have exposed private information by making a bug with an attached "CoreDump.gz" file public (https://wiki.ubuntu.com/Bugs/HowToTriage#Apport_crash_reports).

information type: Public → Private
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

I have now preformed the proper steps for marking it public again.

information type: Private → Public
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

This bug needs now to be notified to the upstream developers of GNOME (https://wiki.ubuntu.com/Bugs/HowToTriage#Forwarding_upstream).

Once this has been done, it will be ready to be worked on by a developer.

Changed in gvfs (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Mathieu Marquer (slasher-fun) wrote :

Woops, thank you Alberto.

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Not at all, Mathieu ☕

Changed in gvfs (Ubuntu):
importance: Undecided → Medium
status: Triaged → Confirmed
Revision history for this message
Jeffery To (jefferyto) wrote :

I can reproduce this issue with the following steps:

1. Open a Nautilus window. (It defaults to my home directory.)
2. Open a new tab or window. (This also opens to my home directory.)
3. In the new tab/window, navigate to a Samba share. (I have one bookmarked so I click on the bookmark in the left side panel.) A new entry for the share appears under Network in the left side panel.
4. Close the new tab/window.
5. In the left side panel, under Network, click the unmount icon next to Samba share entry.

At this point, gvfsd-smb crashes. I also get two alert boxes (I believe from Nautilus):

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

2. Unable to unmount <share name>
    The connection is closed

Revision history for this message
Jeffery To (jefferyto) wrote :

I've filed this issue with upstream: https://bugzilla.gnome.org/show_bug.cgi?id=710986

Changed in gvfs:
importance: Undecided → Unknown
status: New → Unknown
description: updated
Changed in gvfs (Ubuntu):
status: Confirmed → Triaged
summary: - gvfsd-smb crashed with SIGSEGV in g_vfs_job_run()
+ gvfsd-smb crashes when unmounted from Nautilus
summary: - gvfsd-smb crashes when unmounted from Nautilus
+ gvfsd-smb crashes when been unmounted from Nautilus
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → Low
status: Confirmed → Triaged
assignee: nobody → Papercuts Ninja (papercuts-ninja)
Changed in gvfs:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in hundredpapercuts:
importance: Low → Medium
assignee: Papercuts Ninjas (papercuts-ninja) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gvfs - 1.19.90-1ubuntu1

---------------
gvfs (1.19.90-1ubuntu1) trusty; urgency=medium

  * New upstream release:
    - Fix crash on unmounting smb. (LP: #1205647)
  * Merge with Debian experimental. Remaining Ubuntu changes:
    - Split out a gvfs-backends-goa binary, as in Ubuntu we wan to use Ubuntu
      Online Accounts.
    - Bump gvfs-backend's Replaces: to gvfs-common, to fix failing
      dist-upgrade from precise due to moved gvfs-dns-sd.convert.
      (LP #1278812). Can be dropped after 14.04.
    - Drop libbluray-dev build dependency, it is in universe.

gvfs (1.19.90-2) UNRELEASED; urgency=medium

  * debian/tests/control: Add umockdev test dependencies for the GPhoto test
    case.
  * debian/tests/control: Add isolation-machine restriction, as we fiddle with
    the kernel in this test.

gvfs (1.19.90-1) experimental; urgency=medium

  * New upstream release.
  * Bump build-dependencies according to configure.ac changes:
    - use libsoup 2.42.0 (instead of libsoup-gnome)
    - libsmbclient 3.4.0
  * Drop debian/patches/05_shared_libdaemon.patch, obsolete.
  * Refresh patches:
    - debian/patches/handle-inactive-vfs.patch
    - debian/patches/ref-jobs-in-thread.patch
  * debian/rules: disable extra LDFLAGS.
 -- Martin Pitt <email address hidden> Fri, 28 Feb 2014 10:58:26 +0100

Changed in gvfs (Ubuntu):
status: Triaged → Fix Released
Changed in hundredpapercuts:
status: Triaged → Fix Released
Changed in gvfs:
status: Confirmed → Fix Released
Changed in gvfs:
status: Fix Released → Confirmed
Changed in gvfs:
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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