GNOME Bugzilla – Bug 608621
Crash of gvfsd-ftp
Last modified: 2010-02-07 17:29:11 UTC
If I try to connect on a FTP files share in my local network with Nautilus or Déjà Dup (they use gvfs), gvfsd-ftp crash. My version of gvfs is 1.4.3 in Fedora 12 (x86_64). I already said this bug in Red Hat Bugzilla and I see the same problem in Ubuntu PC of a friend. The link to the bug in Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=555033 This bug is a big problem because it prevents to connect to a FTP files share with Nautilus and all software using gvfs (ex: Déjà Dup backup utility)
Precision: I can mount the FTP address to a GVFS volume with Nautilus, (after reply to user and password question) but when I try to go in this volume gvfsd-ftp crash. And if y try to use a FTP address in Déjà Dup backup utility, gvfsd-ftp crash immediately.
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Created attachment 152761 [details] the backtrace of GVFS This is the backtrace Requested.
Tomáš Bžatek of Red Hat also working on this bug. Work together, no? See in this link: https://bugzilla.redhat.com/show_bug.cgi?id=555033
Have you all the necessary information?
Gendre, traces look good, thanks.
(In reply to comment #5) > Have you all the necessary information? This looks like a bad assert when resolving symlinks. Can you please attach the output of `GVFS_DEBUG=1 /usr/libexec/gvfsd -r` ? Can you find a public server where the issue is reproducible on?
Created attachment 153009 [details] The file obtain with the command "GVFS_DEBUG=1 /usr/libexec/gvfsd -r > gvfs-out.txt" And I have this on terminal: "** (process:3409): WARNING **: Couldn't create directory monitor on smb://x-gnome-default-workgroup/. Error: L'emplacement indiqué n'est pas monté ** (process:3409): WARNING **: Couldn't create directory monitor on smb://x-gnome-default-workgroup/. Error: L'emplacement indiqué n'est pas monté (process:3420): GLib-GIO-CRITICAL **: g_file_info_set_symlink_target: assertion `symlink_target != NULL' failed ** ERROR:gvfsftpdircache.c:254:g_vfs_ftp_dir_cache_resolve_symlink: assertion failed: (g_file_info_get_symlink_target (info) != NULL) "
Need something else?
The following fix has been pushed: d3f5454 ftp: Handle cases where symlink target is not defined
Created attachment 153212 [details] [review] ftp: Handle cases where symlink target is not defined This can happen when systems emulate ls -l output but fail. Surprisingly, ProFtpd seems to be one of these.
Note I didn't test that patch, so it would be nice if somebody could confirm that it indeed works.