https://bugzilla.novell.com/show_bug.cgi?id=223606 ------- Comment #1 from jdluhos@novell.com 2006-11-24 07:33 MST ------- For the record: the crashing test is GtkTreeModel.23. I will try to extract a test case from it. It does something like this (excerpt from the test code): --------------------------------------------------------------------- static void test_purpose_23() { #define N 117 GtkWidget* widget; GtkTreeViewColumn* new_column; GtkTreeViewColumn* column; gint i; gint n; bug_inf = NULL; test_passed_flag = 1; all_test_purp_num++; fprintf (stderr, mark_symbol (all_test_purp_num)); tet_printf("test case: %s, TP number: %d ", tet_pname, tet_thistest); widget = gtk_tree_view_new (); if (!widget) { TEST_FAIL (get_not_created_msg (), NULL); return; } if (!GTK_IS_TREE_VIEW (widget)) { TEST_FAIL (get_wrong_type_msg (), NULL); return; } for (i = 0; i < N; i++) { new_column = gtk_tree_view_column_new (); gtk_tree_view_column_set_min_width (new_column, 4917); n= gtk_tree_view_append_column (GTK_TREE_VIEW (widget), new_column); } column = gtk_tree_view_get_column (GTK_TREE_VIEW (widget), N-1); if (gtk_tree_view_column_get_min_width (column) != 4917) { TEST_FAIL("The column at the %i position differs from that was appended. Min width of this column = %i", N, gtk_tree_view_column_get_min_width (column)); } if (n != N) { TEST_FAIL("gtk_tree_view_append_column () return %i, should be %i.", n, N); } /******* VISUALISATION *******/ TEST_VISUALIZE (widget); /******* ------------- *******/ gtk_widget_destroy (gtk_widget_get_toplevel (widget)); #undef N test_passed (); double_bug = 0; } --------------------------------------------------------------------------- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.