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 615576 - Gtk:ERROR:gtkfilesystemmodel.c:330:node_set_visible: assertion failed: (row < model->files->len)
Gtk:ERROR:gtkfilesystemmodel.c:330:node_set_visible: assertion failed: (row <...
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.20.x
Other Linux
: Normal major
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2010-04-12 21:08 UTC by Enrico Tröger
Modified: 2013-05-22 07:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Backtrace of a crash (1.53 KB, application/octet-stream)
2010-04-12 21:08 UTC, Enrico Tröger
Details

Description Enrico Tröger 2010-04-12 21:08:18 UTC
Created attachment 158535 [details]
Backtrace of a crash

I experience random crashes in Geany (a little IDE/text editor) recently. I was just able to catch one in gdb and got the attached backtrace.

I didn't do anything special in Geany, it just crashed out of the blue. I'm not sure how to reproduce this nor what happened to trigger the crash.

The only guess I have is that it might be related to the file open dialog which we do not destroy in Geany after it was initially created. Instead, we just hide the dialog and show it again if requested by the user. Maybe that's related to the issue.

Any ideas?

My system:
Kernel 2.6.33.2
GTK 2.20.0
GLib 2.24.0


Today, we received the same report from an user of Geany:
https://sourceforge.net/tracker/?func=detail&atid=787791&aid=2985896&group_id=153444

Interestingly, he is using GTK 2.18 and GLib 2.22.

A short Google search showed a couple of similar bug reports:
http://www.google.de/search?hl=en&source=hp&q=Gtk%3AERROR%3Agtkfilesystemmodel.c%3A330%3Anode_set_visible%3A+assertion+failed%3A+%28row+%3C+model-%3Efiles-%3Elen%29&btnG=Google-Suche&meta=&aq=f&aqi=&aql=&oq=&gs_rfai=
Comment 1 Daniel Milde 2010-05-03 17:10:50 UTC
There is also one bug report with steps to reproduce, but it works only on Arch Linux.

http://sourceforge.net/tracker/?func=detail&aid=2995457&group_id=153444&atid=787791
Comment 2 Daniel Milde 2010-05-03 17:16:21 UTC
The (In reply to comment #1)
> There is also one bug report with steps to reproduce, but it works only on Arch
> Linux.
> 
> http://sourceforge.net/tracker/?func=detail&aid=2995457&group_id=153444&atid=787791

The bug report is for:
Kernel 2.6.33.3
Gtk 2.20.0
GLib 2.24.0
Comment 3 Javier Jardón (IRC: jjardon) 2010-05-03 20:31:56 UTC
Just committed a patch that is realated to this:

http://git.gnome.org/browse/gtk+/commit/?h=gtk-2-20&id=476281a46b36ae0b3c18c7d4ea85d1a95d231e7f

Feel free to reopen the bug if you still have issues.
Comment 4 Olivier Sessink 2012-01-19 20:21:51 UTC
I can still reproduce this with gedit and with bluefish both compiled for gtk+-3.2.0 (on Ubuntu 11.10)

Gtk:ERROR:/build/buildd/gtk+3.0-3.2.0/./gtk/gtkfilesystemmodel.c:745:gtk_file_system_model_sort: assertion failed: (r == n_visible_rows)

Program received signal SIGABRT, Aborted.
0x00130416 in __kernel_vsyscall ()
Comment 5 Paul Menzel 2012-12-03 09:48:37 UTC
I created a new ticket for this issue (bug 689515 [1]).

[1] https://bugzilla.gnome.org/show_bug.cgi?id=689515
Comment 6 Timothy Arceri 2013-05-22 07:44:38 UTC
Comments 4/5 are about a different bug #687196. 

Closing this bug again as per fix in comment 3.