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 305588 - Saving twice into a non-readable dir crashes GIMP
Saving twice into a non-readable dir crashes GIMP
Status: RESOLVED INCOMPLETE
Product: GIMP
Classification: Other
Component: General
2.2.x
Other Linux
: Normal major
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-05-26 21:29 UTC by Samuli Kärkkäinen
Modified: 2008-01-15 12:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Samuli Kärkkäinen 2005-05-26 21:29:06 UTC
Version details: gimp-2.2.7-4
Distribution/Version: Fedora Core 4 test

Have a directory you own that has permissions d-wx------. The relevant part is
that you have write and execute permissions for it, but no read permission. Save
an image there under any name. Use fe. JPEG format. Then choose Save As to save
again. GIMP now crashes either immediately, or shows errors on stderr and
crashes after you've done some UI clicking. Works also with other image formats,
at least XCF. This is reproducible for me.

Happens on my Athlon64 as well as on a 32 bit Athlon.
Comment 1 Sven Neumann 2005-05-27 10:17:57 UTC
Works for me, no problem whatsoever. Tested with GIMP 2.2 and 2.3.

Can you please tell us what version of GTK+ you are using (try to upgrade if
possible) and please do also paste those error message that appear on stderr.
Comment 2 Samuli Kärkkäinen 2005-05-27 12:41:56 UTC
Gtk 2.6.7-4 from FC's rpm. The errors on stderr vary even between seemingly
identical invokations, but one run I got these when opening the save dialog for
the second time:

(gimp:5721): GLib-GObject-WARNING **: gsignal.c:2319: signal name
`files-removed' is invalid for instance `0x211ab10'

(gimp:5721): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT
(object)' failed

And these when clicking on its Save button:

(gimp:5721): GLib-GObject-WARNING **: invalid cast from `(null)' to `GtkFileFolder'

(gimp:5721): GLib-GObject-WARNING **: invalid cast from `(null)' to
`GtkFileFolderGnomeVFS'

(gimp:5721): GLib-GObject-WARNING **: gsignal.c:2319: signal name `files-added'
is invalid for instance `0x211ab10'

(gimp:5721): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT
(object)' failed

(gimp:5721): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT
(object)' failed

After creating two more pictures and saving them, gimp crashed with:

(script-fu:5723): LibGimpBase-WARNING **: script-fu: wire_read(): error
Segmentation fault

I could give proper stack traces if somebody tells me how to use Redhat's
debuginfo rpm's :)
Comment 3 Samuli Kärkkäinen 2005-05-27 14:05:26 UTC
Figured out the debuginfo thing. Here's a backtrace of a crash such as the one
described in the previous comment:

  • #0 IA__g_type_check_instance_cast
    at gtype.c line 486
  • #1 gtk_file_system_gnome_vfs_new
    from /usr/lib64/gtk-2.0/2.4.0/filesystems/libgnome-vfs.so
  • #2 list_icon_data_func
    at gtkfilechooserdefault.c line 5976
  • #3 IA__gtk_tree_view_column_cell_set_cell_data
    at gtktreeviewcolumn.c line 2556
  • #4 validate_row
    at gtktreeview.c line 4579
  • #5 validate_visible_area
    at gtktreeview.c line 4658
  • #6 do_presize_handler
    at gtktreeview.c line 5193
  • #7 presize_handler_callback
    at gtktreeview.c line 5204
  • #8 IA__g_main_context_dispatch
    at gmain.c line 1933
  • #9 g_main_context_iterate
    at gmain.c line 2564
  • #10 IA__g_main_loop_run
    at gmain.c line 2768
  • #11 app_run
    at app_procs.c line 376
  • #12 main
    at main.c line 473
  • #13 __libc_start_main
    from /lib64/libc.so.6
  • #14 _start
  • #15 ??
  • #16 ??

Comment 4 weskaggs 2005-05-27 17:20:13 UTC
I would suggest reporting this to RedHat's Bugzilla, since it may well have been
caused by something the Fedora developers changed in Gtk+.  This is the default
assumption until somebody else on a different system replicates the problem.
Comment 5 Michael Schumacher 2005-07-07 08:06:55 UTC
Samuli, did you do what was suggested in comment #4? What is the corresponding
Redhat bug number?
Comment 6 Samuli Kärkkäinen 2005-07-07 09:28:41 UTC
The bug is 159027 in RedHat's bugzilla.
Comment 7 Michael Schumacher 2005-07-07 09:52:18 UTC
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159027

BTW, your bug report there is pretty useless - you should have at least provided
a link to this one here.
Comment 8 Samuli Kärkkäinen 2005-07-07 10:40:25 UTC
There is a link to this bug, see section "External Bugzilla References".
Comment 9 Michael Schumacher 2005-07-07 18:00:30 UTC
Hm, pretty easy to overlook this - they should consider to have it add a comment
automatically.
Comment 10 Michael Schumacher 2006-01-11 19:57:50 UTC
Samuli, what's the status of this?
Comment 11 Samuli Kärkkäinen 2006-01-16 22:22:32 UTC
Still happens. Libs are the latest stuff in FC4. Athlon64. Gimp 2.2.10.
Comment 12 Michael Schumacher 2006-02-23 22:44:39 UTC
There's not much activity in the Redhat bug. Can anyone else reproduce this on Fedora?
Comment 13 André Klapper 2006-07-06 23:34:24 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information Michael asked for.
Thanks very much in advance!