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 793936 - Deleting a brush brought up the bug report window
Deleting a brush brought up the bug report window
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: libgimp
git master
Other Linux
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2018-02-28 19:24 UTC by Elle Stone
Modified: 2018-05-24 19:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
two more bug report pop-ups while removing a tag from a brush (97.56 KB, text/plain)
2018-03-03 02:39 UTC, Elle Stone
Details

Description Elle Stone 2018-02-28 19:24:42 UTC
I deleted a brush when that brush was in the list of brushes selected by a tag and also might have been the active brush. Here's the debug window output:

GNU Image Manipulation Program version 2.9.9
git-describe: GIMP_2_9_8-614-g827d747fae
C compiler:
	Using built-in specs.
	COLLECT_GCC=gcc
	COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/lto-wrapper
	Target: x86_64-pc-linux-gnu
	Configured with: /var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/gcc-6.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --disable-nls --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 6.4.0-r1 p1.3' --disable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --with-multilib-list=m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer --enable-default-pie --enable-default-ssp
	Thread model: posix
	gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3) 
	
using GEGL version 0.3.29 (compiled against version 0.3.29)
using GLib version 2.55.0 (compiled against version 2.55.0)
using GdkPixbuf version 2.36.11 (compiled against version 2.36.11)
using GTK+ version 2.24.31 (compiled against version 2.24.31)
using Pango version 1.40.14 (compiled against version 1.40.14)
using Fontconfig version 2.12.4 (compiled against version 2.12.4)
using Cairo version 1.14.8 (compiled against version 1.14.8)

> GIMP-CRITICAL: gimp_tagged_remove_tag: assertion 'GIMP_IS_TAGGED (tagged)' failed

Stack trace:
[New LWP 16428]
[New LWP 16429]
[New LWP 16445]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f267504155c in waitpid () from /lib64/libpthread.so.0
  • #0 waitpid
    from /lib64/libpthread.so.0
  • #1 gimp_stack_trace_print
    at gimputils.c line 1216
  • #2 gui_message
  • #3 gimp_show_message
  • #4 gimp_message_log_func
  • #5 g_logv
    at gmessages.c line 1370
  • #6 g_log
    at gmessages.c line 1432
  • #7 gimp_tag_entry_assign_tags
    at gimptagentry.c line 796
  • #8 gimp_tag_entry_activate
    at gimptagentry.c line 372
  • #9 g_closure_invoke
    at gclosure.c line 804
  • #10 signal_emit_unlocked_R
    at gsignal.c line 3635
  • #11 g_signal_emitv
    at gsignal.c line 3129
  • #12 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #13 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #14 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #15 gtk_bindings_activate_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #16 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #17 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #18 g_closure_invoke
    at gclosure.c line 804
  • #19 signal_emit_unlocked_R
    at gsignal.c line 3673
  • #20 g_signal_emit_valist
    at gsignal.c line 3401
  • #21 g_signal_emit
    at gsignal.c line 3447
  • #22 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #23 gtk_window_propagate_key_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #24 gimp_window_key_press_event
    at gimpwindow.c line 189
  • #25 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #26 g_closure_invoke
    at gclosure.c line 804
  • #27 signal_emit_unlocked_R
    at gsignal.c line 3673
  • #28 g_signal_emit_valist
    at gsignal.c line 3401
  • #29 g_signal_emit
    at gsignal.c line 3447
  • #30 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #31 gtk_propagate_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #32 gtk_main_do_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #33 ??
    from /usr/lib64/libgdk-x11-2.0.so.0
  • #34 g_main_dispatch
    at gmain.c line 3182
  • #35 g_main_context_dispatch
    at gmain.c line 3847
  • #36 g_main_context_iterate
    at gmain.c line 3920
  • #37 g_main_loop_run
    at gmain.c line 4116
  • #38 app_run
    at app.c line 360
  • #39 main
    at main.c line 517
  • #0 waitpid
    from /lib64/libpthread.so.0
  • #1 gimp_stack_trace_print
    at gimputils.c line 1216
  • #2 gui_message
  • #3 gimp_show_message
  • #4 gimp_message_log_func
  • #5 g_logv
    at gmessages.c line 1370
  • #6 g_log
    at gmessages.c line 1432
  • #7 gimp_tag_entry_assign_tags
    at gimptagentry.c line 796
  • #8 gimp_tag_entry_activate
    at gimptagentry.c line 372
  • #9 g_closure_invoke
    at gclosure.c line 804
  • #10 signal_emit_unlocked_R
    at gsignal.c line 3635
  • #11 g_signal_emitv
    at gsignal.c line 3129
  • #12 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #13 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #14 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #15 gtk_bindings_activate_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #16 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #17 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #18 g_closure_invoke
    at gclosure.c line 804
  • #19 signal_emit_unlocked_R
    at gsignal.c line 3673
  • #20 g_signal_emit_valist
    at gsignal.c line 3401
  • #21 g_signal_emit
    at gsignal.c line 3447
  • #22 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #23 gtk_window_propagate_key_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #24 gimp_window_key_press_event
    at gimpwindow.c line 189
  • #25 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #26 g_closure_invoke
    at gclosure.c line 804
  • #27 signal_emit_unlocked_R
    at gsignal.c line 3673
  • #28 g_signal_emit_valist
    at gsignal.c line 3401
  • #29 g_signal_emit
    at gsignal.c line 3447
  • #30 ??
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #31 gtk_propagate_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #32 gtk_main_do_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #33 ??
    from /usr/lib64/libgdk-x11-2.0.so.0
  • #34 g_main_dispatch
    at gmain.c line 3182
  • #35 g_main_context_dispatch
    at gmain.c line 3847
  • #36 g_main_context_iterate
    at gmain.c line 3920
  • #37 g_main_loop_run
    at gmain.c line 4116
  • #38 app_run
    at app.c line 360
  • #39 main
    at main.c line 517

Comment 1 Elle Stone 2018-03-03 02:39:39 UTC
Created attachment 369209 [details]
two more bug report pop-ups while removing a tag from a brush
Comment 2 Jehan 2018-03-03 12:32:20 UTC
Do you have a pattern to reproduce this error? I tried adding and removing tag when you opened this report (as I indeed saw in the trace that it was relative to deleting a tag) but could not reproduce.
Comment 3 Elle Stone 2018-03-03 13:59:15 UTC
(In reply to Jehan from comment #2)
> Do you have a pattern to reproduce this error? I tried adding and removing
> tag when you opened this report (as I indeed saw in the trace that it was
> relative to deleting a tag) but could not reproduce.

The only pattern is that the error occurs when doing a lot of tagging and then deleting some of the newly added tags. For instance, in the last two cases here's what I had done prior to the error:

Make marks with all brushes of a particular size (roughly any brush between 100px and 300px), looking for a particular type of mark.

Tag the ones that looked promising, using a new tag

Select the new tag and go through all the tagged brushes one by one.

Then here's where the error pops up: Remove the newly added tags from the brushes that don't really make quite the type of mark I was looking for. Say test five brushes, remove the tag from the fifth brush, test six more, remove the tag from the last-tested brush, and so on. 

After repeating this process, eventually the error happens. But there doesn't seem to be any way to reliably trigger the error (I tried to trigger the error on purpose, but couldn't).

Maybe GIMP and the file system's timing of commiting changes to disk might be colliding? This is on an SSD disk, though I was thinking of moving the installation folder back to a spinning rust disk.

If it matters: My brushes are arranged in folders. The seven or so top-level folders are mostly named by size categories, with subfolders according to the source of the brush. So each size-based top-level folder might have subfolders "gg", "gimp", "cazu", "jag", etc. So there are multiple subfolders with the same name, just in different top-level folders. I do this because the folder names become auto-generated tags.
Comment 4 GNOME Infrastructure Team 2018-05-24 19:15:38 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/1321.