undo gfig can make GIMP critical
Submitted by quazgar
Link to original bug (#533307)
Description
Small note first: Something very similar also happens with 2.4.5, but I'll rather describe the svn behaviour first.
Using the gfig plugin (and probably its undo stack handling) can result in an infinite loop, rendering GIMP unusable.
Steps to reproduce:
-
Open an image
-
Do something that causes an addition to the undo stack (like painting a stroke with a paint tool)
-
Make sure the Undo dialog is open and accessible
-
Open the gfig plugin
-
In the Undo dialog, try to revert to one step before by clicking on one of the previous stages there.
What happens: Gimp freezes, sometimes the gfig plugin dialog itself seems to be still usable.
What should happen: Probably nothing, but it definitely should not freeze.
Notes: There will be a continuous stream of this message when started from a console: Gimp-Core-CRITICAL **: gimp_image_undo: assertion `image->pushing_undo_group == GIMP_UNDO_GROUP_NONE' failed
Version: git master