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 352824 - Hang on gnome_vfs_get_file_info_uri for non existing remote directory (using SSH)
Hang on gnome_vfs_get_file_info_uri for non existing remote directory (using...
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: File operations
cvs (head)
Other Linux
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2006-08-25 10:23 UTC by Paolo Maggi
Modified: 2018-08-17 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paolo Maggi 2006-08-25 10:23:43 UTC
I got gnome-vfs to hang while getting info about a remote non-existing directory (using SSH).

It may be the problem is caused by:

(gedit:22330): libgnomevfs-WARNING **: Failed to activate daemon: The name org.gnome.GnomeVFS.Daemon was not provided by any .service files

but Jesse (in CC) is able to reproduce it on Ubuntu Dapper too (without the above warning).

Here the stack trace I got attaching gdb to the blocked process:
(gdb) bt full
  • #0 __kernel_vsyscall
  • #1 __lll_mutex_lock_wait
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 _L_mutex_lock_33
    from /lib/tls/i686/cmov/libpthread.so.0
  • #3 ??
  • #4 ??
    from /opt/gnome/gnome-216/INSTALL/lib/libORBit-2.so.0
  • #5 ConfigDatabase__iinterface
    from /opt/gnome/gnome-216/INSTALL/lib/libgconf-2.so.4
  • #6 in6addr_any
    from /lib/tls/i686/cmov/libc.so.6
  • #7 ??
  • #8 ??
    from /opt/gnome/gnome-216/INSTALL/lib/gnome-vfs-2.0/modules/libsftp.so
  • #9 pthread_mutex_destroy
    from /lib/tls/i686/cmov/libpthread.so.0
  • #10 sftp_get_connection
    at sftp-method.c line 1475
  • #11 do_get_file_info
    at sftp-method.c line 2613
  • #12 gnome_vfs_get_file_info_uri_cancellable
    at gnome-vfs-cancellable-ops.c line 201
  • #13 gnome_vfs_get_file_info_uri
    at gnome-vfs-ops.c line 332
  • #14 gedit_file_browser_store_set_virtual_root_from_string
    at gedit-file-browser-store.c line 2063
  • #15 gedit_file_browser_store_set_root_and_virtual_root
    at gedit-file-browser-store.c line 2463
  • #16 gedit_file_browser_widget_set_root_and_virtual_root
    at gedit-file-browser-widget.c line 1696
  • #17 gedit_file_browser_widget_set_root
    at gedit-file-browser-widget.c line 1726
  • #18 set_root_from_doc
    at gedit-file-browser-plugin.c line 261
  • #19 on_tab_added_cb
    at gedit-file-browser-plugin.c line 793
  • #20 IA__g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 636
  • #21 IA__g_closure_invoke
    at gclosure.c line 490
  • #22 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #23 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #24 IA__g_signal_emit
    at gsignal.c line 2241
  • #25 notebook_tab_added
    at gedit-window.c line 2550
  • #26 IA__g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 636
  • #27 IA__g_closure_invoke
    at gclosure.c line 490
  • #28 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #29 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #30 IA__g_signal_emit
    at gsignal.c line 2241
  • #31 gedit_notebook_add_tab
    at gedit-notebook.c line 930
  • #32 gedit_window_create_tab_from_uri
    at gedit-window.c line 3232
  • #33 load_file_list
    at gedit-commands-file.c line 228
  • #34 main
    at gedit.c line 541

Comment 1 André Klapper 2018-08-17 13:45:05 UTC
gnome-vfs got deprecated in 2008.

gnome-vfs is not under active development anymore and had its last code changes
in 2011. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gnome-vfs/commits/master

gio (in glib) and gvfs are its successors. See https://developer.gnome.org/gio/stable/ch33.html and https://people.gnome.org/~gicmo/gio-migration-guide/ for porting info.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent + supported version of glib/gio/gvfs. Thanks!