GNOME Bugzilla – Bug 586008
GIMP crashes when right-click canceling a drawing action initiated outside layer boundaries
Last modified: 2009-06-16 20:28:14 UTC
This bug is reproducable with all tools using some form of brush. When using a drawing tool, its effect can be canceled mid-action with the mouse by right clicking, then releasing left mouse button. However if you start with a drawing action outside the active layer boundaries and cancel this way after moving within the layer boundaries, GIMP will crash instantly. To reproduce: - take the pencil tool (or similar brush based tool) and left click outside the active layer to start drawing. - drag the cursor within the layer boundaries such that the pencil line visibly enters the layer. - cancel the action by right clicking and releasing the left mouse button. GIMP then crashes with a standard "gimp2.6.exe doesn't work anymore" windows message. Version: GNU Image Manipulation Program version 2.6.6 GEGL version 0.0.23 is used (compiled with version 0.0.23) GLib version 2.20.0 is used (compiled with version 2.20.0) GTK+ version 2.16.0 is used (compiled with version 2.16.0) Pango version 1.24.0 is used (compiled with version 1.24.0) Fontconfig version 2.6.0 is used (compiled with version 2.6.0)
Fixed in master and gimp-2-6: commit 06a3b3a85a01403db4262e80e9cf63005be40dbd Author: Michael Natterer <mitch@gimp.org> Date: Tue Jun 16 22:09:48 2009 +0200 Bug 586008 - GIMP crashes when right-click canceling a drawing action initiated outside layer boundaries (gimp_paint_core_cancel): don't pass out-of-drawable coordinates to gimp_paint_core_copy_valid_tiles(). app/paint/gimppaintcore.c | 24 ++++++++++++++++-------- 1 files changed, 16 insertions(+), 8 deletions(-)