Project

General

Profile

Bug #257

** (audacious:1621): CRITICAL **: file gtktreeviewaccessible.c: line 331 (set_cell_data): should not be reached

Added by Michael Schwendt about 11 years ago. Updated about 11 years ago.

Status:
Rejected
Priority:
Minor
Assignee:
-
Category:
-
Target version:
-
Start date:
February 23, 2013
Due date:
% Done:

0%

Estimated time:
Affects version:

Description

At first sight it looks like a problem in GTK+. And it might be that you are aware of it, because it's also related to the GtkTreeView "cursor-changed" signal.

Steps to reproduce:
1. start with empty playlist
2. add n>=2 files to the playlist
3. select/highlight the first entry of the playlist
4. press Ctrl+A to select all entries
5. hit Delete key to remove them

"** (audacious:1621): CRITICAL **: file gtktreeviewaccessible.c: line 331 (set_cell_data): should not be reached" for each playlist entry when

is printed n-1 times by GTK+.

It's printed when in libaudgui audgui_list_delete_rows() calls gtk_tree_model_row_deleted() for multiple rows that overlap with the previously highlighted row and if the GtkTreeView widget has cursor focus
(gtk_tree_view_get_cursor() returns non-NULL values then) because of step 3. If one skips step 3, there is no warning. I've tried to unset the cursor without success.

If one deletes all playlist entries one-by-one, that works.

History

#1 Updated by Michael Schwendt about 11 years ago

I've filed https://bugzilla.gnome.org/show_bug.cgi?id=694532 about this, too. Dunno whether GtkTreeView is the right component or whether Accessibility is it instead.

#2 Updated by Thomas Lange about 11 years ago

This warning is also printed when you open more than one file
and open the same files again. Selecting a directory twice works too.

#3 Updated by Michael Schwendt about 11 years ago

Thomas, I cannot reproduce that.

For the test-case I've stated, there is an equivalent shorter one found by a Fedora user:

1. run "audacious" from a terminal
2. in another terminal, run "audacious file1.ogg file2.ogg" more than once and notice the warning in the first terminal

As this also removes all entries from the playlist, adds the new entries and selects the first one to play it, the GtkTreeView also gets cursor focus. And in the same way, gtk/a11y/gtktreeviewaccessible.c runs into the situation where it wants to update something and fetch an iterator for the underlying tree model, but that one cannot return a valid one since all rows have been removed.

#4 Updated by John Lindgren about 11 years ago

I've read through this whole report without finding any mention of a bug in Audacious. Please enlighten me.

#5 Updated by Michael Schwendt about 11 years ago

Well, I've opened this ticket to raise awareness, since sometimes these "CRITICAL" warnings are turned into assertions that will abort the app. So far it's just a g_return_if_reached() with a comment that doesn't explain what's wrong.

And I want to be prepared for the "blame game". If someone returns to me and blames the app (which has happened before in other cases), I have something to point at.

#6 Updated by John Lindgren about 11 years ago

I've seen the warning in the past, but I can't reproduce this with each of the test cases mentioned, using GTK+ 3.6.4 (Arch Linux + local patches).

#7 Updated by John Lindgren about 11 years ago

  • Status changed from New to Rejected

Also available in: Atom PDF