← Back to team overview

desktop-packages team mailing list archive

[Bug 1361906] Re: gvfsd-ftp crashed with SIGABRT in g_mutex_unlock_slowpath()

 

This bug was fixed in the package gvfs - 1.20.2-1ubuntu3

---------------
gvfs (1.20.2-1ubuntu3) utopic; urgency=medium

  * 0001-ftp-Don-t-unlock-unlocked-mutex.patch,
    0001-mtp-do-not-crash-when-device-is-unplugged.patch: Backport patches
    from git to fix crashes due to misusing mutexes on newer versions of GLib
    (LP: #1361906, #1377110)
 -- Iain Lane <iain@xxxxxxxxxxxxxxxxxxx>   Wed, 07 Jan 2015 16:26:56 +0000

** Changed in: gvfs (Ubuntu Utopic)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1361906

Title:
  gvfsd-ftp crashed with SIGABRT in g_mutex_unlock_slowpath()

Status in GVFS:
  Fix Released
Status in bluefish package in Ubuntu:
  Invalid
Status in gvfs package in Ubuntu:
  Fix Released
Status in bluefish source package in Utopic:
  Invalid
Status in gvfs source package in Utopic:
  Fix Released

Bug description:
  [ Description ]

  gvfsd-ftp sometimes attempts to unlock an already unlocked mutex,
  which is fatal with glib in utopic and later.

  [ QA ]

  1. Open gedit
  2. File -> Open
  3. Ctrl-l
  4. Type ftp://ftp.gnome.org/
  5. Press enter

  At this point gvfsd-ftp may crash, and you'll see an apport popup if
  so. The operation won't work.

  With the fix it should not crash and you should see the listings of
  the remote server.

  [ Development fix ]

  This commit is in Vivid

  [ Original Report ]

  Ubuntu 14.10

  A clicked on a gvfs ftp mount in a Shotwell Save As dialog and it went
  boom.

  ProblemType: Crash
  DistroRelease: Ubuntu 14.10
  Package: gvfs-backends 1.20.2-1ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-10.15-generic 3.16.1
  Uname: Linux 3.16.0-10-generic x86_64
  ApportVersion: 2.14.6-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  CurrentDesktop: Unity
  Date: Tue Aug 26 18:09:46 2014
  ExecutablePath: /usr/lib/gvfs/gvfsd-ftp
  InstallationDate: Installed on 2014-07-04 (53 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
  ProcCmdline: /usr/lib/gvfs/gvfsd-ftp --spawner :1.4 /org/gtk/gvfs/exec_spaw/3
  ProcEnviron:
   XDG_RUNTIME_DIR=<set>
   SHELL=/bin/bash
   LANGUAGE=en_US
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  Signal: 6
  SourcePackage: gvfs
  StacktraceTop:
   g_mutex_unlock_slowpath (mutex=<optimized out>, prev=<optimized out>) at /build/buildd/glib2.0-2.41.3/./glib/gthread-posix.c:1327
   g_mutex_unlock (mutex=<optimized out>) at /build/buildd/glib2.0-2.41.3/./glib/gthread-posix.c:1350
   g_vfs_ftp_task_acquire_connection (task=0x7fa0c5ad1d40) at gvfsftptask.c:266
   g_vfs_ftp_task_sendv (task=0x7fa0c5ad1d40, flags=G_VFS_FTP_PASS_550, reply=reply@entry=0x0, format=format@entry=0x4105a9 "CWD %s", varargs=varargs@entry=0x7fa0c5ad1b78) at gvfsftptask.c:632
   g_vfs_ftp_task_sendv (varargs=0x7fa0c5ad1b78, format=0x4105a9 "CWD %s", reply=0x0, flags=G_VFS_FTP_PASS_550, task=0x7fa0c5ad1d40) at gvfsftptask.c:515
  Title: gvfsd-ftp crashed with SIGABRT in g_mutex_unlock_slowpath()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm audio cdrom dip lpadmin mediatomb plugdev pulse sambashare sudo vboxusers

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/1361906/+subscriptions