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 89046 - lockup on ftp get directory
lockup on ftp get directory
Status: RESOLVED DUPLICATE of bug 62147
Product: gnome-vfs
Classification: Deprecated
Component: Module: ftp
cvs (head)
Other Linux
: High critical
: ---
Assigned To: gnome-vfs maintainers
Luis Villa
Depends on:
Blocks:
 
 
Reported: 2002-07-25 14:04 UTC by Josh Parsons
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Josh Parsons 2002-07-25 14:04:06 UTC
If nautilus has been left running for a while (hours), attempts to look at
an ftp directory uri result in lockup (nautilus OK, but all vfs accesses
take forever) with one thread consuming 100% cpu time.

A backtrace of the out-of-control thread shows:

  • #0 read
    from /lib/i686/libpthread.so.0
  • #1 refill_input_buffer
    from /usr/lib/libgnomevfs-2.so.0
  • #2 gnome_vfs_iobuf_read
    from /usr/lib/libgnomevfs-2.so.0
  • #3 read_response_line
    from /usr/lib/gnome-vfs-2.0/modules/libftp.so
  • #4 get_response
    from /usr/lib/gnome-vfs-2.0/modules/libftp.so
  • #5 ftp_connection_acquire
    from /usr/lib/gnome-vfs-2.0/modules/libftp.so
  • #6 do_open_directory
    from /usr/lib/gnome-vfs-2.0/modules/libftp.so
  • #7 do_get_file_info
    from /usr/lib/gnome-vfs-2.0/modules/libftp.so
  • #8 gnome_vfs_get_file_info_uri_cancellable
    from /usr/lib/libgnomevfs-2.so.0
  • #9 execute_get_file_info
    from /usr/lib/libgnomevfs-2.so.0
  • #10 gnome_vfs_job_execute
    from /usr/lib/libgnomevfs-2.so.0
  • #11 thread_routine
    from /usr/lib/libgnomevfs-2.so.0
  • #12 thread_entry
    from /usr/lib/libgnomevfs-2.so.0
  • #13 g_thread_create_proxy
    from /usr/lib/libglib-2.0.so.0
  • #14 pthread_start_thread
    from /lib/i686/libpthread.so.0

Comment 1 Luis Villa 2002-08-20 00:59:50 UTC
Josh: is this always repeatable?
Comment 2 Josh Parsons 2002-08-21 12:08:21 UTC
Yep, it happens every time nautilus has been running a couple of hours
for me.  I just checked again, here is another backtrace.  This bug
has been biting me since before gnome 2, though I hadn't tried tracing
it with gdb before.

I use nautilus with ftp uris a lot - it could be that the time has to
elapse between successive ftp load directories, rather than between
gnome-vfs initialisation and a load directory.

  • #0 g_string_insert_len
    from /usr/lib/libglib-2.0.so.0
  • #1 g_string_append
    from /usr/lib/libglib-2.0.so.0
  • #2 read_response_line
    from /usr/lib/gnome-vfs-2.0/modules/libftp.so
  • #3 get_response
    from /usr/lib/gnome-vfs-2.0/modules/libftp.so
  • #4 ftp_connection_acquire
    from /usr/lib/gnome-vfs-2.0/modules/libftp.so
  • #5 do_open_directory
    from /usr/lib/gnome-vfs-2.0/modules/libftp.so
  • #6 do_get_file_info
    from /usr/lib/gnome-vfs-2.0/modules/libftp.so
  • #7 gnome_vfs_get_file_info_uri_cancellable
    from /usr/lib/libgnomevfs-2.so.0
  • #8 execute_get_file_info
    from /usr/lib/libgnomevfs-2.so.0
  • #9 gnome_vfs_job_execute
    from /usr/lib/libgnomevfs-2.so.0
  • #10 thread_routine
    from /usr/lib/libgnomevfs-2.so.0
  • #11 thread_entry
    from /usr/lib/libgnomevfs-2.so.0
  • #12 g_thread_create_proxy
    from /usr/lib/libglib-2.0.so.0
  • #13 pthread_start_thread
    from /lib/i686/libpthread.so.0

Comment 3 Josh Parsons 2002-12-11 14:58:28 UTC
I can no longer reproduce this bug - it seems to have stopped
happenning somewhere before gnome-vfs 2.1.3
Comment 4 Christophe Fergeau 2003-03-27 22:14:11 UTC
Marking as fixed then, shout if you disagree :)
Comment 5 Josh Parsons 2003-04-16 17:10:29 UTC
Ulch! Found it again... It seems this bug only shows up on one ftp
server I use.  It seemed to disappear because I stopped using that
server for a while.  My guess is that it's due to the server software
they're using.  The server is ftp.mirror.ac.uk (resolves to several
servers, but they all cause trouble).  Maybe buggy server software,
but it shouldn't cause a lockup in any case.

The admins of the server concerned can be reached at mirror@mirror.ac.uk
Comment 6 Christophe Fergeau 2003-05-23 20:50:09 UTC
Bug #62147 is similar
Comment 7 Manuel Clos 2003-10-19 22:37:56 UTC
Well, I think this _is_ Bug #62147

  • #0 g_string_insert_len
    from /usr/lib/libglib-2.0.so.0
  • #1 g_string_append
    from /usr/lib/libglib-2.0.so.0
  • #2 read_response_line
    from /usr/lib/gnome-vfs-2.0/modules/libftp.so
  • #3 get_response
    from /usr/lib/gnome-vfs-2.0/modules/libftp.so

It keeps in read_response_line because it is waiting to complete the
response that will never arrive because of "421 Timeout" :)
Comment 8 Luis Villa 2004-02-22 18:42:38 UTC

*** This bug has been marked as a duplicate of 62147 ***