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 332641 - gnome-panel hangs when i have bookmarks to ssh://user@server and server is not accessible at this time
gnome-panel hangs when i have bookmarks to ssh://user@server and server is no...
Status: RESOLVED DUPLICATE of bug 319532
Product: libgnomeui
Classification: Deprecated
Component: file-chooser
2.13.x
Other Linux
: Normal normal
: ---
Assigned To: Federico Mena Quintero
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2006-02-26 16:35 UTC by Sebastien Bacher
Modified: 2006-04-18 23:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2006-02-26 16:35:10 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"
Comment 1 Sebastien Bacher 2006-02-26 16:36:19 UTC
Backtrace of the hang:

"(gdb) thread apply all bt

Thread 1 (Thread 923454080 (LWP 7543))

  • #0 __kernel_vsyscall
  • #1 __read_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 atomic_io
    at sftp-method.c line 187
  • #3 buffer_recv
    at sftp-method.c line 340
  • #4 do_get_file_info
    at sftp-method.c line 1696
  • #5 gnome_vfs_get_file_info_uri_cancellable
  • #6 gnome_vfs_get_file_info_uri
    at gnome-vfs-ops.c line 330
  • #7 gnome_vfs_get_file_info
    at gnome-vfs-ops.c line 307
  • #8 gtk_file_system_gnome_vfs_render_icon
    at gtkfilesystemgnomevfs.c line 1722
  • #9 IA__gtk_file_system_render_icon
    at gtkfilesystem.c line 699
  • #10 model_add_bookmarks
    at gtkfilechooserbutton.c line 1491
  • #11 gtk_file_chooser_button_constructor
    at gtkfilechooserbutton.c line 680
  • #12 IA__g_object_newv
    at gobject.c line 912
  • #13 glade_standard_build_widget
    from /usr/lib/libglade-2.0.so.0
  • #14 glade_xml_build_widget
    from /usr/lib/libglade-2.0.so.0
  • #15 glade_standard_build_children
    from /usr/lib/libglade-2.0.so.0
  • #16 glade_xml_set_common_params
    from /usr/lib/libglade-2.0.so.0
  • #17 glade_xml_build_widget
    from /usr/lib/libglade-2.0.so.0
  • #18 glade_standard_build_children
    from /usr/lib/libglade-2.0.so.0
  • #19 glade_xml_set_common_params
    from /usr/lib/libglade-2.0.so.0
  • #20 glade_xml_build_widget
    from /usr/lib/libglade-2.0.so.0
  • #21 glade_standard_build_children
    from /usr/lib/libglade-2.0.so.0
  • #22 glade_xml_set_common_params
    from /usr/lib/libglade-2.0.so.0
  • #23 glade_xml_build_widget
    from /usr/lib/libglade-2.0.so.0
  • #24 glade_interface_dump
    from /usr/lib/libglade-2.0.so.0
  • #25 glade_xml_set_common_params
    from /usr/lib/libglade-2.0.so.0
  • #26 glade_xml_build_widget
    from /usr/lib/libglade-2.0.so.0
  • #27 glade_standard_build_children
    from /usr/lib/libglade-2.0.so.0
  • #28 glade_xml_set_common_params
    from /usr/lib/libglade-2.0.so.0
  • #29 glade_xml_handle_internal_child
    from /usr/lib/libglade-2.0.so.0
  • #30 glade_standard_build_children
    from /usr/lib/libglade-2.0.so.0
  • #31 glade_interface_dump
    from /usr/lib/libglade-2.0.so.0
  • #32 glade_xml_set_common_params
    from /usr/lib/libglade-2.0.so.0
  • #33 glade_xml_build_widget
    from /usr/lib/libglade-2.0.so.0
  • #34 glade_xml_build_widget
    from /usr/lib/libglade-2.0.so.0
  • #35 glade_xml_construct
    from /usr/lib/libglade-2.0.so.0
  • #36 glade_xml_new
    from /usr/lib/libglade-2.0.so.0
  • #37 panel_properties_dialog_present
    at /build/buildd/gnome-panel-2.13.91/./gnome-panel/panel-properties-dialog.c line 1013
  • #38 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #39 IA__g_closure_invoke
    at gclosure.c line 490
  • #40 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #41 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #42 IA__g_signal_emit
    at gsignal.c line 2241
  • #43 IA__gtk_widget_activate
    at gtkwidget.c line 3763
  • #44 IA__gtk_menu_shell_activate_item
    at gtkmenushell.c line 1057
  • #45 gtk_menu_shell_button_release
    at gtkmenushell.c line 663
  • #46 gtk_menu_button_release
    at gtkmenu.c line 2571
  • #47 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #48 g_type_class_meta_marshal
    at gclosure.c line 567
  • #49 IA__g_closure_invoke
    at gclosure.c line 490
  • #50 signal_emit_unlocked_R
    at gsignal.c line 2476
  • #51 IA__g_signal_emit_valist
    at gsignal.c line 2207
  • #52 IA__g_signal_emit
    at gsignal.c line 2241
  • #53 gtk_widget_event_internal
    at gtkwidget.c line 3732
  • #54 IA__gtk_propagate_event
    at gtkmain.c line 2175
  • #55 IA__gtk_main_do_event
    at gtkmain.c line 1412
  • #56 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #57 IA__g_main_context_dispatch
    at gmain.c line 1916
  • #58 g_main_context_iterate
    at gmain.c line 2547
  • #59 IA__g_main_loop_run
    at gmain.c line 2751
  • #60 IA__gtk_main
    at gtkmain.c line 991
  • #61 main
    at /build/buildd/gnome-panel-2.13.91/./gnome-panel/main.c line 92

Comment 2 Sebastien Bacher 2006-02-26 16:40:09 UTC
Maybe a libgnomeui or a gnome-vfs issue though...
Comment 3 Vincent Untz 2006-03-07 08:21:53 UTC
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.
Comment 4 Gabriel Velo 2006-04-06 18:26:38 UTC
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.
Comment 5 Steve Baker 2006-04-15 01:34:18 UTC
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.
Comment 6 Lorenzo Colitti 2006-04-18 23:47:09 UTC

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