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 343941 - Opening remote locations hangs nautilus
Opening remote locations hangs nautilus
Status: RESOLVED DUPLICATE of bug 349241
Product: gnome-vfs
Classification: Deprecated
Component: Module: ssh/sftp
2.15.x
Other All
: High critical
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
: 325223 347925 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-06-05 20:26 UTC by Sebastian Breier
Modified: 2006-08-04 21:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Sebastian Breier 2006-06-05 20:26:35 UTC
Steps to reproduce:
1. Open nautilus
2. Press Ctrl+L to get to the location bar
3. Input some remote location (tested only with ssh://myserver/my/home so far)

Stack trace:
(gdb) thread apply all bt



Other information:
The crash/hang doesn't always happen. Sometimes nautilus works just like expected. Sometimes it hangs (not just for a short time, I've waited minutes). strace says it's hanging in some mutex wait. I hope the stack trace helps, I can debug a lot more if necessary.
Comment 1 Sebastian Breier 2006-06-05 20:29:03 UTC
Bug also in Ubuntu:
https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/48579
Comment 2 Sergej Kotliar 2006-06-05 22:46:05 UTC
Thanks for the bug report. Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. In this case, it'd be the gnome-vfs2 debug packages that are needed.
Comment 3 Sebastian Breier 2006-06-06 07:41:45 UTC
Sorry, I only had nautilus-dbg installed, which wasn't enough... I got more now, I hope it helps.

(gdb) thread apply all bt

Thread 1 (Thread -1225115264 (LWP 6666))

  • #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 param_spec_pool_equals
    at gparam.c line 628
  • #5 sftp_get_connection
    at sftp-method.c line 1454
  • #6 do_get_file_info
    at sftp-method.c line 2351
  • #7 gnome_vfs_get_file_info_uri_cancellable
    at gnome-vfs-cancellable-ops.c line 201
  • #8 gnome_vfs_get_file_info_uri
    at gnome-vfs-ops.c line 330
  • #9 _gnome_vfs_uri_resolve_all_symlinks_uri
    at gnome-vfs-utils.c line 1990
  • #10 gnome_vfs_find_directory_cancellable
    at gnome-vfs-cancellable-ops.c line 307
  • #11 gnome_vfs_find_directory
    at gnome-vfs-find-directory.c line 63
  • #12 eel_uri_is_in_trash
    from /usr/lib/libeel-2.so.2
  • #13 nautilus_file_is_in_trash
    at nautilus-file.c line 5172
  • #14 bookmark_file_changed_callback
    at nautilus-bookmark.c line 364
  • #15 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #16 IA__g_closure_invoke
    at gclosure.c line 490
  • #17 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #18 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #19 IA__g_signal_emit
    at gsignal.c line 2241
  • #20 nautilus_file_emit_changed
    at nautilus-file.c line 5393
  • #21 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 762
  • #22 emit_change_signals_for_all_files
    at nautilus-directory.c line 265
  • #23 corba_metafile_ready
    at nautilus-directory-metafile-monitor.c line 110
  • #24 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #25 Nautilus_MetafileMonitor_metafile_ready
    at nautilus-shell-interface-stubs.c line 17
  • #26 metafile_read_mark_done
    at nautilus-metafile.c line 822
  • #27 metafile_read_done
    at nautilus-metafile.c line 1836
  • #28 eel_read_entire_file
    from /usr/lib/libeel-2.so.2
  • #29 dispatch_job_callback
    at gnome-vfs-job.c line 228
  • #30 g_idle_dispatch
    at gmain.c line 3796
  • #31 IA__g_main_context_dispatch
    at gmain.c line 1916
  • #32 g_main_context_iterate
    at gmain.c line 2547
  • #33 IA__g_main_loop_run
    at gmain.c line 2751
  • #34 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 main
    at nautilus-main.c line 406

Comment 4 Daniel Holbach 2006-06-06 08:32:07 UTC
Comment from Ubuntu bug: "The exact connection string was "ssh://content.no-ip.org:1230/tmp", and I used it through a nautilus bookmark. I haven't checked if passing a username makes a difference, but I will check that. It's not a slow connection: While I do use my general purpose domain, the machine answering is on the same LAN and should be quick to answer (fast machine).

I added a username to all my remote bookmarks, but I still managed to crash it. So, no difference here."
Comment 5 Sebastian Breier 2006-06-09 12:35:29 UTC
Since remote bookmarks are now kinda unusable to me, I changed to using the "Connect to server" thingie. No single crash within the last couple of days. The only difference to remote bookmarks or using the Nautilus location bar seems to be that "Connect to server" icons never ask if they can access the keyring.
Comment 6 Sebastien Bacher 2006-08-04 12:42:24 UTC
Other Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/49383

"I have a ssh "volume" on my desktop. Once, I opened it, and added a bookmark (in nautilus sidebar, but it shows in the bookmarks menu) to a subdirectory of it by drag and drop. Now, if I log in, open nautilus, and click on this bookmark, I have to force nautilus exit, because it hangs. If I first open the "volume" in the desktop, I am asked for the password and the remote directory is opened. In that case, subsequent clicking the bookmark in a nautilus window does not hang, but succeeds instead.
...
> Thanks for your bug. What version of Ubuntu do you use? Could you get a backtrace of the issue by using gdb from a command line:
> - gdb $(pidof nautilus)
> (gdb) thread apply all bt
> 
> And copy that to a comment
...
I have both updated my system and removed eiciel, because of another
bug, and now instead of crashing, sometimes nautilus hangs (the desktop
is not shown until I killall nautilus), sometimes it works, sometimes it
asks for password twice then hangs. Now it is deadlocked, and here is
the backtrace for both processes:

*****************
the first one, with commandline
..."

That happens when opening a sftp bookmark from the panel or the nautilus places bar with GNOME 2.15.90, updating versions for it
Comment 7 Sebastien Bacher 2006-08-04 12:42:58 UTC
*** Bug 325223 has been marked as a duplicate of this bug. ***
Comment 8 Sebastien Bacher 2006-08-04 12:46:00 UTC
*** Bug 347925 has been marked as a duplicate of this bug. ***
Comment 9 Christian Neumair 2006-08-04 21:27:22 UTC
Oh well, blocking I/O. Sounds a lot like bug 349241, at least the backtrace from comment 3.
Comment 10 Sebastien Bacher 2006-08-04 21:50:33 UTC
the patch from bug #349241 fixes the issue, marking it as duplicate

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