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 697870 - Gimp crashes when directory being displayed changes
Gimp crashes when directory being displayed changes
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.24.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
: 672887 680521 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-04-12 12:36 UTC by Tony Green
Modified: 2018-04-15 00:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
stacktrace (4.58 KB, text/plain)
2013-04-13 21:04 UTC, Matthias Clasen
Details

Description Tony Green 2013-04-12 12:36:43 UTC
Annoyingly not consistent, but has happened twice this week, so evidently not just transient.

How to reproduce:

File->Open
Navigate to a directory containing picture files.
Rename one of the files in the directory.

Gimp crashes with the following messages:
-----------------------------------------------------------
(gimp:24309): Gimp-Core-CRITICAL **: gimp_drawable_get_floating_sel: assertion `GIMP_IS_DRAWABLE (drawable)' failed

(gimp:24309): Gimp-Core-CRITICAL **: gimp_drawable_get_floating_sel: assertion `GIMP_IS_DRAWABLE (drawable)' failed
Connection closed by server
**
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)
gimp: terminated: Aborted

(script-fu:24313): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
Connection closed by server
----------------------------------------------------------------

In case it's significant, the files I renamed were RAW files.
Comment 1 Tony Green 2013-04-12 12:37:55 UTC
Update: just spotted how to reproduce.

Multi-select several files, then rename one of the selected files. This seems to be what kills the program.
Comment 2 Michael Natterer 2013-04-12 12:54:59 UTC
Ok this is clearly a GtkFileChooser problem, I'm moving this bug to GTK+.

But, there are these gimp_drawable_get_floating_sel warnings, can you please
file a separate bug about these if you find a way to reproduce them?
Comment 3 Tony Green 2013-04-12 12:56:48 UTC
OK, I'll have a play when I've finished the task I'm working on.
Comment 4 Matthias Clasen 2013-04-13 20:59:34 UTC
(In reply to comment #1)
> Update: just spotted how to reproduce.
> 
> Multi-select several files, then rename one of the selected files. This seems
> to be what kills the program.

That doesn't kill my testfilechooser here. Stacktrace needed.
Comment 5 Matthias Clasen 2013-04-13 21:02:32 UTC
oh, I was testing in gtk master. It does indeed crash in gtk 2.24
Comment 6 Matthias Clasen 2013-04-13 21:04:34 UTC
Created attachment 241467 [details]
stacktrace
Comment 7 Timothy Arceri 2013-05-21 22:03:25 UTC
A fix for this seems to have been pushed to 3.6 an up see bug #687196
Comment 8 Timothy Arceri 2013-05-21 22:09:35 UTC
*** Bug 672887 has been marked as a duplicate of this bug. ***
Comment 9 Timothy Arceri 2013-05-30 00:24:21 UTC
*** Bug 680521 has been marked as a duplicate of this bug. ***
Comment 10 Matthias Clasen 2018-02-10 05:22:24 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 11 Matthias Clasen 2018-04-15 00:28:14 UTC
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla.

If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab:

https://gitlab.gnome.org/GNOME/gtk/issues/new