After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 524516 - FileZilla Server => gvfsd-ftp crashed with SIGSEGV in do_read()
FileZilla Server => gvfsd-ftp crashed with SIGSEGV in do_read()
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: ftp backend
0.2.x
Other Linux
: Normal critical
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2008-03-26 17:43 UTC by Sebastien Bacher
Modified: 2009-05-13 09:31 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Partial fix to the problem (414 bytes, patch)
2008-09-12 18:15 UTC, palfrey
none Details | Review

Description Sebastien Bacher 2008-03-26 17:43:01 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/206539

"Was copying a file called ".purple.rar" from a FTP hosted on a system running Vista SP1 x64 with FileZilla FTP Server v0.9.25 beta. On the same note, Nautilus would simply refuse to copy a directory named ".purple" or any of its contents from the same FTP server.

.

Thread 1 (process 6642)

  • #0 do_read
    at gvfsbackendftp.c line 1512
  • #1 run
    at gvfsjobread.c line 124
  • #2 g_vfs_job_run
    at gvfsjob.c line 198
  • #3 job_handler_callback
    at gvfsdaemon.c line 142
  • #4 g_thread_pool_thread_proxy
    at /build/buildd/glib2.0-2.16.1/glib/gthreadpool.c line 265
  • #5 g_thread_create_proxy
    at /build/buildd/glib2.0-2.16.1/glib/gthread.c line 635
  • #6 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #7 clone
    from /lib/tls/i686/cmov/libc.so.6"

Comment 1 palfrey 2008-09-12 18:15:37 UTC
Created attachment 118610 [details] [review]
Partial fix to the problem

This patch partially fixes the problem by catching NULL jobs in gvfsjobread.c, but the larger problem is where the NULL job came from to start with.
Comment 2 Andreas Henriksson 2009-01-22 14:32:17 UTC
Is this bug reproducible and if so does it happen also with later (1.x) versions of gvfs? (Atleast one nasty memory-corrupting crasher has been fixed in the gvfs ftp backend since 0.2.x.)

Can anyone provide access to "a system running Vista SP1 x64 with FileZilla FTP Server v0.9.25 beta", or know of a public host running this ftp server software, for testing?

I think the segfault only shows a symptom of the problem which occurs erlier.
I'd be interested in looking into the problem if more information is provided!
Comment 3 Sebastien Bacher 2009-05-13 09:31:25 UTC
there is no recent duplicate and the submitter doesn't reply let's close the bug
Comment 4 Sebastien Bacher 2009-05-13 09:31:34 UTC
there is no recent duplicate and the submitter doesn't reply let's close the bug