GNOME Bugzilla – Bug 328919
Animationplay crashes if a layer is deleted from the image
Last modified: 2006-02-14 12:08:58 UTC
- open an image that contains multiple layers - run the animationplay plug-in on it - while the plug-in dialog is still open, delete a layer from the image - animationplay will crash when it reaches this layer Seems like the checks that should handle this are somewhat bogus. IMO it can be improved further, but the patch I'm going to attach will at least avoid the crash, notifies the user with a more or less useful gimp-message and makes the plug-in quit instead. I'd like to know if this causes any other problems.
Created attachment 58245 [details] [review] avoiding the crash
The message could indeed be improved and it should be marked for translation. Otherwise the change is good and should be applied to both branches. Perhaps you can find a message that is already used in another plug-in so that we don't need to introduce a new translatable string.
Applied to both branches. String marked for translation in the HEAD branch only. 2006-02-14 Sven Neumann <sven@gimp.org> * plug-ins/common/animationplay.c (render_frame): applied patch from Michael Schumacher that fixes a potential crash in the plug-in (bug #328919).