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 523146 - nautilus hangs after network disconnect
nautilus hangs after network disconnect
Status: RESOLVED FIXED
Product: nautilus-cd-burner
Classification: Deprecated
Component: cd-burner
2.22.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus CD Burner Maintainers
Nautilus CD Burner Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-18 12:07 UTC by Sebastien Bacher
Modified: 2008-03-19 13:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
patch from Christian Kellner (1.20 KB, patch)
2008-03-19 09:00 UTC, Sebastien Bacher
committed Details | Review

Description Sebastien Bacher 2008-03-18 12:07:50 UTC
The issue has been described on https://bugs.launchpad.net/bugs/202861

Getting a stacktrace shows that it's due to nautilus-cd-burner

"#1  0xb72baaf7 in poll () from /lib/tls/i686/cmov/libc.so.6
  • #2 _dbus_poll
    at dbus-sysdeps-unix.c line 1861
  • #3 socket_do_iteration
    at dbus-transport-socket.c line 1046
  • #4 _dbus_transport_do_iteration
    at dbus-transport.c line 941
  • #5 _dbus_connection_do_iteration_unlocked
    at dbus-connection.c line 1143
  • #6 _dbus_connection_block_pending_call
    at dbus-connection.c line 2297
  • #7 dbus_pending_call_block
    at dbus-pending-call.c line 707
  • #8 dbus_connection_send_with_reply_and_block
    at dbus-connection.c line 3298
  • #9 _g_vfs_daemon_call_sync
    at gvfsdaemondbus.c line 802
  • #10 do_sync_path_call
  • #11 g_daemon_file_query_info
    at gdaemonfile.c line 738
  • #12 IA__g_file_query_info
    at /build/buildd/glib2.0-2.16.1/gio/gfile.c line 1006
  • #13 nautilus_burn_get_file_items
    at burn-extension.c line 427
  • #14 nautilus_menu_provider_get_file_items
    at nautilus-menu-provider.c line 85
  • #15 get_all_extension_menu_items
    at fm-directory-view.c line 4366
  • #16 reset_extension_actions_menu
    at fm-directory-view.c line 4634
  • #17 real_update_menus
    at fm-directory-view.c line 7180
  • #18 fm_icon_view_update_menus
    at fm-icon-view.c line 1565
  • #19 fm_directory_view_update_menus
    at fm-directory-view.c line 8117
  • #20 update_menus_timeout_callback
    at fm-directory-view.c line 2800
  • #21 g_timeout_dispatch
    at /build/buildd/glib2.0-2.16.1/glib/gmain.c line 3437
  • #22 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.16.1/glib/gmain.c line 2003
  • #23 g_main_context_iterate
    at /build/buildd/glib2.0-2.16.1/glib/gmain.c line 2636
  • #24 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.16.1/glib/gmain.c line 2844
  • #25 IA__gtk_main
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c line 1163
  • #26 main
    at nautilus-main.c line 572

Comment 1 Alexander Larsson 2008-03-18 15:42:41 UTC
Ugh, nautilus extensions should not use sync i/o operations like this!
g_file_query_info_async() should be used instead.
Comment 2 Sebastien Bacher 2008-03-19 09:00:42 UTC
Created attachment 107594 [details] [review]
patch from Christian Kellner

The g_file_query_info call seems to not be useful, I'm attaching a patch from Christian Kellner there, I've verified that it fixes the issue
Comment 3 William Jon McCann 2008-03-19 13:44:40 UTC
Fixed in trunk.  Thanks.