GNOME Bugzilla – Bug 332641
gnome-panel hangs when i have bookmarks to ssh://user@server and server is not accessible at this time
Last modified: 2006-04-18 23:47:09 UTC
That bug has been described on https://launchpad.net/distros/ubuntu/+source/gnome-desktop/+bug/32873 "I have added some bookmarks in Nautilus to my servers at work (ssh://user@server/ server IP belongs to internal network not accessible from internet). At work: all works ok. At home: when i select Properties in gnome-panel popup menu, panel hangs. ... I am on dapper and can reproduce this: Steps to reproduce: (ensure that openssh-server is installed and sshd is running) 1. Go to Places -> Connect to Server... 2. In the dialog that pops up ensure the service type is SSH and type localhost into the Server box. Click Connect. 3. A dialog will appear, prompting for your password. Enter it and click Connect. 4. A nautilus window should appear with "sftp: localhost on localhost" in the title. Within this window go to Places -> Add Bookmark. Close the window. 5. In a terminal use sudo to become root and run ifdown lo . 6. Press the right mouse button over a bit of empty panel at the top of the screen and go to Properties. Expected results: The same result as if there were no bookmark - a Panel Properties window to appear, panel to remain responsive. Actual results: No Panel Properties window appears and the panel becomes unresponsive. Additional information: Doesn't appear to happen with things like an annoymouse FTP bookmark when the external interface is brought down. Removing the bookmark makes the problem go away - it has nothing to do with the share (which can be unmounted/removed but so long as the bookmark remains so will this problem). Bringing down the loopback device does not normally cause a problem displaying the properities box. System: Dapper Flight 3, x86"
Backtrace of the hang: "(gdb) thread apply all bt
+ Trace 66527
Thread 1 (Thread 923454080 (LWP 7543))
Maybe a libgnomeui or a gnome-vfs issue though...
This is because the filechooser in the properties dialog tries to detect the type of the bookmark. And it blocks there. It probably happens everywhere where you have a file chooser supporting non-local bookmarks. => libgnomeui issue.
I have similar behavior on filechooser ( libgnomeui 2.12.1 ). When exist remote bookmarked locations and when any aplication use a filechooser then it ask to the user the security credentials to log into each one of the remote location ( or keyring credentials ) causing to hang a lot of time due to network delays. This turn almost inusable the open dialog.
I'm seeing similar behaviour with an NFS share mounted with autofs. The autofs folder is in the file dialog favourites and gnome-panel is unresponsive for about 30 seconds presumably while the autofs mount happens. Removing the favourite seems to have fixed the problem. This happens on the latest dapper.
*** This bug has been marked as a duplicate of 319532 ***