Re: SegFault in CVS-snapshot



Hi!

I've just tried stepping through the 
on_sheets_dialog_object_button_toggled() until i got the SegFault in
case
anybody can use the information for anything.

Btw. I don't think I've mentioned that I'm using Mandrake 8.2 if it
matters.

[torben hoerup dia-cvs-snapshot]$ DEBUGGER=gdb app/run_dia.sh
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-mandrake-linux"...
(gdb) break on_sheets_dialog_object_button_toggled
Breakpoint 1 at 0x80a3f76: file sheets_dialog_callbacks.c, line 134.
(gdb) run
Starting program: /home/torben/inst/dia-cvs-snapshot/app/dia

** WARNING **: object_get_type(Pneum - dist33) returned NULL

** WARNING **: object_get_type(Pneum - dist53) returned NULL

** WARNING **: object_get_type(EML - Process) returned NULL

** WARNING **: object_get_type(EML - Instantiation) returned NULL

** WARNING **: object_get_type(EML - Interaction) returned NULL

** WARNING **: object_get_type(EML - Interaction (orthogonal)) returned
NULL

Breakpoint 1, on_sheets_dialog_object_button_toggled
(togglebutton=0x81dce70,
    ud_wrapbox=0x81c88b0) at sheets_dialog_callbacks.c:134
134       if
(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(togglebutton)) ==
FALSE)
(gdb) continue
Continuing.

Breakpoint 1, on_sheets_dialog_object_button_toggled
(togglebutton=0x81df0c0,
    ud_wrapbox=0x81dcf20) at sheets_dialog_callbacks.c:134
134       if
(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(togglebutton)) ==
FALSE)
(gdb) continue
Continuing.

Breakpoint 1, on_sheets_dialog_object_button_toggled
(togglebutton=0x81df0c0,
    ud_wrapbox=0x81dcf20) at sheets_dialog_callbacks.c:134
134       if
(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(togglebutton)) ==
FALSE)
(gdb) next
135         return;
(gdb)
244     }
(gdb)
0x401a40e1 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_marshal_NONE__NONE,
which has no line number information.
0x401d9fe5 in gtk_signal_remove_emission_hook () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function
gtk_signal_remove_emission_hook,
which has no line number information.
0x401d9040 in gtk_signal_handler_unblock () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_handler_unblock,
which has no line number information.
0x401d7310 in gtk_separator_get_type () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_separator_get_type,
which has no line number information.
0x401d9048 in gtk_signal_handler_unblock () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_handler_unblock,
which has no line number information.
0x401da206 in gtk_signal_remove_emission_hook () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function
gtk_signal_remove_emission_hook,
which has no line number information.
0x401d9590 in gtk_signal_handler_unblock () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_handler_unblock,
which has no line number information.
0x401d9f30 in gtk_signal_remove_emission_hook () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function
gtk_signal_remove_emission_hook,
which has no line number information.
0x401d7310 in gtk_separator_get_type () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_separator_get_type,
which has no line number information.
0x401d9f3c in gtk_signal_remove_emission_hook () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function
gtk_signal_remove_emission_hook,
which has no line number information.
0x401d9040 in gtk_signal_handler_unblock () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_handler_unblock,
which has no line number information.
0x401d7310 in gtk_separator_get_type () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_separator_get_type,
which has no line number information.
0x401d9048 in gtk_signal_handler_unblock () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_handler_unblock,
which has no line number information.
0x401da206 in gtk_signal_remove_emission_hook () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function
gtk_signal_remove_emission_hook,
which has no line number information.
0x401d96e0 in gtk_signal_handler_unblock () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_handler_unblock,
which has no line number information.
0x401db480 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_set_funcs,
which has no line number information.
0x401d7310 in gtk_separator_get_type () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_separator_get_type,
which has no line number information.
0x401db48c in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_set_funcs,
which has no line number information.
0x401d9724 in gtk_signal_handler_unblock () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_handler_unblock,
which has no line number information.
0x401d7c34 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_emit,
which has no line number information.
0x401fd118 in gtk_toggle_button_toggled () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_toggle_button_toggled,
which has no line number information.
0x401c7e3d in gtk_radio_button_group () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_radio_button_group,
which has no line number information.
0x401a40e1 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_marshal_NONE__NONE,
which has no line number information.
0x401d941d in gtk_signal_handler_unblock () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_handler_unblock,
which has no line number information.
0x401db480 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_set_funcs,
which has no line number information.
0x401d7310 in gtk_separator_get_type () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_separator_get_type,
which has no line number information.
0x401db48c in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_set_funcs,
which has no line number information.
0x401d9724 in gtk_signal_handler_unblock () from
/usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_handler_unblock,
which has no line number information.
0x401d7c34 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_signal_emit,
which has no line number information.
0x401322fd in gtk_button_clicked () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_button_clicked,
which has no line number information.
0x401c7e0c in gtk_radio_button_group () from /usr/lib/libgtk-1.2.so.0
(gdb)
Single stepping until exit from function gtk_radio_button_group,
which has no line number information.

Breakpoint 1, on_sheets_dialog_object_button_toggled
(togglebutton=0x81de278,
    ud_wrapbox=0x81dcf20) at sheets_dialog_callbacks.c:134
134       if
(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(togglebutton)) ==
FALSE)
(gdb)
139       gtk_object_set_data(GTK_OBJECT(ud_wrapbox), "active_button",
togglebutton);
(gdb)
143       table_sheets = lookup_widget(sheets_dialog, "table_sheets");
(gdb)
144       gtk_object_set_data(GTK_OBJECT(table_sheets),
"active_wrapbox", ud_wrapbox);
(gdb)
146       optionmenu_left = lookup_widget(sheets_dialog,
"optionmenu_left");
(gdb)
147       sheet_left = gtk_object_get_data(GTK_OBJECT(optionmenu_left),
(gdb)
150       optionmenu_right = lookup_widget(sheets_dialog,
"optionmenu_right");
(gdb)
151       sheet_right =
gtk_object_get_data(GTK_OBJECT(optionmenu_right),
(gdb)
154       if ((gboolean)gtk_object_get_data(GTK_OBJECT(ud_wrapbox),
"is_left") ==TRUE)
(gdb)
156         gtk_object_set_data(GTK_OBJECT(table_sheets),
"active_optionmenu",
(gdb)
158         button = lookup_widget(sheets_dialog, "button_copy");
(gdb)
159         gtk_object_set(GTK_OBJECT(button), "label", "Copy ->",
NULL);
(gdb)
160         button = lookup_widget(sheets_dialog, "button_copy_all");
(gdb)
161         gtk_object_set(GTK_OBJECT(button), "label", "Copy All ->",
NULL);
(gdb)
162         button = lookup_widget(sheets_dialog, "button_move");
(gdb)
163         gtk_object_set(GTK_OBJECT(button), "label", "Move ->",
NULL);
(gdb)
164         button = lookup_widget(sheets_dialog, "button_move_all");
(gdb)
165         gtk_object_set(GTK_OBJECT(button), "label", "Move All ->",
NULL);
(gdb)
166       }
(gdb)
181       sheet_left = sheet_left ? sheet_left : "";  /* initial value
can be NULL */
(gdb)
183       if (!strcmp(sheet_left, sheet_right)
(gdb)
187         button = lookup_widget(sheets_dialog, "button_copy");
(gdb)
188         gtk_widget_set_sensitive(button, FALSE);
(gdb)
189         button = lookup_widget(sheets_dialog, "button_copy_all");
(gdb)
190         gtk_widget_set_sensitive(button, FALSE);
(gdb)
191         button = lookup_widget(sheets_dialog, "button_move");
(gdb)
192         gtk_widget_set_sensitive(button, FALSE);
(gdb)
193         button = lookup_widget(sheets_dialog, "button_move_all");
(gdb)
194         gtk_widget_set_sensitive(button, FALSE);
(gdb)
195       }
(gdb)
208       wrapbox_button_list =
gtk_container_children(GTK_CONTAINER(ud_wrapbox));
(gdb)
210       if (g_list_length(wrapbox_button_list))
(gdb)
214         sheets_dialog_up_down_set_sensitive(wrapbox_button_list,
togglebutton);
(gdb)
216         button = lookup_widget(sheets_dialog, "button_edit");
(gdb)
217         if (!gtk_object_get_data(GTK_OBJECT(togglebutton),
"sheet_object_mod")
(gdb)

Program received signal SIGSEGV, Segmentation fault.
0x080a48da in on_sheets_dialog_object_button_toggled
(togglebutton=0x81de278,
    ud_wrapbox=0x81dcf20) at sheets_dialog_callbacks.c:217
217         if (!gtk_object_get_data(GTK_OBJECT(togglebutton),
"sheet_object_mod")
(gdb)

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)

Torben

_____________________________________________________
Yahoo! Mail - din for livet.
www.yahoo.dk/mail



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