Comment 0 for bug 768738

Revision history for this message
Wong Yong Jie (yjwong) wrote :

Binary package hint: nautilus

1) Ubuntu version: 10.10 (Desktop) 64-bit

2) Package version: nautilus 1:2.32.0-0ubuntu1.3 (amd64)

3) How to reproduce:
- Create a SSH mount by using the File -> Connect to Server menu option.
- Browse to a directory with files in the SSH mount.
- Open a new tab in Nautilus. Browse to a local directory (i.e. /home/username).
- Create a file in the local directory with the same name as any file found in the SSH mount.
- Replace the file in the SSH mount with the newly created file (either by dragging or using keyboard shortcuts). Confirm the overwrite.
- Switch to the tab containing the SSH mount.
- Press the "Up one directory" button.
- Nautilus crashes.

4) What should happen: Nautilus should not crash and goes up one directory in the SSH mount.

5) Full backtrace: (I couldn't find debugging symbols for libnautilus-ubuntuone.so)
Program received signal SIGSEGV, Segmentation fault.
g_str_hash (v=0x0) at /build/buildd/glib2.0-2.26.1/glib/gstring.c:134
134 /build/buildd/glib2.0-2.26.1/glib/gstring.c: No such file or directory.
 in /build/buildd/glib2.0-2.26.1/glib/gstring.c
(gdb) bt full
#0 g_str_hash (v=0x0) at /build/buildd/glib2.0-2.26.1/glib/gstring.c:134
        p = 0x7f47340ff550 "The URI '%s' is not an absolute URI using the \"file\" scheme"
        h = <value optimized out>
#1 0x00007f47340a735d in g_hash_table_lookup_node (hash_table=0x18fede0,
    key=0x0) at /build/buildd/glib2.0-2.26.1/glib/ghash.c:312
        node = <value optimized out>
        hash_value = <value optimized out>
        step = <value optimized out>
#2 g_hash_table_lookup (hash_table=0x18fede0, key=0x0)
    at /build/buildd/glib2.0-2.26.1/glib/ghash.c:901
        node = <value optimized out>
        node_index = <value optimized out>
        __PRETTY_FUNCTION__ = "g_hash_table_lookup"
#3 0x00007f4720337545 in ?? ()
   from /usr/lib/nautilus/extensions-2.0/libnautilus-ubuntuone.so
No symbol table info available.
#4 0x00007f47349ac3e0 in weak_refs_notify (data=<value optimized out>)
    at /build/buildd/glib2.0-2.26.1/gobject/gobject.c:2209
        wstack = 0x1faeb10
        i = 1
#5 0x00007f473409f24e in g_data_set_internal (datalist=0x7f473694cc70,
    key_id=54, data=0x0, destroy_func=0)
    at /build/buildd/glib2.0-2.26.1/glib/gdataset.c:351
        list = 0x20c6560
#6 g_datalist_id_set_data_full (datalist=0x7f473694cc70, key_id=54, data=0x0,
    destroy_func=0) at /build/buildd/glib2.0-2.26.1/glib/gdataset.c:598
        __PRETTY_FUNCTION__ = "g_datalist_id_set_data_full"
#7 0x00007f47349acd8a in g_object_unref (_object=<value optimized out>)
    at /build/buildd/glib2.0-2.26.1/gobject/gobject.c:2675
        object = 0x7f4724023ab0
        old_ref = 1
        __PRETTY_FUNCTION__ = "g_object_unref"
#8 0x00007f47340b3b6c in g_list_foreach (list=<value optimized out>,
    func=0x4d6120 <nautilus_file_unref>, user_data=0x0)
    at /build/buildd/glib2.0-2.26.1/glib/glist.c:919
        next = 0x20f0a80
#9 0x00000000004b31bc in nautilus_directory_stop_monitoring_file_list (
    directory=0x7f4724087dc0) at nautilus-directory-async.c:2263
        __PRETTY_FUNCTION__ = "nautilus_directory_stop_monitoring_file_list"
#10 0x00000000004b32a8 in file_list_start_or_stop (directory=0x7f4724087dc0)
    at nautilus-directory-async.c:2273
No locals.
#11 start_or_stop_io (directory=0x7f4724087dc0)
    at nautilus-directory-async.c:4545
        file = 0x0
        doing_io = 0
#12 nautilus_directory_async_state_changed (directory=0x7f4724087dc0)
    at nautilus-directory-async.c:4631
No locals.
#13 0x0000000000470940 in disconnect_model_handlers (view=0x1d4e0c0)
    at fm-directory-view.c:9543
No locals.
#14 0x0000000000474ec6 in load_directory (view=0x1d4e0c0,
    directory=0x7f4724087700) at fm-directory-view.c:9291
        old_directory = <value optimized out>
        old_file = <value optimized out>
        __PRETTY_FUNCTION__ = "load_directory"
#15 0x0000000000475792 in fm_directory_view_load_location (
    nautilus_view=<value optimized out>, location=<value optimized out>)
    at fm-directory-view.c:2404
        directory = <value optimized out>
        directory_view = 0x1d4e0c0
#16 0x0000000000460c2a in load_new_location (slot=0x1d35120,
    location=<value optimized out>, selection=<value optimized out>,
    tell_current_content_view=0, tell_new_content_view=1)
    at nautilus-window-manage-views.c:1311
        selection_copy = 0x1ba0d40
        view = 0x1d4e0c0
        uri = 0x20a0890 "sftp://<username>@hamburger.sg/home/hamburger/hamburger.sg/wp-content/themes"
        __PRETTY_FUNCTION__ = "load_new_location"
#17 0x0000000000461dca in create_content_view (slot=0x1d35120,
    view_id=0x214cc20 "OAFIID:Nautilus_File_Manager_Icon_View")
    at nautilus-window-manage-views.c:1252
        view = 0x214cc20
        selection = <value optimized out>
#18 0x00000000004626d3 in got_file_info_for_view_selection_callback (
    file=<value optimized out>, callback_data=<value optimized out>)
    at nautilus-window-manage-views.c:1128
        error = 0x0
        view_id = <value optimized out>
        mimetype = 0x212a900 "\260q\313\001"
        slot = 0x1d35120
        viewed_file = <value optimized out>
        location = 0x1f69cc0
        mount_op = <value optimized out>
        __PRETTY_FUNCTION__ = "got_file_info_for_view_selection_callback"
#19 0x00000000004b7314 in call_ready_callbacks_at_idle (
    callback_data=<value optimized out>) at nautilus-directory-async.c:1886
        directory = 0x7f47240871f0
        node = <value optimized out>
        next = <value optimized out>
        callback = 0x1ab8990
#20 0x00007f47340b6342 in g_main_dispatch (context=0x18171d0)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2149
        dispatch = 0x7f47340b4380 <g_idle_dispatch>
        user_data = 0x7f47240871f0
        callback = 0x4b7290 <call_ready_callbacks_at_idle>
        cb_funcs = 0x7f4734356610
        cb_data = 0x1f89690
        current_source_link = {data = 0x209a300, next = 0x0}
        source = 0x209a300
        current = 0x1879990
        i = 0
#21 g_main_context_dispatch (context=0x18171d0)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2702
No locals.
#22 0x00007f47340ba2a8 in g_main_context_iterate (context=0x18171d0,
    block=<value optimized out>, dispatch=<value optimized out>,
    self=<value optimized out>)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2780
        max_priority = 200
        timeout = 0
        some_ready = 1
        nfds = 17
        allocated_nfds = 873230736
        fds = <value optimized out>
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#23 0x00007f47340ba7b5 in g_main_loop_run (loop=0x1b0aa80)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2988
        self = 0x17e0010
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#24 0x00007f4735c163e7 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c:1237
        tmp_list = 0x1870590
        functions = 0x0
        init = 0x0
        loop = <value optimized out>
#25 0x0000000000441d42 in main (argc=1, argv=0x7fffe68d94e8)
    at nautilus-main.c:544
        kill_shell = 0
        no_default_window = 1
        browser_window = 0
        no_desktop = 0
        version = 0
        autostart_mode = 1
        autostart_id = <value optimized out>
        geometry = 0x0
        remaining = 0x0
        perform_self_check = 0
        application = <value optimized out>
        context = <value optimized out>
        file = 0x1
        uri = <value optimized out>
        uris = 0x0
        uris_array = <value optimized out>
        error = 0x0
        options = {{long_name = 0x553463 "check", short_name = 99 'c',
            flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffe68d93d8,
            description = 0x5534a8 "Perform a quick set of self-check tests.",
            arg_description = 0x0}, {long_name = 0x573e99 "version",
            short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE,
            arg_data = 0x7fffe68d93dc,
            description = 0x5534d8 "Show the version of the program.",
            arg_description = 0x0}, {long_name = 0x55759c "geometry",
            short_name = 103 'g', flags = 0, arg = G_OPTION_ARG_STRING,
            arg_data = 0x7fffe68d93d0,
            description = 0x553500 "Create the initial window with the given geometry.", arg_description = 0x5533a1 "GEOMETRY"}, {
            long_name = 0x5533aa "no-default-window", short_name = 110 'n',
            flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffe68d93e8,
            description = 0x553538 "Only create windows for explicitly specified URIs.", arg_description = 0x0}, {long_name = 0x5533bc "no-desktop",
            short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE,
            arg_data = 0x7fffe68d93e0,
            description = 0x553570 "Do not manage the desktop (ignore the preference set in the preferences dialog).", arg_description = 0x0}, {
            long_name = 0x54fc7f "browser", short_name = 0 '\000', flags = 0,
            arg = G_OPTION_ARG_NONE, arg_data = 0x7fffe68d93e4,
            description = 0x5533c7 "open a browser window.",
            arg_description = 0x0}, {long_name = 0x575e71 "quit",
            short_name = 113 'q', flags = 0, arg = G_OPTION_ARG_NONE,
            arg_data = 0x7fffe68d93ec,
            description = 0x5533de "Quit Nautilus.", arg_description = 0x0}, {
            long_name = 0x558ccf "", short_name = 0 '\000', flags = 0,
            arg = G_OPTION_ARG_STRING_ARRAY, arg_data = 0x7fffe68d93c8,
            description = 0x0, arg_description = 0x5533ed "[URI...]"}, {
            long_name = 0x0, short_name = 0 '\000', flags = 0,
            arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0,
            arg_description = 0x0}}

6) SSH server information:
- Remote server runs Ubuntu 10.10 (Server) 32-bit.
- openssh-server version 1:5.5p1-4ubuntu5