After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 572406 - Applications crashes if Accessibility support is enabled
Applications crashes if Accessibility support is enabled
Status: RESOLVED OBSOLETE
Product: atk
Classification: Platform
Component: gail
1.18.x
Other All
: Normal critical
: ---
Assigned To: Li Yuan
Li Yuan
Depends on:
Blocks:
 
 
Reported: 2009-02-19 13:25 UTC by Prathibha
Modified: 2011-01-20 07:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Prathibha 2009-02-19 13:25:50 UTC
Steps to reproduce:
1. Wrote a simple programs GTK+/C that uses GtkTreeView widget.  
2. The applications that I developed contains two GtkTreeView widgets(one in the left and another in the right). In between these two widgets there are two buttons - Forward and Backward. If forward button is clicked the selected item from the left tree should move to the right tree and vice-versa.
3. If accessibility support is not enabled it works properly, but if accesssibility support is enabled the application quits, showing the following error message: 

** ERROR **: file gailtreeview.c: line 3755 (traverse_cells): assertion failed: (row_path != NULL)
aborting...
Aborted



Stack trace:
void forward_button_clicked(GtkWidget *widget,gpointer data)
{
  model=gtk_tree_view_get_model(GTK_TREE_VIEW(available_treeview));
     
  if(gtk_tree_selection_get_selected(sel, &model, &iter))
  //if(gtk_tree_selection_get_selected(sel, &available_liststore, &iter))  
  {
    gchar *names; 
    gtk_list_store_append(selected_liststore,&iter1);
    gtk_tree_model_get(GTK_TREE_MODEL(available_liststore), &iter, 0, &names, -1);
    gtk_list_store_set(selected_liststore, &iter1,0, names,-1);
    gtk_list_store_remove(GTK_LIST_STORE(model), &iter);
  } 
  else
  {
    gtk_widget_set_sensitive(GTK_WIDGET(forward_button),FALSE);
  }
  gtk_tree_view_set_model(GTK_TREE_VIEW(selected_treeview),GTK_TREE_MODEL(selected_liststore));
}

Other information:
Comment 1 yue.wang 2009-02-20 03:12:39 UTC
Is this a duplicate of bug #512743?
Comment 2 Prathibha 2009-02-20 03:39:31 UTC
(In reply to comment #1)
> Is this a duplicate of bug #512743?
> 

i am getting the same error
Comment 3 Li Yuan 2009-07-21 07:42:13 UTC
Can you try Gtk+ 2.15.0 or later to see if this bug is still reproducible?