gnome-system-log and amd64

Yuri Pankov yuri.pankov at gmail.com
Wed Apr 19 03:01:41 UTC 2006


Joe Marcus Clarke wrote:
> On Tue, 2006-04-18 at 15:58 -0700, Pascal Hofstee wrote:
>   
>> Hi,
>>
>> Looks like Yuri found another application that's crashing upon startup,
>> this time it's gnome-system-log (part of the gnomeutils2 port).
>>
>> Below is the backtrace acquired from gdb.
>>
>> the offending line seems to be the following:
>> 854        calendar_connect (CALENDAR (logview->calendar), logview);
>>     
>
> I think I fixed this.  Please test it out.
>
> Joe
>   
Your patches didn't fix the crash for me, though my backtrace looks 
somewhat different:

#0  0x000000080463f73e in type_node_check_conformities_UorL 
(node=0x8056d0e80, iface_node=0x56d0e80, support_interfaces=1, 
support_prerequisites=0,
    have_lock=0) at gtype.c:2692
        match = 73489880
#1  0x000000080463fa2f in type_node_conforms_to_U (node=0x8056d0e80, 
iface_node=0x56d0e80, support_interfaces=1, support_prerequisites=0) at 
gtype.c:2726
No locals.
#2  0x00000008046405db in IA__g_type_check_instance_is_a 
(type_instance=0x805805000, iface_type=91033216) at gtype.c:3088
        node = (TypeNode *) 0x8056d0e80
        iface = (TypeNode *) 0x56d0e80
        check = 8
#3  0x0000000000407f6c in calendar_connect (calendar=0x8056ce000, 
logview=0x805805000) at calendar.c:149
        __inst = (GTypeInstance *) 0x805805000
        __t = 91033216
        __r = 1
        __PRETTY_FUNCTION__ = "calendar_connect"
#4  0x000000000040d13f in logview_init (logview=0x805805000) at 
logview.c:854
        vbox = (GtkWidget *) 0x8056c9020
        tree_store = (GtkTreeStore *) 0x80560f9c8
        selection = (GtkTreeSelection *) 0xffffe470
        column = (GtkTreeViewColumn *) 0x804759c88
        renderer = (GtkCellRenderer *) 0x804759c88
        i = 8
        action_group = (GtkActionGroup *) 0x805658d40
        accel_group = (GtkAccelGroup *) 0x8056534c0
        error = (GError *) 0x0
        menubar = (GtkWidget *) 0x8056c40f0
        hpaned = (GtkWidget *) 0x8056cd820
        label = (GtkWidget *) 0x7fffffffe938
        main_view = (GtkWidget *) 0x56d0e80
        loglist_scrolled = (GtkWidget *) 0x804759c88
        scrolled = (GtkWidget *) 0xffffe400
        context = (PangoContext *) 0x805650400
        fontdesc = (PangoFontDescription *) 0x0
        monospace_font_name = (gchar *) 0x560f9c8 <Error reading address 
0x560f9c8: Bad address>
#5  0x000000080463c08b in IA__g_type_create_instance (type=34450771584) 
at gtype.c:1567
        node = (TypeNode *) 0x8056d0e80
        instance = (GTypeInstance *) 0x805805000
        class = (GTypeClass *) 0x805658800
        i = 0
        total_size = 368
#6  0x0000000804622d8c in g_object_constructor (type=34450771584, 
n_construct_properties=1, construct_params=0x805667c80) at gobject.c:1015
        object = (GObject *) 0x7fffffffe510
#7  0x000000080462237f in IA__g_object_newv (object_type=34450771584, 
n_parameters=0, parameters=0x0) at gobject.c:912
        cparams = (GObjectConstructParam *) 0x805667c80
        oparams = (GObjectConstructParam *) 0x0
        nqueue = (GObjectNotifyQueue *) 0x8056d0e80
        object = (GObject *) 0x8056d0e80
        class = (GObjectClass *) 0x805658800
        unref_class = (GObjectClass *) 0x805658800
        slist = (GSList *) 0x0
        n_total_cparams = 1
        n_cparams = 1
        n_oparams = 0
        n_cvalues = 1
        cvalues = (GValue *) 0x80560f9a0
        clist = (GList *) 0x0
        i = 0
        __PRETTY_FUNCTION__ = "IA__g_object_newv"
#8  0x000000080462278a in IA__g_object_new_valist 
(object_type=34450771584, first_property_name=0x0, 
var_args=0x7fffffffe740) at gobject.c:955
        class = (GObjectClass *) 0x804640515
        params = (GParameter *) 0x7fffffffe720
        name = (const gchar *) 0x8056d0e80 ""
        object = (GObject *) 0x8056d0e80
        n_params = 0
        n_alloced_params = 16
        __PRETTY_FUNCTION__ = "IA__g_object_new_valist"
#9  0x0000000804621de2 in IA__g_object_new (object_type=34450771584, 
first_property_name=0x0) at gobject.c:793
        object = (GObject *) 0x8006533c0
        var_args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 
0x7fffffffe840, reg_save_area = 0x7fffffffe780}}
        __PRETTY_FUNCTION__ = "IA__g_object_new"
#10 0x000000000040da3f in logview_window_new () at logview.c:1011
        logview = (LogviewWindow *) 0x40da0a
        window = (GtkWidget *) 0x7fffffffe860
#11 0x0000000000407587 in main (argc=1, argv=0x7fffffffe940) at main.c:159
        gnome_client = (GnomeClient *) 0x0
        error = (GError *) 0x410514
        program = (GnomeProgram *) 0x8056c4020
        context = (GOptionContext *) 0x805680d60
        logview = (LogviewWindow *) 0x80051dce0

Thanks,
Yuri

>>
>> #0  IA__g_type_check_instance_cast (type_instance=0x8052cd000,
>> iface_type=86068048) at gtype.c:2692
>>         node = (TypeNode *) 0x805214b50
>>         is_instantiatable = 1
>> #1  0x000000000040c0a9 in logview_init (logview=0x805404000) at
>> logview.c:854
>>         vbox = (GtkWidget *) 0x8052c8040
>>         selection = (GtkTreeSelection *) 0x8052530c0
>>         column = (GtkTreeViewColumn *) 0x8052530c0
>>         renderer = (GtkCellRenderer *) 0x190
>>         action_group = (GtkActionGroup *) 0x8052530c0
>>         accel_group = (GtkAccelGroup *) 0x8052530c0
>>         error = (GError *) 0x0
>>         menubar = (GtkWidget *) 0x8052c38f0
>>         hpaned = (GtkWidget *) 0x8052cc840
>>         label = (GtkWidget *) 0x8052530c0
>>         main_view = (GtkWidget *) 0x804389c48
>>         loglist_scrolled = (GtkWidget *) 0x805250400
>>         scrolled = (GtkWidget *) 0x805404000
>>         context = (PangoContext *) 0x8052cd000
>>         fontdesc = (PangoFontDescription *) 0x8052cd000
>>         monospace_font_name = (gchar *) 0x8052530c0 "�\v#\005\b"
>> #2  0x000000080426eb38 in IA__g_type_create_instance (type=34430532064)
>> at gtype.c:1567
>>         node = (TypeNode *) 0x8052d0e80
>>         instance = (GTypeInstance *) 0x805404000
>>         class = (GTypeClass *) 0x805258000
>>         i = 70793696
>> #3  0x0000000804257afc in g_object_constructor (type=34446561280,
>> n_construct_properties=1, construct_params=0x805267720)
>>     at gobject.c:1015
>>         object = (GObject *) 0x80520f600
>> #4  0x000000080425710e in IA__g_object_newv (object_type=34446577280,
>> n_parameters=86331232, parameters=0x0)
>>     at gobject.c:912
>>         cparams = (GObjectConstructParam *) 0x805267720
>>         oparams = (GObjectConstructParam *) 0x0
>>         nqueue = (GObjectNotifyQueue *) 0x0
>>         object = (GObject *) 0x800544c00
>>         class = (GObjectClass *) 0x805258000
>>         unref_class = (GObjectClass *) 0x805258000
>>         slist = (GSList *) 0x0
>>         n_total_cparams = 1
>>         n_cparams = 1
>>         n_oparams = 0
>>         n_cvalues = 1
>>         cvalues = (GValue *) 0x80520f600
>>         clist = (GList *) 0x0
>>         i = 0
>>         __PRETTY_FUNCTION__ = "IA__g_object_newv"
>> #5  0x0000000804257745 in IA__g_object_new_valist
>> (object_type=34446577280, first_property_name=0x0,
>>     var_args=0x7fffffffe6e0) at gobject.c:955
>>         class = (GObjectClass *) 0x0
>>         params = (GParameter *) 0x0
>>         name = (const gchar *) 0x1 <Error reading address 0x1: Bad
>> address>
>>         object = (GObject *) 0x0
>>         n_params = 0
>>         n_alloced_params = 16
>>         __PRETTY_FUNCTION__ = "IA__g_object_new_valist"
>> #6  0x0000000804256cd4 in IA__g_object_new (object_type=34446577280,
>> first_property_name=0x0) at gobject.c:793
>>         var_args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area =
>> 0x7fffffffe7d0, reg_save_area = 0x7fffffffe700}}
>>         __PRETTY_FUNCTION__ = "IA__g_object_new"
>> #7  0x000000000040c84d in logview_window_new () at logview.c:1011
>>         logview = (LogviewWindow *) 0x52d0e80
>>         window = (GtkWidget *) 0x1
>> #8  0x0000000000407417 in main (argc=1, argv=0x7fffffffe878) at
>> main.c:159
>>         gnome_client = (GnomeClient *) 0x52d0e80
>>         context = (GOptionContext *) 0x52d0e80
>>         logview = (LogviewWindow *) 0x1
>>
>>     



More information about the freebsd-gnome mailing list