Re: [Java-gnome-developer] Testing
Brought to you by:
afcowie
From: John L. <je...@pi...> - 2001-10-14 20:22:37
|
On Mon, Oct 08, 2001 at 07:20:51AM -0400, Jeffrey Morgan wrote: > Thanks for the input and feedback. I have never seen the > problem you describe on the clist. When it crashes does it > produce a core? What additional information can you provide? It may/may not be useful, but when I run clist and click "Add 1000 rows" with my JVM, I get the following backtrace: The line in gnu_gtk_GtkClist.c (frame 6) is: 1110 jint result_j = (jint) (gtk_clist_append (cptr, text_g)); (gdb) bt #0 0x40e72995 in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0 #1 0x40e71d15 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0 #2 0x40e6fdf3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 #3 0x40df0488 in gtk_clist_select_row () from /usr/lib/libgtk-1.2.so.0 #4 0x40dee7ed in gtk_clist_clear () from /usr/lib/libgtk-1.2.so.0 #5 0x40dee3c6 in gtk_clist_append () from /usr/lib/libgtk-1.2.so.0 #6 0x40da3d90 in Java_gnu_gtk_GtkCList_append0 (env=0x80e6330, obj=0x40c101dc, text=0x40c13490) at gnu/jni/gnu_gtk_GtkCList.c:1110 #7 0x8066171 in JNI_CallNativeMethod (pstFrame=0x82c4e28, pstMethod=0x82a514c) at ./vm/jni_native_call.c:707 #8 0x805367c in Interpret (env=0x80e6330, pstInitFrame=0x82c4db8, iMultiThread=1) at vm/interp/method_invocation.h:797 #9 0x804c4c6 in INTERP_RunVirtualMethodFromPtr (env=0x80e6330, pstMethod=0x81b7984, pi32Args=0x82c44b8) at ./vm/interp/interp.c:1194 #10 0x8069968 in CallVoidMethodA (env=0x80e6330, obj=0x40bfb238, methodID=0x81b7984, args=0xbfffea14) at ./vm/jni.c:1181 #11 0x40d8e917 in jobject_signal_cb (object=0x8274e00, data=0x82835e8, n_args=0, args=0xbfffeb3c) at other/callback_dispatcher.c:242 #12 0x40e72885 in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0 #13 0x40e71d15 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0 #14 0x40e6fdf3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 #15 0x40de10a8 in gtk_button_clicked () from /usr/lib/libgtk-1.2.so.0 #16 0x40de262d in gtk_button_get_relief () from /usr/lib/libgtk-1.2.so.0 #17 0x40e43035 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0 #18 0x40e71baf in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0 #19 0x40e6fdf3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 #20 0x40de0fe8 in gtk_button_released () from /usr/lib/libgtk-1.2.so.0 #21 0x40de1f98 in gtk_button_get_relief () from /usr/lib/libgtk-1.2.so.0 #22 0x40e42cbf in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0 ---Type <return> to continue, or q <return> to quit--- #23 0x40e71d53 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0 #24 0x40e6fdf3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 #25 0x40ea6a0b in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0 #26 0x40e42c05 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0 #27 0x40e41d6e in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0 #28 0x40ef04b7 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0 #29 0x40f1d308 in g_get_current_time () from /usr/lib/libglib-1.2.so.0 #30 0x40f1d913 in g_get_current_time () from /usr/lib/libglib-1.2.so.0 #31 0x40f1daac in g_main_run () from /usr/lib/libglib-1.2.so.0 #32 0x40e41667 in gtk_main () from /usr/lib/libgtk-1.2.so.0 #33 0x40d99a4c in Java_gnu_gtk_Gtk_main (env=0x80e6330, cls=0x40bfb234) at gnu/jni/gnu_gtk_Gtk.c:51 #34 0x8065b8a in JNI_CallNativeMethod (pstFrame=0x81ab990, pstMethod=0x81b2574) at ./vm/jni_native_call.c:502 #35 0x8053b23 in Interpret (env=0x80e6330, pstInitFrame=0x81ab990, iMultiThread=1) at vm/interp/method_invocation.h:1181 #36 0x8073342 in STARTUP_startup (pszMainClass=0xbffffd34 "TestGTK", pszStoreName=0x80980d5 "persistent_store", argc=4, argv=0xbffffbc4, argsused=4) at ./vm/startup.c:409 #37 0x806f69e in main (argc=4, argv=0xbffffbc4, c_env=0xbffffbd8) at ./vm/kissme_main.c:457 The cptr looks like this: p *cptr $4 = {container = {widget = {object = {klass = 0x82a61f8, flags = 69580, ref_count = 2, object_data = 0x823e680}, private_flags = 0, state = 0 '\000', saved_state = 0 '\000', name = 0x0, style = 0x823c8d8, requisition = { width = 634, height = 27}, allocation = {x = 10, y = 94, width = 373, height = 42}, window = 0x82c46a8, parent = 0x82c41c8}, focus_child = 0x0, border_width = 0, need_resize = 0, resize_mode = 0, reallocate_redraws = 0, resize_widgets = 0x0}, flags = 782, row_mem_chunk = 0x82a7c88, cell_mem_chunk = 0x82a7cd0, freeze_count = 1, internal_allocation = {x = 0, y = 0, width = 373, height = 42}, rows = 1, row_center_offset = 12, row_height = 20, row_list = 0x8273c90, row_list_end = 0x8273c90, columns = 7, column_title_area = {x = 2, y = 2, width = 369, height = 22}, title_window = 0x82c46e0, column = 0x82a7d18, clist_window = 0x82c4718, clist_window_width = 369, clist_window_height = 16, hoffset = 0, voffset = 0, shadow_type = GTK_SHADOW_IN, selection_mode = GTK_SELECTION_BROWSE, selection = 0x8273c9c, selection_end = 0x8273c9c, undo_selection = 0x0, undo_unselection = 0x0, undo_anchor = -1, button_actions = "\003\000\000\000", drag_button = 0 '\000', click_cell = {row = -1, column = -1}, hadjustment = 0x82b7b90, vadjustment = 0x82c4258, xor_gc = 0x82c4a08, fg_gc = 0x82c48e8, bg_gc = 0x82c4978, cursor_drag = 0x82c4750, x_drag = 0, focus_row = 0, anchor = -1, anchor_state = GTK_STATE_SELECTED, drag_pos = -1, htimer = 0, vtimer = 0, sort_type = GTK_SORT_ASCENDING, compare = 0x40df909c <gtk_clist_set_sort_column+164>, sort_column = 0} And text_g is: p text_g $5 = (gchar **) 0x406cd67c p *text_g $6 = (gchar *) 0x2 <Address 0x2 out of bounds> John Leuner |