GNOME Bugzilla – Bug 606247
Crash using rectangular select tool with fixed aspect ratio on Windows XP
Last modified: 2011-10-07 16:45:25 UTC
With no images open for editing, trying to set the rectangular selection tool to any fixed aspect ratio crashes Gimp 2.6.8 on Windows XP, SP3. Steps to reproduce Open Gimp. Pick the rectangle select tool. Click in the text box that shows the default aspect ratio of "1:1". Hit the [Tab] key. Actual result Gimp crashes. Expected result No crash. I discovered the bug when I was trying to set a fixed aspect ratio of 4:3. I found that it's not necessary to check "Fixed" to crash Gimp. Build date and platform Gimp 2.6.8 (windows installer), Windows XP, SP3. Downloaded and installed this version of Gimp today to upgrade a previous installation of Gimp 2.4.something. Got it from the url http://downloads.sourceforge.net/gimp-win/gimp-2.6.8-i686-setup.exe. The timestamp on gimp-2.6.exe is "12/15/2009 11:19PM". Additional information Application event log records event ID 1000. Description is "Faulting application gimp-2.6.exe, version 0.0.0.0, faulting module libgimpwidgets-2.0-0.dll, version 0.0.0.0, fault address 0x00046e29."
Hi and thanks for the bug report! As far as I know 2.6.8 has debugging symbols, please install http://code.google.com/p/jrfonseca/wiki/DrMingw and attach the stack trace to the bug report. Thanks! (I'm not able to immediately reproduce this.)
Output of drmingw gimp-2.6.exe caused an Illegal Instruction at location 63ac6e29 in module libgimpwidgets-2.0-0.dll. Registers: eax=00000000 ebx=00000000 ecx=00000001 edx=63acb00c esi=00000001 edi=00000010 eip=63ac6e29 esp=0022b040 ebp=0000003a iopl=0 nv up ei ng nz na pe cy cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00200283 Call stack: 63AC6E29 libgimpwidgets-2.0-0.dll:63AC6E29 gimp_widgets_init
The stack must be corrupt, gimp_widgets_init() is only called once when GIMP is started. Are you having any system-wide installation of GTK+ that conflicts with the GTK+ version that comes with GIMP?
System-wide? Not sure. Dia, Gimp, Inkscape, Nmap, and Wireshark all install libgtk-win32-2.0-0.dll somewhere in their directory hierarchy. Other software includes GTK "stuff"--XEmacs, Graphviz, for example. I don't think any of these make a "system-wide" installation of GTK. Is there something specific I can look for to confirm that--a particular dll, directory, or something like that? (Do I faintly recall earlier versions of Gimp for Windows requiring a separate download and install of GTK+, or is that just my imagination?)
No that's correct, earlier GIMP installers had a separate GTK+ download. Look in C:\Windows\System32
No files with "gtk" or "gimp" in the filename in the System32 directory. From Cygwin's bash shell, "which libgtk-win32-2.0-0.dll" doesn't find a dll with that name. Neither does "which libgimpwidgets-2.0-0.dll". Windows versions of Graphviz and Nmap both have libgtk-win32-2.0-0.dll in their directories. And both Graphviz and Nmap were in the Windows system path. I removed them from the system path and from user variables for testing. Gimp still crashes; same steps to reproduce. Cygwin is not in the Windows system path. So I don't think any of its gtk libraries are likely to be the problem. I find only one copy of libgimpwidgets-2.0-0.dll on this computer. It's in Gimp's bin directory. Can you suggest anything else to look for?
As a follow-on step, I uninstalled gimp, deleted all its directories, and removed all references to gimp from the Windows registry. Reinstalled gimp 2.6.8. Same kind of crash; same steps to reproduce.
I can't reproduce this with 2.6.8 on XP SP3. Pressing Tab just switches the focus to the next element of the option, the portrait icon.
(In reply to comment #8) > I can't reproduce this with 2.6.8 on XP SP3. Pressing Tab just switches the > focus to the next element of the option, the portrait icon. Well, my download of Gimp was good--md5 sums matched. So it's probably not a problem with Gimp, per se. What's left? a) Our versions of XP SP3 are different. b) Weird hardware interaction (video card maybe?). c) Something else. a) If someone would care to email me a directory listing of their Windows directory and their system32 directory, I'll do a comparison to see if I can find any differences. Reply here first, please, so I don't get a deluge of directory listings. Windows "dir" or Cygwin "ls -lR" or "ls -lGR" is fine with me. b) I'll start looking into the firmware and drivers for the video card. c) Ideas? Thanks in advance.
I can confirm this bug. I have same config (WinXP SP3, Gimp 2.6.8). Gimp crashes every time when aspect ratio box lose input focus (both by keyboard or by mouse). Possible, error in the parsing of the text? Of course, I'm ready to send you Windows and System32 listing, if you wish.
Alexy, do you get the same corrupted stack trace as Mike?
output of drmingw: gimp-2.6.exe caused an Illegal Instruction at location 63ac6e29 in module libgimpwidgets-2.0-0.dll. Registers: eax=00000000 ebx=00000000 ecx=00000001 edx=63acb00c esi=00000001 edi=00000010 eip=63ac6e29 esp=0022b040 ebp=0000003a iopl=0 nv up ei ng nz na pe cy cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000283 Call stack: 63AC6E29 libgimpwidgets-2.0-0.dll:63AC6E29 gimp_widgets_init Seems all the same, except "efl"
I'm getting the same with GIMP 2.6.8 on Windows XP SP3. Output of drmingw: gimp-2.6.exe caused an Illegal Instruction at location 63ac6e29 in module libgimpwidgets-2.0-0.dll. Registers: eax=00000000 ebx=00000000 ecx=00000001 edx=63acb00c esi=00000001 edi=00000010 eip=63ac6e29 esp=0022b040 ebp=0000003a iopl=0 nv up ei ng nz na pe cy cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000283 Call stack: 63AC6E29 libgimpwidgets-2.0-0.dll:63AC6E29 gimp_widgets_init Also, my only copy of libgimpwidgets-2.0.0.dll is located in \Program Files\GIMP-2.0\bin. I installed GIMP 2.6.7 over 2.6.8 and the fixed aspect ratio select works again.
*** Bug 618077 has been marked as a duplicate of this bug. ***
People that are having this problem: Are you able to reproduce it on any Windows machine (using the same installer of course)? I'm not able to reproduce this in WINE using the 2.6.8 Windows build, decreasing the chance of an installer-build problem.
I installed gimp 2.6.8 on a Dell Vostro running Windows XP Pro, SP3. Gimp worked correctly on that computer. I had an earlier version of gimp on my computer before I installed 2.6.8. The Dell didn't have an earlier version installed.
Can someone confirm if this is the step-by-step to reproduce the problem on any computer (doesn't seem to work in Wine)?: 1. Install GIMP 2.6.7 2. Install GIMP 2.6.8 3. Perform step-by-step as described in original bug report
I'm the reporter of this issue. Trying this on my computer is not appropriate, right? I need to try this on some other computer, like the Dell Vostro (above). I can do that, but probably not for a few days. I have to disrupt accounting to try that.
I can confirm this bug. Gimp 2.6.8, Winxp SP3 clean install, only other application that uses GTK is Pidgin (and it uses a copy of GTK from its own install directory).
Bogdan: Did you confirm my step-by-step in comment 17 or just the bug in general?
Martin: I just tried your steps in comment 17 and the bug happens in 2.6.8 but not in 2.6.7.
Probably an installer issue then. Jernej: you put some additional magic in the 2.6.8 installer script if I recall correctly?
No, the only change in 2.6.8 install script is XP SP2 requirement (2.6.7 also allows Windows 2000 SP4). I can't reproduce this problem myself - I tried installing GIMP 2.6.7 in a clean XP SP3 VM, ran it once, tried selection with set aspect, then upgraded to 2.6.8 and tried selection with aspect ratio again, and there were no problems. What are the locale settings on the machines where the crash happens (specifically, I'm interested both in the settings on first tab in Control Panel's Regional and Language Options [Format and Location], and the last tab [Language for non-Unicode Programs]).
Created attachment 162982 [details] crash-info
Locale is "English (United States)" on both tabs. This is on a SP3 release from October 2009, if it matters. BTW, 2.7.0-release doesn't crash. Attached are the registers and stack dump for the crash. I tried compiling with debug info using cross-mingw but am stuck at babl.
There's a debug build of GIMP 2.6.9 available at <http://eternallybored.org/misc/gimp/gimp-2.6.9-debug-setup.exe> Can you check if GIMP also crashes if you enter any number in the zoom field in the image status bar (bug 622505)?
*** Bug 624661 has been marked as a duplicate of this bug. ***
*** Bug 627860 has been marked as a duplicate of this bug. ***
*** Bug 631057 has been marked as a duplicate of this bug. ***
*** Bug 608833 has been marked as a duplicate of this bug. ***
any news for this report?
*** Bug 641124 has been marked as a duplicate of this bug. ***
*** Bug 630604 has been marked as a duplicate of this bug. ***
Fabio: no news, can you provide a stack trace? It will *never* be fixed without.
*** Bug 637805 has been marked as a duplicate of this bug. ***
I have the same bug with GIMP 2.6.11 on Windows XP SP3 (English). When I've stuck Fix and entered ratio, size values, GIMP crashed.
It works well on Windows 7 Enterprise (French) 32 bits. Is there any solution for Windows XP SP3 ? Thanks.
Folks, can you please install http://code.google.com/p/jrfonseca/wiki/DrMingw and attach the stack trace to the bug report. Thanks!
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
This is the output I got from Dr. Mingw: gimp-2.6.exe caused an Illegal Instruction at location 0091ea34 in module libgimpwidgets-2.0-0.dll. Registers: eax=00000000 ebx=00000000 ecx=00000001 edx=0092300c esi=00000004 edi=00000010 eip=0091ea34 esp=0022b260 ebp=0000003a iopl=0 nv up ei ng nz na pe cy cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000283 Call stack: 0091EA34 libgimpwidgets-2.0-0.dll:0091EA34 gimp_widgets_init Win XP SP3, GIMP 2.6.11