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 680521 - application gpf on fileserver browse dialog
application gpf on fileserver browse dialog
Status: RESOLVED DUPLICATE of bug 697870
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.4.x
Other Linux
: Normal major
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2012-07-24 12:44 UTC by Damien Ruscoe
Modified: 2013-05-30 00:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Creates\Removes files repeatidly in a temp folder and uses GTK browse dialog to view the containing folder (1.34 KB, text/x-python)
2012-07-24 12:44 UTC, Damien Ruscoe
Details

Description Damien Ruscoe 2012-07-24 12:44:52 UTC
Created attachment 219576 [details]
Creates\Removes files repeatidly in a temp folder and uses GTK browse dialog to view the containing folder

The GTK browse (for file) dialog works perfectly well under most circumstances. Although a GPF has been seen (once) while using this dialog and is not very reproduceable in normal circumstances so I developed a script to really exercise the GTK code.

The GPF appears to come from the number of files being viewed changing before it sorts the files. This causes about 3 different assertions to fail over a period of runs (the first failing assertion GPFs the application).

The script to reproduce is attached (appologies: it is dependant on wxPython but someone who is more familiar with pyGTK could convert easily if required).
The test script will load a GTK browse dialog and browse a folder with constantly changing contents. Wait, for approx 20seconds.

This script can also crash gimp if you browse to the correct location showing 'All files'

Sample error traceback ...

Gtk:ERROR:/build/buildd/gtk+2.0-2.24.10/gtk/gtkfilesystemmodel.c:330:node_set_visible: assertion failed: (row < model->files->len)
**
Gtk:ERROR:/build/buildd/gtk+2.0-2.24.10/gtk/gtkfilesystemmodel.c:746:gtk_file_system_model_sort: assertion failed: (r == n_visible_rows)

Damien,
Comment 1 Timothy Arceri 2013-05-30 00:24:21 UTC

*** This bug has been marked as a duplicate of bug 697870 ***