I uploaded the backport, thanks Seb for pointing it out.

Please check once it's approved.

** Description changed:

+ [ 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
+  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
+  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

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to