Re: a few debugging questions



On Wed, 2009-05-13 at 16:20 -0400, A. Walton wrote:
> On Wed, May 13, 2009 at 10:43 AM, Reid Thompson <reid thompson ateb com> wrote:
> > Linux raker 2.6.28-gentoo-r5 #1 SMP PREEMPT Fri Apr 24 11:25:12 EDT 2009 i686 Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz GenuineIntel GNU/Linux
> >
> > nautilus built from source is crashing when attempting to access windows
> > network shares.  the exe is built with debug info ( basically my entire
> > system is built with -g ).  can someone instruct me or point me to
> > instructions for kicking off nautilus with any required command line or
> > env parameters to get any better/more debug output?
> >
> > (gdb) cont
> > Continuing.
> > [New Thread 0xb5d13b90 (LWP 29527)]
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 0xb7184700 (LWP 28825)]
> > IA__g_slice_alloc (mem_size=16) at gslice.c:474
> > 474           (*magazine_chunks)->data = chunk->next;
> > (gdb) thread apply all bt full
> >
> > Thread 2 (Thread 0xb5d13b90 (LWP 29527)):
> > #0  0xffffe424 in __kernel_vsyscall ()
> > No symbol table info available.
> > #1  0xb76e6fa2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
> >    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
> > No locals.
> > #2  0xb76f7f4b in g_cond_timed_wait_posix_impl (cond=0x80, entered_mutex=0x85b5778,
> >    abs_time=0x3255) at gthread-posix.c:242
> >        result = <value optimized out>
> >        end_time = {tv_sec = 1242225596, tv_nsec = 465221000}
> >        timed_out = <value optimized out>
> >        __PRETTY_FUNCTION__ = "g_cond_timed_wait_posix_impl"
> > #3  0xb7588656 in g_async_queue_pop_intern_unlocked (queue=0x85b3f00,
> >    try=<value optimized out>, end_time=0xb5d13344) at gasyncqueue.c:365
> >        retval = <value optimized out>
> >        __PRETTY_FUNCTION__ = "g_async_queue_pop_intern_unlocked"
> > #4  0xb75d6801 in g_thread_pool_thread_proxy (data=0x85b5740) at gthreadpool.c:220
> >        task = (gpointer) 0x957d900
> >        pool = (GRealThreadPool *) 0x85b5740
> > #5  0xb75d5374 in g_thread_create_proxy (data=0x957d238) at gthread.c:635
> >        __PRETTY_FUNCTION__ = "g_thread_create_proxy"
> > #6  0xb76e3160 in start_thread (arg=0xb5d13b90) at pthread_create.c:297
> >        __res = <value optimized out>
> >        __ignore1 = <value optimized out>
> >        __ignore2 = <value optimized out>
> >        pd = (struct pthread *) 0xb5d13b90
> >        now = <value optimized out>
> >        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1217454092, 0, 4001536, -1244580744,
> >        497731770, 1672472767}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0,
> >      0xb76e30ab}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
> >        not_first_call = <value optimized out>
> >        robust = <value optimized out>
> > #7  0xb7256d5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
> > No locals.
> >
> > Thread 1 (Thread 0xb7184700 (LWP 28825)):
> > #0  IA__g_slice_alloc (mem_size=16) at gslice.c:474
> >        tmem = (ThreadMemory *) 0x81cc748
> >        ix = 1
> >        chunk_size = <value optimized out>
> >        mem = <value optimized out>
> > #1  0xb7599cb6 in IA__g_datalist_id_set_data_full (datalist=0x885f658, key_id=54,
> >    data=0xb2a967d0, destroy_func=0xb7653f70 <g_object_notify_queue_free>) at gdataset.c:292
> >        __PRETTY_FUNCTION__ = "IA__g_datalist_id_set_data_full"
> > #2  0xb765596c in g_object_init (object=0x885f650) at gobjectnotifyqueue.c:79
> > No locals.
> > #3  0xb767135c in IA__g_type_create_instance (type=138808960) at gtype.c:1666
> >        pnode = <value optimized out>
> >        node = (TypeNode *) 0x8460e80
> >        instance = (GTypeInstance *) 0x885f650
> >        class = (GTypeClass *) 0x845d548
> >        i = 1
> >        total_size = <value optimized out>
> > #4  0xb76562d5 in g_object_constructor (type=138808960, n_construct_properties=3,
> >    construct_params=0x88dabd0) at gobject.c:1338
> >        object = (GObject *) 0x81cdb80
> > #5  0xb7656b19 in IA__g_object_newv (object_type=138808960, n_parameters=1,
> >    parameters=0x957c078) at gobject.c:1215
> >        nqueue = <value optimized out>
> >        object = <value optimized out>
> >        class = (GObjectClass *) 0x845d548
> >        unref_class = (GObjectClass *) 0x0
> >        slist = <value optimized out>
> >        n_total_cparams = 3
> >        n_cparams = 1
> >        n_oparams = 0
> >        n_cvalues = 2
> >        clist = (GList *) 0x0
> >        newly_constructed = <value optimized out>
> >        i = 1
> >        __PRETTY_FUNCTION__ = "IA__g_object_newv"
> > #6  0xb7657717 in IA__g_object_new_valist (object_type=138808960,
> >    first_property_name=0xb7a2c91a "names", var_args=0xbff967ac "") at gobject.c:1319
> >        params = (GParameter *) 0x957c078
> >        name = (const gchar *) 0x0
> >        object = <value optimized out>
> >        n_params = 1
> >        n_alloced_params = 16
> >        __PRETTY_FUNCTION__ = "IA__g_object_new_valist"
> > #7  0xb7657852 in IA__g_object_new (object_type=138808960,
> >    first_property_name=0xb7a2c91a "names") at gobject.c:1060
> >        __PRETTY_FUNCTION__ = "IA__g_object_new"
> > #8  0xb79fe63d in IA__g_themed_icon_new_from_names (iconnames=0x890d208, len=3)
> >    at gthemedicon.c:307
> >        i = <value optimized out>
> >        icon = <value optimized out>
> >        __PRETTY_FUNCTION__ = "IA__g_themed_icon_new_from_names"
> > #9  0xb79fe7bd in g_themed_icon_from_tokens (tokens=0x86d86b4, num_tokens=3, version=0,
> >    error=0x0) at gthemedicon.c:509
> >        icon = <value optimized out>
> >        n = 1
> > #10 0xb79ed79a in IA__g_icon_new_for_string (
> >    str=0x957b918 ". GThemedIcon text-plain gnome-mime-text-plain text-x-generic", error=0x0)
> >    at gicon.c:407
> >        tokens = (gchar **) 0x86d86b0
> >        icon = <value optimized out>
> >        __PRETTY_FUNCTION__ = "IA__g_icon_new_for_string"
> > #11 0xb6da0e6f in _g_dbus_get_file_attribute (iter=0xbff969ac, attribute=0xbff96a28,
> >    type=0xbff96a24, value=0xbff96a1c) at gvfsdaemonprotocol.c:392
> >        str = 0x957b918 ". GThemedIcon text-plain gnome-mime-text-plain text-x-generic"
> >        strs = <value optimized out>
> >        n_elements = <value optimized out>
> >        inner_struct_iter = {dummy1 = 0x8425180, dummy2 = 0x600000, dummy3 = 3076962412,
> >  dummy4 = 138563972, dummy5 = 122, dummy6 = 138564032, dummy7 = 36699, dummy8 = -1217700580,
> >  dummy9 = 36432, dummy10 = -1074173208, dummy11 = -1074173524, pad1 = -1074173560,
> >  pad2 = -1217812145, pad3 = 0xbff969b4}
> >        variant_iter = {dummy1 = 0x8425180, dummy2 = 0x600000, dummy3 = 3076962412,
> >  dummy4 = 138564032, dummy5 = 36700, dummy6 = 138564032, dummy7 = 36712,
> >  dummy8 = -1217700460, dummy9 = 36432, dummy10 = -1074173208, dummy11 = -1217830909,
> >  pad1 = 138563972, pad2 = 120, pad3 = 0xb}
> >        cstring_iter = {dummy1 = 0xbff96910, dummy2 = 0xb76b5ff4, dummy3 = 3220793616,
> >  dummy4 = -1074173720, dummy5 = -1217830827, dummy6 = -1074173680, dummy7 = 118,
> >  dummy8 = -1074173704, dummy9 = -1217699852, dummy10 = -1217699852, dummy11 = -1074173680,
> >  pad1 = -1074173640, pad2 = -1217827191, pad3 = 0xbff96910}
> >        obj_iter = {dummy1 = 0x8425180, dummy2 = 0x600000, dummy3 = 3076962668,
> >  dummy4 = 138564032, dummy5 = 36704, dummy6 = 138564032, dummy7 = 36782,
> >  dummy8 = -1217700580, dummy9 = 36432, dummy10 = -1074173208, dummy11 = -1217830961,
> >  pad1 = -1074173680, pad2 = 118, pad3 = 0xb7695bbd}
> >        attribute_temp = (const gchar *) 0x957b8f4 "standard::icon"
> >        obj_type = 3
> >        dbus_bool = <value optimized out>
> >        obj = <value optimized out>
> > #12 0xb6da1028 in _g_dbus_get_file_info (iter=0xbff96a6c, error=0x0)
> >    at gvfsdaemonprotocol.c:437
> >        info = (GFileInfo *) 0xb54d7c30
> >        struct_iter = {dummy1 = 0x8425180, dummy2 = 0x600000, dummy3 = 3076962412,
> >  dummy4 = 138563972, dummy5 = 119, dummy6 = 138564032, dummy7 = 36424, dummy8 = -1217700580,
> >  dummy9 = 8, dummy10 = -1074173208, dummy11 = -1217812145, pad1 = -1074173324,
> >  pad2 = -1074173324, pad3 = 0x73}
> >        array_iter = {dummy1 = 0x8425180, dummy2 = 0x600000, dummy3 = 3076962412,
> >  dummy4 = 138563972, dummy5 = 120, dummy6 = 138564032, dummy7 = 36679, dummy8 = -1217700484,
> >  dummy9 = 36432, dummy10 = -1074173208, dummy11 = 125, pad1 = 8, pad2 = -1074173464,
> >  pad3 = 0xb7695c55}
> >        attribute = (gchar *) 0x86ae508 "standard::icon"
> >        type = G_FILE_ATTRIBUTE_TYPE_OBJECT
> >        value = {boolean = 157240776, uint32 = 157240776, uint64 = 157240776, ptr = 0x95f4dc8}
> > #13 0xb6e31022 in g_daemon_file_enumerator_dbus_filter (connection=0x9613770,
> >    message=0x8425180, user_data=0x872d920) at gdaemonfileenumerator.c:234
> >        member = 0x8871c28 "GotInfo"
> >        iter = {dummy1 = 0x8425180, dummy2 = 0x600000, dummy3 = 3076962412,
> >  dummy4 = 138563972, dummy5 = 125, dummy6 = 138564032, dummy7 = 38590, dummy8 = -1217700412,
> >  dummy9 = -1217510192, dummy10 = -1074173208, dummy11 = 0, pad1 = 1, pad2 = 1,
> >  pad3 = 0xe45cb773}
> >        array_iter = {dummy1 = 0x8425180, dummy2 = 0x600000, dummy3 = 3076962412,
> >  dummy4 = 138563972, dummy5 = 118, dummy6 = 138564032, dummy7 = 36422, dummy8 = -1217700484,
> >  dummy9 = 8, dummy10 = -1074173208, dummy11 = 57, pad1 = 111, pad2 = -1218642661,
> >  pad3 = 0x8c098d8}
> >        infos = (GList *) 0xb2a6f540
> >        info = <value optimized out>
> >        __PRETTY_FUNCTION__ = "g_daemon_file_enumerator_dbus_filter"
> > #14 0xb6e31abe in vfs_connection_filter (connection=0x9613770, message=0x8425180,
> >    user_data=0x0) at gvfsdaemondbus.c:178
> >        res = <value optimized out>
> >        callback = (
> >    DBusHandleMessageFunction) 0xb6e30dd2 <g_daemon_file_enumerator_dbus_filter>
> >        data = (GObject *) 0x872d920
> >        connection_data = <value optimized out>
> >        path = <value optimized out>
> > #15 0xb769063e in dbus_connection_dispatch (connection=0x9613770) at dbus-connection.c:4406
> >        filter = (DBusMessageFilter *) 0xb2a6bb68
> >        next = (DBusList *) 0x0
> >        message = (DBusMessage *) 0x8425180
> >        link = <value optimized out>
> >        filter_list_copy = (DBusList *) 0x8228c34
> >        message_link = (DBusList *) 0x821a37c
> >        result = DBUS_HANDLER_RESULT_NOT_YET_HANDLED
> >        status = <value optimized out>
> >        __FUNCTION__ = "dbus_connection_dispatch"
> > #16 0xb6d9b3a0 in dbus_source_dispatch (source=0x962b8c0, callback=0, user_data=0x0)
> >    at gdbusutils.c:811
> >        connection = (DBusConnection *) 0x9613770
> > #17 0xb75adbee in IA__g_main_context_dispatch (context=0x81f2828) at gmain.c:1814
> > No locals.
> > #18 0xb75b0e41 in g_main_context_iterate (context=0x81f2828, block=1, dispatch=1,
> >    self=0x81cc008) at gmain.c:2448
> >        max_priority = 0
> >        timeout = 0
> >        some_ready = 1
> >        nfds = 17
> >        allocated_nfds = <value optimized out>
> >        fds = (GPollFD *) 0x8ec2928
> >        __PRETTY_FUNCTION__ = "g_main_context_iterate"
> > #19 0xb75b1284 in IA__g_main_loop_run (loop=0x8644518) at gmain.c:2656
> >        self = (GThread *) 0x81cc008
> >        __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
> > #20 0xb7c22587 in IA__gtk_main () at gtkmain.c:1205
> >        tmp_list = (GList *) 0xbff96f10
> >        functions = (GList *) 0x0
> >        init = (GtkInitFunction *) 0x8218bb8
> >        loop = (GMainLoop *) 0x8644518
> > #21 0x0807f893 in main (argc=1, argv=0xbff96f94) at nautilus-main.c:518
> >        kill_shell = 0
> >        no_default_window = 0
> >        browser_window = 0
> >        no_desktop = 0
> >        version = 0
> >        autostart_mode = <value optimized out>
> >        autostart_id = <value optimized out>
> >        geometry = (gchar *) 0x0
> >        remaining = (const gchar **) 0x0
> >        perform_self_check = 0
> >        application = (NautilusApplication *) 0x8218bb8
> >        context = <value optimized out>
> >        file = <value optimized out>
> >        uri = <value optimized out>
> >        uris = (char **) 0x0
> >        uris_array = (GPtrArray *) 0x3a313120
> >        error = (GError *) 0x0
> >        options = {{long_name = 0x81955e3 "check", short_name = 99 'c', flags = 0,
> >    arg = G_OPTION_ARG_NONE, arg_data = 0xbff96ec8,
> >    description = 0x8195624 "Perform a quick set of self-check tests.",
> >    arg_description = 0x0}, {long_name = 0x8195519 "version", short_name = 0 '\0', flags = 0,
> >    arg = G_OPTION_ARG_NONE, arg_data = 0xbff96ed4,
> >    description = 0x8195650 "Show the version of the program.", arg_description = 0x0}, {
> >    long_name = 0x8198f8f "geometry", short_name = 103 'g', flags = 0,
> >    arg = G_OPTION_ARG_STRING, arg_data = 0xbff96ed0,
> >    description = 0x8195674 "Create the initial window with the given geometry.",
> >    arg_description = 0x8195521 "GEOMETRY"}, {long_name = 0x819552a "no-default-window",
> >    short_name = 110 'n', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xbff96ee0,
> >    description = 0x81956a8 "Only create windows for explicitly specified URIs.",
> >    arg_description = 0x0}, {long_name = 0x819553c "no-desktop", short_name = 0 '\0',
> >    flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xbff96ed8,
> >    description = 0x81956dc "Do not manage the desktop (ignore the preference set in the preferences dialog).", arg_description = 0x0}, {long_name = 0x8192329 "browser",
> >    short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xbff96edc,
> >    description = 0x8195547 "open a browser window.", arg_description = 0x0}, {
> >    long_name = 0x81b4cbd "quit", short_name = 113 'q', flags = 0, arg = G_OPTION_ARG_NONE,
> >    arg_data = 0xbff96ee4, description = 0x819555e "Quit Nautilus.", arg_description = 0x0}, {
> >    long_name = 0x819a184 "", short_name = 0 '\0', flags = 0,
> >    arg = G_OPTION_ARG_STRING_ARRAY, arg_data = 0xbff96ecc, description = 0x0,
> >    arg_description = 0x819556d "[URI...]"}, {long_name = 0x0, short_name = 0 '\0',
> >    flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0,
> >    arg_description = 0x0}}
> > (gdb)
> >
> > thanks,
> > reid
> > --
> > nautilus-list mailing list
> > nautilus-list gnome org
> > http://mail.gnome.org/mailman/listinfo/nautilus-list
> >
> 
> Generally we handle bugs in Bugzilla, but this should be fixed in GVFS
> master: http://git.gnome.org/cgit/gvfs/commit/?id=edb7ccb661746fd55ed3b935b44a61d011a0807c
> 
> -A. Walton.

updated gvfs per above and crash is gone -- thanks, but 

smb:///

for "Windows Network" provides an empty list.  Any suggestions on where
to look for the problem?

smb4k finds/lists the network w/o issues.

thanks,
reid


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]