GNOME Bugzilla – Bug 558549
Stroking a single-point path with a paint tool crashes GIMP
Last modified: 2009-07-05 06:38:13 UTC
Steps to reproduce: 1. Load a 1392x1040 tif 2. Create a new layer on top, transparent. 3. Draw a straight line with the Path tool on the new layer, going across the whole image. 4. From the toolbox click 'Stroke' 5. From the dialogue choose 'Stroke with a pain tool' and choose Pencil from the drop-down. 6. App disappears when I click 'Stroke' button. Stack trace: <?xml version="1.0" encoding="UTF-16"?> <DATABASE> <EXE NAME="gimp-2.6.exe" FILTER="GRABMI_FILTER_PRIVACY"> <MATCHING_FILE NAME="bzip2.dll" SIZE="71176" CHECKSUM="0x12F30C33" BIN_FILE_VERSION="1.0.3.1928" BIN_PRODUCT_VERSION="1.0.3.1928" PRODUCT_VERSION="1.0.3.1928" FILE_DESCRIPTION="Bzip2: file compressor" COMPANY_NAME="Bzip2" PRODUCT_NAME="Bzip2" FILE_VERSION="1.0.3.1928" ORIGINAL_FILENAME="bzip2.dll" INTERNAL_NAME="bzip2" LEGAL_COPYRIGHT="© 2005 Julian Seward <jseward@acm.org>" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x16DBC" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="1.0.3.1928" UPTO_BIN_PRODUCT_VERSION="1.0.3.1928" LINK_DATE="08/22/2008 21:57:14" UPTO_LINK_DATE="08/22/2008 21:57:14" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="bzip2.exe" SIZE="126472" CHECKSUM="0x1D0A9C20" BIN_FILE_VERSION="1.0.3.1928" BIN_PRODUCT_VERSION="1.0.3.1928" PRODUCT_VERSION="1.0.3.1928" FILE_DESCRIPTION="Bzip2: file compressor" COMPANY_NAME="Bzip2" PRODUCT_NAME="Bzip2" FILE_VERSION="1.0.3.1928" ORIGINAL_FILENAME="bzip2.exe" INTERNAL_NAME="bzip2" LEGAL_COPYRIGHT="© 2005 Julian Seward <jseward@acm.org>" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x2E3D1" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="1.0.3.1928" UPTO_BIN_PRODUCT_VERSION="1.0.3.1928" LINK_DATE="08/21/2008 23:05:56" UPTO_LINK_DATE="08/21/2008 23:05:56" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="freetype6.dll" SIZE="451592" CHECKSUM="0x94F19928" MODULE_TYPE="WIN32" PE_CHECKSUM="0x7A54D" LINKER_VERSION="0x10000" LINK_DATE="08/22/2008 21:57:14" UPTO_LINK_DATE="08/22/2008 21:57:14" /> <MATCHING_FILE NAME="gimp-2.6.exe" SIZE="4603448" CHECKSUM="0x1D20378E" MODULE_TYPE="WIN32" PE_CHECKSUM="0x466D72" LINKER_VERSION="0x10000" LINK_DATE="10/09/2008 21:44:10" UPTO_LINK_DATE="10/09/2008 21:44:10" /> <MATCHING_FILE NAME="gimp-console-2.6.exe" SIZE="2299448" CHECKSUM="0x3A41AEDB" MODULE_TYPE="WIN32" PE_CHECKSUM="0x23EABD" LINKER_VERSION="0x10000" LINK_DATE="10/09/2008 21:44:11" UPTO_LINK_DATE="10/09/2008 21:44:11" /> <MATCHING_FILE NAME="gspawn-win32-helper-console.exe" SIZE="11832" CHECKSUM="0x77AFA9A3" MODULE_TYPE="WIN32" PE_CHECKSUM="0x1084A" LINKER_VERSION="0x10000" LINK_DATE="10/01/2008 16:33:41" UPTO_LINK_DATE="10/01/2008 16:33:41" /> <MATCHING_FILE NAME="gspawn-win32-helper.exe" SIZE="11832" CHECKSUM="0x2A8D5DB7" MODULE_TYPE="WIN32" PE_CHECKSUM="0xB8AD" LINKER_VERSION="0x10000" LINK_DATE="10/01/2008 16:33:41" UPTO_LINK_DATE="10/01/2008 16:33:41" /> <MATCHING_FILE NAME="iconv.dll" SIZE="24072" CHECKSUM="0xB43E1AD" MODULE_TYPE="WIN32" PE_CHECKSUM="0xD1B3" LINKER_VERSION="0x10000" LINK_DATE="08/21/2008 23:05:58" UPTO_LINK_DATE="08/21/2008 23:05:58" /> <MATCHING_FILE NAME="intl.dll" SIZE="76856" CHECKSUM="0x707C047B" BIN_FILE_VERSION="0.17.0.0" BIN_PRODUCT_VERSION="0.17.0.0" PRODUCT_VERSION="0.17" FILE_DESCRIPTION="LGPLed libintl for Windows NT/2000/XP/Vista and Windows 95/98/ME" COMPANY_NAME="Free Software Foundation" PRODUCT_NAME="libintl: accessing NLS message catalogs" FILE_VERSION="0.17" ORIGINAL_FILENAME="intl.dll" INTERNAL_NAME="intl.dll" LEGAL_COPYRIGHT="Copyright (C) 1995-2007" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x10004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x1C481" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="0.17.0.0" UPTO_BIN_PRODUCT_VERSION="0.17.0.0" LINK_DATE="10/01/2008 09:49:26" UPTO_LINK_DATE="10/01/2008 09:49:26" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="jpeg62.dll" SIZE="131128" CHECKSUM="0x573D7561" BIN_FILE_VERSION="6.2.1961.25445" BIN_PRODUCT_VERSION="6.2.1961.25445" PRODUCT_VERSION="6b.1961.25445" FILE_DESCRIPTION="Jpeg: library and tools for JPEG images" COMPANY_NAME="Independent JPEG Group <www.ijg.org>" PRODUCT_NAME="Jpeg" FILE_VERSION="6b.1961.25445" ORIGINAL_FILENAME="jpeg62.dll" INTERNAL_NAME="jpeg62" LEGAL_COPYRIGHT="© 2005 Independent JPEG Group <www.ijg.org>" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x2249E" LINKER_VERSION="0x60002" UPTO_BIN_FILE_VERSION="6.2.1961.25445" UPTO_BIN_PRODUCT_VERSION="6.2.1961.25445" LINK_DATE="10/01/2008 09:49:26" UPTO_LINK_DATE="10/01/2008 09:49:26" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="libart_lgpl_2-2.dll" SIZE="81928" CHECKSUM="0xDA8422F4" MODULE_TYPE="WIN32" PE_CHECKSUM="0x1C5C3" LINKER_VERSION="0x10000" LINK_DATE="08/21/2008 23:05:58" UPTO_LINK_DATE="08/21/2008 23:05:58" /> <MATCHING_FILE NAME="libatk-1.0-0.dll" SIZE="102456" CHECKSUM="0x637EE6A5" BIN_FILE_VERSION="1.24.0.0" BIN_PRODUCT_VERSION="1.24.0.0" PRODUCT_VERSION="1.24.0" FILE_DESCRIPTION="atk" COMPANY_NAME="Sun Microsystems Inc." PRODUCT_NAME="atk" FILE_VERSION="1.24.0.0" ORIGINAL_FILENAME="libatk-1.0-0.dll" INTERNAL_NAME="libatk-1.0-0" LEGAL_COPYRIGHT="Copyright © Sun Microsystems Inc." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x21E0F" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="1.24.0.0" UPTO_BIN_PRODUCT_VERSION="1.24.0.0" LINK_DATE="10/01/2008 16:33:42" UPTO_LINK_DATE="10/01/2008 16:33:42" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="libbabl-0.0-0.dll" SIZE="155327" CHECKSUM="0xCCB14BD8" MODULE_TYPE="WIN32" PE_CHECKSUM="0x2A90A" LINKER_VERSION="0x10000" LINK_DATE="08/27/2008 17:49:56" UPTO_LINK_DATE="08/27/2008 17:49:56" /> <MATCHING_FILE NAME="libcairo-2.dll" SIZE="641080" CHECKSUM="0xE20B516B" MODULE_TYPE="WIN32" PE_CHECKSUM="0xA0EE6" LINKER_VERSION="0x10000" LINK_DATE="10/01/2008 16:33:42" UPTO_LINK_DATE="10/01/2008 16:33:42" /> <MATCHING_FILE NAME="libcroco-0.6-3.dll" SIZE="205832" CHECKSUM="0xEF96B857" MODULE_TYPE="WIN32" PE_CHECKSUM="0x3A937" LINKER_VERSION="0x10000" LINK_DATE="08/22/2008 21:57:16" UPTO_LINK_DATE="08/22/2008 21:57:16" /> <MATCHING_FILE NAME="libcurl-4.dll" SIZE="249352" CHECKSUM="0x3B01F964" MODULE_TYPE="WIN32" PE_CHECKSUM="0x3D897" LINKER_VERSION="0x10000" LINK_DATE="08/21/2008 23:05:58" UPTO_LINK_DATE="08/21/2008 23:05:58" /> <MATCHING_FILE NAME="libexif-12.dll" SIZE="174600" CHECKSUM="0x98B9D0B" MODULE_TYPE="WIN32" PE_CHECKSUM="0x32C99" LINKER_VERSION="0x10000" LINK_DATE="08/21/2008 23:05:58" UPTO_LINK_DATE="08/21/2008 23:05:58" /> <MATCHING_FILE NAME="libexpat.dll" SIZE="155192" CHECKSUM="0x6AFDAF4C" MODULE_TYPE="WIN32" PE_CHECKSUM="0x2C559" LINKER_VERSION="0x0" LINK_DATE="06/05/2007 19:23:36" UPTO_LINK_DATE="06/05/2007 19:23:36" /> <MATCHING_FILE NAME="libfontconfig-1.dll" SIZE="169992" CHECKSUM="0x43ECCF52" MODULE_TYPE="WIN32" PE_CHECKSUM="0x30CBB" LINKER_VERSION="0x10000" LINK_DATE="08/21/2008 23:05:58" UPTO_LINK_DATE="08/21/2008 23:05:58" /> <MATCHING_FILE NAME="libgailutil-18.dll" SIZE="28216" CHECKSUM="0x7D6FB697" MODULE_TYPE="WIN32" PE_CHECKSUM="0x9E53" LINKER_VERSION="0x10000" LINK_DATE="10/09/2008 21:22:12" UPTO_LINK_DATE="10/09/2008 21:22:12" /> <MATCHING_FILE NAME="libgdk-win32-2.0-0.dll" SIZE="634936" CHECKSUM="0x554B7335" BIN_FILE_VERSION="2.14.3.0" BIN_PRODUCT_VERSION="2.14.3.0" PRODUCT_VERSION="2.14.3" FILE_DESCRIPTION="GIMP Drawing Kit" COMPANY_NAME="The GTK developer community" PRODUCT_NAME="GTK+" FILE_VERSION="2.14.3.0" ORIGINAL_FILENAME="libgdk-win32-2.0-0.dll" INTERNAL_NAME="libgdk-win32-2.0-0" LEGAL_COPYRIGHT="Copyright © 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald. Modified by the GTK+ Team and others 1997-2005." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xA9E53" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="2.14.3.0" UPTO_BIN_PRODUCT_VERSION="2.14.3.0" LINK_DATE="10/09/2008 21:22:13" UPTO_LINK_DATE="10/09/2008 21:22:13" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="libgdk_pixbuf-2.0-0.dll" SIZE="208440" CHECKSUM="0x6CFF1A3C" BIN_FILE_VERSION="2.14.3.0" BIN_PRODUCT_VERSION="2.14.3.0" PRODUCT_VERSION="2.14.3" FILE_DESCRIPTION="GIMP Toolkit" COMPANY_NAME="The GTK developer community" PRODUCT_NAME="GTK+" FILE_VERSION="2.14.3.0" ORIGINAL_FILENAME="libgdk_pixbuf-2.0-0.dll" INTERNAL_NAME="libgdk_pixbuf-2.0-0" LEGAL_COPYRIGHT="Copyright (C) 1999 The Free Software Foundation. Modified by the GTK+ Team and others 1999-2005." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x3335C" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="2.14.3.0" UPTO_BIN_PRODUCT_VERSION="2.14.3.0" LINK_DATE="10/09/2008 21:22:13" UPTO_LINK_DATE="10/09/2008 21:22:13" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="libgegl-0.0-0.dll" SIZE="386567" CHECKSUM="0xD5012EAF" MODULE_TYPE="WIN32" PE_CHECKSUM="0x6CC46" LINKER_VERSION="0x10000" LINK_DATE="08/27/2008 17:56:40" UPTO_LINK_DATE="08/27/2008 17:56:40" /> <MATCHING_FILE NAME="libgimp-2.0-0.dll" SIZE="187960" CHECKSUM="0x34FB1049" MODULE_TYPE="WIN32" PE_CHECKSUM="0x38294" LINKER_VERSION="0x10000" LINK_DATE="10/09/2008 21:44:07" UPTO_LINK_DATE="10/09/2008 21:44:07" /> <MATCHING_FILE NAME="libgimpbase-2.0-0.dll" SIZE="76344" CHECKSUM="0x90EE451" MODULE_TYPE="WIN32" PE_CHECKSUM="0x1D04C" LINKER_VERSION="0x10000" LINK_DATE="10/09/2008 21:44:07" UPTO_LINK_DATE="10/09/2008 21:44:07" /> <MATCHING_FILE NAME="libgimpcolor-2.0-0.dll" SIZE="46136" CHECKSUM="0xEF3FD63F" MODULE_TYPE="WIN32" PE_CHECKSUM="0x18EFE" LINKER_VERSION="0x10000" LINK_DATE="10/09/2008 21:44:08" UPTO_LINK_DATE="10/09/2008 21:44:08" /> <MATCHING_FILE NAME="libgimpconfig-2.0-0.dll" SIZE="55352" CHECKSUM="0xFB68D149" MODULE_TYPE="WIN32" PE_CHECKSUM="0x16349" LINKER_VERSION="0x10000" LINK_DATE="10/09/2008 21:44:08" UPTO_LINK_DATE="10/09/2008 21:44:08" /> <MATCHING_FILE NAME="libgimpmath-2.0-0.dll" SIZE="19000" CHECKSUM="0xAB98996C" MODULE_TYPE="WIN32" PE_CHECKSUM="0x11304" LINKER_VERSION="0x10000" LINK_DATE="10/09/2008 21:44:08" UPTO_LINK_DATE="10/09/2008 21:44:08" /> <MATCHING_FILE NAME="libgimpmodule-2.0-0.dll" SIZE="17976" CHECKSUM="0xAF97B5" MODULE_TYPE="WIN32" PE_CHECKSUM="0x12C99" LINKER_VERSION="0x10000" LINK_DATE="10/09/2008 21:44:08" UPTO_LINK_DATE="10/09/2008 21:44:08" /> <MATCHING_FILE NAME="libgimpthumb-2.0-0.dll" SIZE="33848" CHECKSUM="0x79AAA437" MODULE_TYPE="WIN32" PE_CHECKSUM="0xD46B" LINKER_VERSION="0x10000" LINK_DATE="10/09/2008 21:44:08" UPTO_LINK_DATE="10/09/2008 21:44:08" /> <MATCHING_FILE NAME="libgimpui-2.0-0.dll" SIZE="112696" CHECKSUM="0x12DB02B4" MODULE_TYPE="WIN32" PE_CHECKSUM="0x1F458" LINKER_VERSION="0x10000" LINK_DATE="10/09/2008 21:44:08" UPTO_LINK_DATE="10/09/2008 21:44:08" /> <MATCHING_FILE NAME="libgimpwidgets-2.0-0.dll" SIZE="1152568" CHECKSUM="0xACFDFF7" MODULE_TYPE="WIN32" PE_CHECKSUM="0x122C55" LINKER_VERSION="0x10000" LINK_DATE="10/09/2008 21:44:08" UPTO_LINK_DATE="10/09/2008 21:44:08" /> <MATCHING_FILE NAME="libgio-2.0-0.dll" SIZE="304184" CHECKSUM="0xF963F991" MODULE_TYPE="WIN32" PE_CHECKSUM="0x4F269" LINKER_VERSION="0x10000" LINK_DATE="10/01/2008 16:33:43" UPTO_LINK_DATE="10/01/2008 16:33:43" /> <MATCHING_FILE NAME="libglib-2.0-0.dll" SIZE="860728" CHECKSUM="0x6745B9D7" BIN_FILE_VERSION="2.18.1.0" BIN_PRODUCT_VERSION="2.18.1.0" PRODUCT_VERSION="2.18.1" FILE_DESCRIPTION="GLib" COMPANY_NAME="The GLib developer community" PRODUCT_NAME="GLib" FILE_VERSION="2.18.1.0" ORIGINAL_FILENAME="libglib-2.0-0.dll" INTERNAL_NAME="libglib-2.0-0" LEGAL_COPYRIGHT="Copyright © 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald. Modified by the GLib Team and others 1997-2004." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xDE931" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="2.18.1.0" UPTO_BIN_PRODUCT_VERSION="2.18.1.0" LINK_DATE="10/01/2008 16:33:43" UPTO_LINK_DATE="10/01/2008 16:33:43" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="libgmodule-2.0-0.dll" SIZE="17976" CHECKSUM="0x59E370E4" BIN_FILE_VERSION="2.18.1.0" BIN_PRODUCT_VERSION="2.18.1.0" PRODUCT_VERSION="2.18.1" FILE_DESCRIPTION="GModule" COMPANY_NAME="The GLib developer community" PRODUCT_NAME="GLib" FILE_VERSION="2.18.1.0" ORIGINAL_FILENAME="libgmodule-2.0-0.dll" INTERNAL_NAME="libgmodule-2.0-0" LEGAL_COPYRIGHT="Copyright © 1998-2000 Tim Janik. Modified by the GLib Team and others 1998-2004." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x8479" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="2.18.1.0" UPTO_BIN_PRODUCT_VERSION="2.18.1.0" LINK_DATE="10/01/2008 16:33:43" UPTO_LINK_DATE="10/01/2008 16:33:43" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="libgobject-2.0-0.dll" SIZE="229944" CHECKSUM="0x5743CB30" BIN_FILE_VERSION="2.18.1.0" BIN_PRODUCT_VERSION="2.18.1.0" PRODUCT_VERSION="2.18.1" FILE_DESCRIPTION="GObject" COMPANY_NAME="The GLib developer community" PRODUCT_NAME="GLib" FILE_VERSION="2.18.1.0" ORIGINAL_FILENAME="libgobject-2.0-0.dll" INTERNAL_NAME="libgobject-2.0-0" LEGAL_COPYRIGHT="Copyright © 1998-2004 Tim Janik and Red Hat, Inc." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x3FAA5" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="2.18.1.0" UPTO_BIN_PRODUCT_VERSION="2.18.1.0" LINK_DATE="10/01/2008 16:33:43" UPTO_LINK_DATE="10/01/2008 16:33:43" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="libgsf-1-114.dll" SIZE="180744" CHECKSUM="0x6A32A6C3" MODULE_TYPE="WIN32" PE_CHECKSUM="0x37807" LINKER_VERSION="0x10000" LINK_DATE="08/22/2008 21:57:17" UPTO_LINK_DATE="08/22/2008 21:57:17" /> <MATCHING_FILE NAME="libgsf-win32-1-114.dll" SIZE="13320" CHECKSUM="0x2AE63D83" MODULE_TYPE="WIN32" PE_CHECKSUM="0xBF4D" LINKER_VERSION="0x10000" LINK_DATE="08/22/2008 21:57:17" UPTO_LINK_DATE="08/22/2008 21:57:17" /> <MATCHING_FILE NAME="libgthread-2.0-0.dll" SIZE="22584" CHECKSUM="0x324F8136" BIN_FILE_VERSION="2.18.1.0" BIN_PRODUCT_VERSION="2.18.1.0" PRODUCT_VERSION="2.18.1" FILE_DESCRIPTION="GThread" COMPANY_NAME="The GLib developer community" PRODUCT_NAME="GLib" FILE_VERSION="2.18.1.0" ORIGINAL_FILENAME="libgthread-2.0-0.dll" INTERNAL_NAME="libgthread-2.0-0" LEGAL_COPYRIGHT="Copyright © 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald. Copyright © 1998 Sebastian Wilhelmi. Modified by the GLib Team and others 1997-2004." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x1331C" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="2.18.1.0" UPTO_BIN_PRODUCT_VERSION="2.18.1.0" LINK_DATE="10/01/2008 16:33:44" UPTO_LINK_DATE="10/01/2008 16:33:44" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="libgtk-win32-2.0-0.dll" SIZE="3863096" CHECKSUM="0xC4E3D85D" BIN_FILE_VERSION="2.14.3.0" BIN_PRODUCT_VERSION="2.14.3.0" PRODUCT_VERSION="2.14.3" FILE_DESCRIPTION="GIMP Toolkit" COMPANY_NAME="The GTK developer community" PRODUCT_NAME="GTK+" FILE_VERSION="2.14.3.0" ORIGINAL_FILENAME="libgtk-win32-2.0-0.dll" INTERNAL_NAME="libgtk-win32-2.0-0" LEGAL_COPYRIGHT="Copyright © 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald. Modified by the GTK+ Team and others 1997-2005." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x3B9847" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="2.14.3.0" UPTO_BIN_PRODUCT_VERSION="2.14.3.0" LINK_DATE="10/09/2008 21:22:13" UPTO_LINK_DATE="10/09/2008 21:22:13" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="libgtkhtml-2-0.dll" SIZE="302088" CHECKSUM="0xFE56E61C" MODULE_TYPE="WIN32" PE_CHECKSUM="0x4D2C9" LINKER_VERSION="0x10000" LINK_DATE="08/22/2008 21:57:18" UPTO_LINK_DATE="08/22/2008 21:57:18" /> <MATCHING_FILE NAME="liblcms-1.dll" SIZE="177160" CHECKSUM="0xDE45FD7D" MODULE_TYPE="WIN32" PE_CHECKSUM="0x36DEA" LINKER_VERSION="0x10000" LINK_DATE="08/21/2008 23:06:00" UPTO_LINK_DATE="08/21/2008 23:06:00" /> <MATCHING_FILE NAME="libmng.1.dll" SIZE="412680" CHECKSUM="0x60990D98" MODULE_TYPE="WIN32" PE_CHECKSUM="0x70994" LINKER_VERSION="0x10000" LINK_DATE="08/21/2008 23:06:00" UPTO_LINK_DATE="08/21/2008 23:06:00" /> <MATCHING_FILE NAME="libpango-1.0-0.dll" SIZE="243768" CHECKSUM="0xEA205D12" BIN_FILE_VERSION="1.22.0.0" BIN_PRODUCT_VERSION="1.22.0.0" PRODUCT_VERSION="1.22.0" FILE_DESCRIPTION="Pango" COMPANY_NAME="Red Hat Software" PRODUCT_NAME="Pango" FILE_VERSION="1.22.0.0" ORIGINAL_FILENAME="pango-1.0-0.dll" INTERNAL_NAME="pango-1.0-0" LEGAL_COPYRIGHT="Copyright © 1999 Red Hat Software." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x3C3A9" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="1.22.0.0" UPTO_BIN_PRODUCT_VERSION="1.22.0.0" LINK_DATE="10/01/2008 16:33:45" UPTO_LINK_DATE="10/01/2008 16:33:45" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="libpangocairo-1.0-0.dll" SIZE="39480" CHECKSUM="0x34D51FE5" MODULE_TYPE="WIN32" PE_CHECKSUM="0x18FAD" LINKER_VERSION="0x10000" LINK_DATE="10/01/2008 16:33:45" UPTO_LINK_DATE="10/01/2008 16:33:45" /> <MATCHING_FILE NAME="libpangoft2-1.0-0.dll" SIZE="201784" CHECKSUM="0xCA871B83" BIN_FILE_VERSION="1.22.0.0" BIN_PRODUCT_VERSION="1.22.0.0" PRODUCT_VERSION="1.22.0" FILE_DESCRIPTION="PangoFT2" COMPANY_NAME="Red Hat Software" PRODUCT_NAME="PangoFT2" FILE_VERSION="1.22.0.0" ORIGINAL_FILENAME="pangoft2-1.0-0.dll" INTERNAL_NAME="pangoft2-1.0-0" LEGAL_COPYRIGHT="Copyright © 1999 Red Hat Software. Copyright © 2000 Tor Lillqvist" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x319AA" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="1.22.0.0" UPTO_BIN_PRODUCT_VERSION="1.22.0.0" LINK_DATE="10/01/2008 16:33:45" UPTO_LINK_DATE="10/01/2008 16:33:45" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="libpangowin32-1.0-0.dll" SIZE="57400" CHECKSUM="0xAA4BEC47" BIN_FILE_VERSION="1.22.0.0" BIN_PRODUCT_VERSION="1.22.0.0" PRODUCT_VERSION="1.22.0" FILE_DESCRIPTION="PangoWin32" COMPANY_NAME="Red Hat Software" PRODUCT_NAME="PangoWin32" FILE_VERSION="1.22.0.0" ORIGINAL_FILENAME="pangowin32-1.0-0.dll" INTERNAL_NAME="pangowin32-1.0-0" LEGAL_COPYRIGHT="Copyright © 1999 Red Hat Software. Copyright © 2000 Tor Lillqvist" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x1DAF3" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="1.22.0.0" UPTO_BIN_PRODUCT_VERSION="1.22.0.0" LINK_DATE="10/01/2008 16:33:45" UPTO_LINK_DATE="10/01/2008 16:33:45" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="libpng12-0.dll" SIZE="154168" CHECKSUM="0x9526B40F" MODULE_TYPE="WIN32" PE_CHECKSUM="0x2E5C6" LINKER_VERSION="0x10000" LINK_DATE="10/01/2008 16:33:45" UPTO_LINK_DATE="10/01/2008 16:33:45" /> <MATCHING_FILE NAME="libpoppler-2.dll" SIZE="1473032" CHECKSUM="0xD323D14" MODULE_TYPE="WIN32" PE_CHECKSUM="0x16C0FB" LINKER_VERSION="0x10000" LINK_DATE="08/22/2008 21:57:18" UPTO_LINK_DATE="08/22/2008 21:57:18" /> <MATCHING_FILE NAME="libpoppler-glib-2.dll" SIZE="86536" CHECKSUM="0xC965D388" MODULE_TYPE="WIN32" PE_CHECKSUM="0x1E689" LINKER_VERSION="0x10000" LINK_DATE="08/22/2008 21:57:18" UPTO_LINK_DATE="08/22/2008 21:57:18" /> <MATCHING_FILE NAME="librsvg-2-2.dll" SIZE="188424" CHECKSUM="0xFC573469" MODULE_TYPE="WIN32" PE_CHECKSUM="0x37A96" LINKER_VERSION="0x10000" LINK_DATE="08/22/2008 21:57:18" UPTO_LINK_DATE="08/22/2008 21:57:18" /> <MATCHING_FILE NAME="libtiff3.dll" SIZE="380472" CHECKSUM="0x9DCECA3C" BIN_FILE_VERSION="3.8.2.2278" BIN_PRODUCT_VERSION="3.8.2.2278" PRODUCT_VERSION="3.8.2.2278" FILE_DESCRIPTION="Libtiff3: library and tools for TIFF images" COMPANY_NAME="GnuWin32 <http://gnuwin32.sourceforge.net>" PRODUCT_NAME="Tiff" FILE_VERSION="3.8.2.2278" ORIGINAL_FILENAME="libtiff3.dll" INTERNAL_NAME="libtiff3" LEGAL_COPYRIGHT="© 2006 Sam Leffler, Silicon Graphics, Inc." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x66C55" LINKER_VERSION="0x30008" UPTO_BIN_FILE_VERSION="3.8.2.2278" UPTO_BIN_PRODUCT_VERSION="3.8.2.2278" LINK_DATE="10/01/2008 09:49:29" UPTO_LINK_DATE="10/01/2008 09:49:29" VER_LANGUAGE="English (United States) [0x409]" /> <MATCHING_FILE NAME="libwmf-0-2-7.dll" SIZE="388312" CHECKSUM="0xA3B5ED31" MODULE_TYPE="WIN32" PE_CHECKSUM="0x67D7A" LINKER_VERSION="0x10000" LINK_DATE="08/22/2008 22:16:07" UPTO_LINK_DATE="08/22/2008 22:16:07" /> <MATCHING_FILE NAME="libwmflite-0-2-7.dll" SIZE="144056" CHECKSUM="0xE4385ACA" MODULE_TYPE="WIN32" PE_CHECKSUM="0x31A2B" LINKER_VERSION="0x10000" LINK_DATE="08/22/2008 22:15:56" UPTO_LINK_DATE="08/22/2008 22:15:56" /> <MATCHING_FILE NAME="libxml2.dll" SIZE="967176" CHECKSUM="0xF72A642F" MODULE_TYPE="WIN32" PE_CHECKSUM="0xEEC04" LINKER_VERSION="0x20006" LINK_DATE="11/06/2006 23:18:48" UPTO_LINK_DATE="11/06/2006 23:18:48" /> <MATCHING_FILE NAME="libXpm-noX4.dll" SIZE="45576" CHECKSUM="0x74BEE0B3" MODULE_TYPE="WIN32" PE_CHECKSUM="0x1B07F" LINKER_VERSION="0x10000" LINK_DATE="08/21/2008 23:05:58" UPTO_LINK_DATE="08/21/2008 23:05:58" /> <MATCHING_FILE NAME="minigzip.exe" SIZE="8200" CHECKSUM="0x7C9DFFDA" MODULE_TYPE="WIN32" PE_CHECKSUM="0x7CD2" LINKER_VERSION="0x0" LINK_DATE="08/21/2008 23:05:58" UPTO_LINK_DATE="08/21/2008 23:05:58" /> <MATCHING_FILE NAME="pango-querymodules.exe" SIZE="12856" CHECKSUM="0x25338352" MODULE_TYPE="WIN32" PE_CHECKSUM="0x96B7" LINKER_VERSION="0x10000" LINK_DATE="10/01/2008 16:33:42" UPTO_LINK_DATE="10/01/2008 16:33:42" /> <MATCHING_FILE NAME="zlib1.dll" SIZE="59400" CHECKSUM="0xA9F4A31C" BIN_FILE_VERSION="1.2.2.0" BIN_PRODUCT_VERSION="1.2.2.0" PRODUCT_VERSION="1.2.2" FILE_DESCRIPTION="zlib data compression library" PRODUCT_NAME="zlib" FILE_VERSION="1.2.2" ORIGINAL_FILENAME="zlib1.dll" INTERNAL_NAME="zlib1.dll" LEGAL_COPYRIGHT="(C) 1995-2004 Jean-loup Gailly & Mark Adler" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x10004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x15F83" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.2.2.0" UPTO_BIN_PRODUCT_VERSION="1.2.2.0" LINK_DATE="10/05/2004 00:07:58" UPTO_LINK_DATE="10/05/2004 00:07:58" VER_LANGUAGE="English (United States) [0x409]" /> </EXE> <EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY"> <MATCHING_FILE NAME="kernel32.dll" SIZE="984576" CHECKSUM="0xF0B331F6" BIN_FILE_VERSION="5.1.2600.3119" BIN_PRODUCT_VERSION="5.1.2600.3119" PRODUCT_VERSION="5.1.2600.3119" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.3119 (xpsp_sp2_gdr.070416-1301)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xF9293" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.3119" UPTO_BIN_PRODUCT_VERSION="5.1.2600.3119" LINK_DATE="04/16/2007 15:52:53" UPTO_LINK_DATE="04/16/2007 15:52:53" VER_LANGUAGE="English (United States) [0x409]" /> </EXE> </DATABASE> Other information:
Duplicate of bug #314529, with Gaim being Pidgin now?
Ok, at least part of this was me not knowing the tools. It only crashes if you try to do the stroke when the path tool hasn't been set. I don't know the term for it, but when you start using the path tool you see a dashed line, then you click (or maybe double-click) to confirm the path and the line goes solid. If you try to stroke the path while the line is still dashed the Gimp crashes.
A dashed line with the Path tool? http://docs.gimp.org/en/gimp-tools-other.html#gimp-tool-path
Simpler steps to reproduce.... 1. New image, default settings, just press ok. 2. Select Paths Tool. 3. Click, drag and release on image (drawn path will have a straight dashed line) 4. Click Stroke Path button on Paths panel on the Toolbox. 5. Choose 'Stroke with a paint tool' in the dialogue that appears. 6. Application will crash when you confirm 'Stroke'. This is Gimp 2.6.1 on Windows.
Ah, yes, seem like the crash does happen if there is just a single point.
Created attachment 121970 [details] [review] single-point-stroke-crash-fix-2008-11-04.patch This fixes the crash. It introduce a new string however. Maybe commit only the NULL crash fix to gimp-2-6 and the rest only for trunk?
That patch would warn for each empty stroke, even though the vectors maybe contains strokeable strokes. Rather warn when nothing was stokred at all. The check for error being NULL should IMHO not be there, since it's just a workaround for broken code. I would be fine with the new string, after all there is a real crash to fix the the right thing is to return a message.
argh ...and the right thing to do is to return a messsage.
Moreover, stroke_boundary() in the same file needs the same fix.
Created attachment 122222 [details] [review] no-points-stroked-crash-fix-2008-11-08.patch AFAICS stroke_boundary() doesn't have this problem (there will always be at least two points to stroke for each segment). We *definitly* should check against error being NULL before we dereference it, it is user data loss at stake here.
No we shouldn't. We can't check each and every API call for keeping its promises. The promise here is: if FALSE is returned, the error is set. This is common practice all over glib and gtk+ and if any function doesn't keep that promise it's a bug that should be fixed. We dereferece return values all the time without checking them, it would just clutter the code.
I made the check for NULL less intrusive, but it's still there (as agreed over IRC) in the commit to trunk rev 27589 and gimp-2-6 rev 27590: 2008-11-09 Martin Nordholts <martinn@svn.gnome.org> Bug 558549 – Stroking a single-point path with a paint tool crashes GIMP * app/paint/gimppaintcore-stroke.c (gimp_paint_core_stroke_vectors): Return an error message if there were not enough points to stroke. * app/dialogs/stroke-dialog.c (stroke_dialog_response): Guard against crashes if an implementator forgets to set an error.
*** Bug 559332 has been marked as a duplicate of this bug. ***
*** Bug 587772 has been marked as a duplicate of this bug. ***