GNOME Bugzilla – Bug 503851
Crash during opening file from different partition than GIMP is installed
Last modified: 2008-10-30 20:06:20 UTC
Steps to reproduce: 1. Install Gimp 2.4.2 in Windows from installer. 2. Try to open any type of file from diffrent partition than Gimp is installed. For example. You installed Gimp on C:\Program Files\Gimp and try to open file from partition d:\ or e:\ 3. During openning gimp crashes. When I copy files from d:\ or e:\ to the c:\ partition to any folder I can open them without any crashes. Stack trace: Other information: During crack Gimp display MessageBox with following informations: GNU Image Manipulation Program: gimp-2.4.exe - Application Error The exception Floating-point division by zero. (0xc000008e) occured in the application at location 0x66e9433c. Click on OK to terminate the program Click on CANCEL to debug the program
How exactly do you open the file? When exactly does it crash?
For example file I would like to open is: "e:\photos\my\testPhoto.jpg" I open the file in the following way: 1. Run the Gimp. 2. Go to File -> Open (Ctrl+O) 3. Navigate to this file by change the drive on the left panel, then on the middle panel I select "photos" directory then "my" directory and select "testPhoto.jpg" file. On the right panel I can see, a correct thumbnail of this photo. 4. I double click on that file or click on open and loading process starts... As the progress bar is at the end the errors occurs and she error message box shows me the error I reported. I will try run this on diffrent machine with Windows XP SP2 and check that is correct for different machine...
I chceck that on diffrent machine and it's working normally. I don't know what is with my system wrong. For sure the method to reproduce this situation is wrong because I've done it on other computer and works very well. Do you have any sugestions what do to?
Well, this is a weird bug. What version of Windows are you running on the system with the problem? Is there anything at all unusual about the partitions? And finally, have you tried this for any other type of file than jpeg? (Many jpeg files have embedded thumbnails, so gimp doesn't have to load the whole file in order to generate a thumbnail.)
First of all... I tried many types of files. Jpeg, bmp, gif, png. All kind of graphics files opening from partitions described above generate the same error. I have Windows XP Professional SP2 English version but I use Polish language in Gimp. I installed Gimp on default directory "c:\program files\gimp-2.0" My partition table: Now I'm in work and don't remember exacly my partition table but this is something like that. | Physical | Physical | Physical | Extended | | Windows (C) | Slackware | Swap | Swap (D) | Data (E) | Other (F) | | NTFS | | | FAT32 | FAT32 | FAT32 | Whole disc have 120GB...I have one disc In brackets I gave Labels that Windows XP "see" I use Swap on extended partition for Windows pagefile only...
I can't reproduce this problem.
I don't know that is useful but I noticed that when I open file via context menu in windows there is option open with gimp. I open via this and Gimp opens that file successfully. The same file from application can not be opened because of error described above. What is funny when I start gimp via open with I can normally open files inside this folder in with the file that I opened was. When I change folder and try to open files from diffrent locations (not c:\ partition) I get the same error described above... I discover that when I open files from D:\ , F:\ , usb disc there is no errors. Errors occurs only with my E:\ drive. I also confirm that the partition table that I described above is correct. Any Ideas. Why photos from E:\ partition opens normally via "open with" context menu but can not be opened normally in Gimp?
The thing that catches my attention is that the extended partitions are formatted as FAT32. I bet the Gtk+ file-chooser widget is somehow mishandling this. How large is your E:\ partition? The thing that would be *most* useful would be a stack trace obtained from GIMP when it crashes, but that isn't so easy to get on Windows unless you have programming tools available.
What programming tools I should need to print stack trace... Is Visual Studio good for that operation?
I think so. I have never tried to debug a program in Windows, but the general process should go like this: start GIMP, then start the debugger from Visual Studio, and "attach" to the GIMP program. Make GIMP crash. Then there should be something you can do to the debugger to cause it to print a stack trace. I have never used Visual Studio, so I can't tell you specifically how to do any of these things, but I think they ought to be possible. Again, how large is your E:\ partition?
My E:\ is 68,36 GB ------------------------------------------------------------------------------------- [Call stack] ------------------------------------------------------------------------------------- > icm32.dll!66e9433e() [Frames below may be incorrect and/or missing, no symbols loaded for icm32.dll] icm32.dll!66e928d4() icm32.dll!66e938d6() icm32.dll!66e94b30() libglib-2.0-0.dll!672c8428() icm32.dll!66e915ef() mscms.dll!73b35c55() mscms.dll!73b3608e() gdi32.dll!77f405ab() gdi32.dll!77f36e01() gdi32.dll!77f348a6() gdi32.dll!77f16cd3() libgdk-win32-2.0-0.dll!6b07497e() libgdk-win32-2.0-0.dll!6b065583() ntdll.dll!7c910551() ntdll.dll!7c91056d() libgthread-2.0-0.dll!64941b67() libgthread-2.0-0.dll!64941b67() libgdk-win32-2.0-0.dll!6b0629a6() libgdk-win32-2.0-0.dll!6b0557a0() libgdk-win32-2.0-0.dll!6b066e44() libglib-2.0-0.dll!672f7045() user32.dll!7e419199() user32.dll!7e418fd7() user32.dll!7e418feb() libgdk-win32-2.0-0.dll!6b062e20() libgdk-win32-2.0-0.dll!6b08aeb0() libglib-2.0-0.dll!672f732f() libgtk-win32-2.0-0.dll!606d0e60() libgtk-win32-2.0-0.dll!606d50c3() libgtk-win32-2.0-0.dll!606d53bd() libgtk-win32-2.0-0.dll!606d2727() libgobject-2.0-0.dll!62743c72() libgobject-2.0-0.dll!627632ba() libgobject-2.0-0.dll!62758524() libgobject-2.0-0.dll!62743995() libgobject-2.0-0.dll!62757099() libglib-2.0-0.dll!672d2449() libgobject-2.0-0.dll!62756b92() libgobject-2.0-0.dll!62747534() libgobject-2.0-0.dll!6276388a() libgobject-2.0-0.dll!62757f3e() libgobject-2.0-0.dll!6275148b() libgobject-2.0-0.dll!6274773b() libgthread-2.0-0.dll!649412b3() libgtk-win32-2.0-0.dll!606bfdde() libgtk-win32-2.0-0.dll!606d3c61() libgtk-win32-2.0-0.dll!606d3e50() libgthread-2.0-0.dll!649412b3() libglib-2.0-0.dll!672d2449() libgthread-2.0-0.dll!649412b3() libglib-2.0-0.dll!672cb329() libgobject-2.0-0.dll!627581b6() libgtk-win32-2.0-0.dll!606c05d6() libgobject-2.0-0.dll!627581b6() libgtk-win32-2.0-0.dll!606c5c94() libgtk-win32-2.0-0.dll!606d5069() libgobject-2.0-0.dll!627632ba() libgobject-2.0-0.dll!62743995() ntdll.dll!7c910551() ntdll.dll!7c91056d() libglib-2.0-0.dll!672d2449() libgobject-2.0-0.dll!62756b92() ntdll.dll!7c910551() ntdll.dll!7c91056d() libgobject-2.0-0.dll!62747534() libgobject-2.0-0.dll!6276388a() libgobject-2.0-0.dll!62757f3e() libgtk-win32-2.0-0.dll!606016bf() libgtk-win32-2.0-0.dll!606c4b2a() gimp-2.4.exe!00443bb7() gimp-2.4.exe!00444bdb() gimp-2.4.exe!004589c3() libgtk-win32-2.0-0.dll!606016bf() libgthread-2.0-0.dll!649412b3() libgobject-2.0-0.dll!6275608c() gimp-2.4.exe!004592ba() msvcrt.dll!77c54d87() gimp-2.4.exe!00446279() gimp-2.4.exe!004477d7() libgobject-2.0-0.dll!627581b6() libgtk-win32-2.0-0.dll!606c6b9b() gimp-2.4.exe!0044e5f1() gimp-2.4.exe!0040652d() gimp-2.4.exe!0058f629() gimp-2.4.exe!005a8579() gimp-2.4.exe!0043ef79() libgobject-2.0-0.dll!62743995() libglib-2.0-0.dll!672d2449() libgobject-2.0-0.dll!62757195() libgthread-2.0-0.dll!649412b3() libgobject-2.0-0.dll!62747534() libgobject-2.0-0.dll!6276388a() libgobject-2.0-0.dll!62757f3e() libgobject-2.0-0.dll!62743357() libgobject-2.0-0.dll!62743a37() libgobject-2.0-0.dll!627632ba() libglib-2.0-0.dll!672d2449() libgthread-2.0-0.dll!649412b3() libgobject-2.0-0.dll!62757099() libgthread-2.0-0.dll!649412b3() ntdll.dll!7c910732() ntdll.dll!7c910732() ntdll.dll!7c9106ab() ntdll.dll!7c9106eb() libglib-2.0-0.dll!672fb6e8() libglib-2.0-0.dll!672d2495() libgthread-2.0-0.dll!649412b3() libglib-2.0-0.dll!672cbfdf() libgthread-2.0-0.dll!649412b3() libglib-2.0-0.dll!672cb329() libgtk-win32-2.0-0.dll!604fadb5() libgobject-2.0-0.dll!627581b6() libgtk-win32-2.0-0.dll!604fb927() libgobject-2.0-0.dll!62743995() libgobject-2.0-0.dll!6274c5c9() libglib-2.0-0.dll!672d2449() libgobject-2.0-0.dll!62757195() libgobject-2.0-0.dll!6274172a() libgobject-2.0-0.dll!62747534() libgobject-2.0-0.dll!6276388a() libgobject-2.0-0.dll!62757f3e() libgdk-win32-2.0-0.dll!6b0554af() ntdll.dll!7c9105c8() ntdll.dll!7c910551() ntdll.dll!7c91056d() libgdk-win32-2.0-0.dll!6b0557a0() libgthread-2.0-0.dll!64941b67() msvcrt.dll!77c2c2e3() libgdk-win32-2.0-0.dll!6b0557a0() libgdk-win32-2.0-0.dll!6b05ce90() libgthread-2.0-0.dll!64941b67() libglib-2.0-0.dll!672f7df8() libgtk-win32-2.0-0.dll!606c48bb() libgdk-win32-2.0-0.dll!6b0557a0() libgdk-win32-2.0-0.dll!6b05d0bd() libgtk-win32-2.0-0.dll!606bcdbe() libgtk-win32-2.0-0.dll!606c48bb() libgobject-2.0-0.dll!627581b6() libgtk-win32-2.0-0.dll!604a5860() libgtk-win32-2.0-0.dll!604a78f8() libglib-2.0-0.dll!672dda33() libgtk-win32-2.0-0.dll!604a7923() libgdk-win32-2.0-0.dll!6b041838() libglib-2.0-0.dll!672dd9e8() libglib-2.0-0.dll!672e0b06() libglib-2.0-0.dll!672dda33() libgthread-2.0-0.dll!649412b3() libglib-2.0-0.dll!672de7f7() libgthread-2.0-0.dll!649412b3() libglib-2.0-0.dll!672dfcdb() libglib-2.0-0.dll!672dfeba() gimp-2.4.exe!005a5d4d() gimp-2.4.exe!00401592() gimp-2.4.exe!00402357() msvcrt.dll!77c2c2e3() msvcrt.dll!77c3b814() msvcrt.dll!77c3aead() gimp-2.4.exe!00401232() gimp-2.4.exe!0040128a() kernel32.dll!7c816fd7() gimp-2.4.exe!00401275() gimp-2.4.exe!0057005c() gimp-2.4.exe!0057005c() gimp-2.4.exe!00650074() gimp-2.4.exe!00650074() gimp-2.4.exe!0057005c() gimp-2.4.exe!0057005c() gimp-2.4.exe!00650074() gimp-2.4.exe!0057005c() gimp-2.4.exe!0057005c() gimp-2.4.exe!00650074() gimp-2.4.exe!0057005c() gimp-2.4.exe!0057005c() gimp-2.4.exe!00650074() gimp-2.4.exe!0057005c() gimp-2.4.exe!0057005c() gimp-2.4.exe!0057005c() gimp-2.4.exe!00650074() gimp-2.4.exe!0057005c() gimp-2.4.exe!00650074() gimp-2.4.exe!0057005c() gimp-2.4.exe!00650074() gimp-2.4.exe!0057005c() gimp-2.4.exe!00650074() ------------------------------------------------------------------------------------- [Output] ------------------------------------------------------------------------------------- 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\gimp-2.4.exe', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libgimpcolor-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libglib-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\iconv.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\intl.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libgobject-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libgimpmath-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libgimpmodule-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libgmodule-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libgimpbase-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libgimpthumb-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libgdk_pixbuf-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\jpeg62.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libpng13.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\zlib1.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libtiff3.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libgimpwidgets-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libgdk-win32-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libcairo-2.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libpango-1.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libpangocairo-1.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libpangowin32-1.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libgtk-win32-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libatk-1.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\comdlg32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\winspool.drv', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libgimpconfig-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libart_lgpl_2-2.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libfontconfig-1.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\freetype6.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libexpat.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libgthread-2.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\libpangoft2-1.0-0.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\secur32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\lib\gtk-2.0\2.10.0\engines\libwimp.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\usp10.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\mscms.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\icm32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\lib\gimp\2.0\modules\libcolorsel_cmyk.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\bin\liblcms-1.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\lib\gimp\2.0\modules\libcolorsel_triangle.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\lib\gimp\2.0\modules\libcolorsel_water.dll', Binary was not built with debug information. The thread 'Win32 Thread' (0x360) has exited with code 0 (0x0). 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\userenv.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\linkinfo.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\ntshrui.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\atl.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\clbcatq.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\comres.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\version.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\Program Files\Alcohol Soft\Alcohol 120\AXShlEx.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\olepro32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\Program Files\Alcohol Soft\Alcohol 120\alcoholx.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\cfgmgr32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\ntmarta.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\WINDOWS\system32\samlib.dll', No symbols loaded. 'gimp-2.4.exe': Loaded 'C:\Program Files\Alcohol Soft\Alcohol 120\Plugins\Images\bw5mount.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\Alcohol Soft\Alcohol 120\Plugins\Images\bwtmount.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\Alcohol Soft\Alcohol 120\Plugins\Images\ccdmount.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\Alcohol Soft\Alcohol 120\Plugins\Images\cuemount.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\Alcohol Soft\Alcohol 120\Plugins\Images\iszmount.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\Alcohol Soft\Alcohol 120\Plugins\Images\nrgmount.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\Alcohol Soft\Alcohol 120\Plugins\Images\pdimount.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\Alcohol Soft\Alcohol 120\Plugins\Images\pfcmount.dll', Binary was not built with debug information. 'gimp-2.4.exe': Loaded 'C:\Program Files\Alcohol Soft\Alcohol 120\pfctoc.dll', Binary was not built with debug information. The thread 'Win32 Thread' (0xacc) has exited with code 0 (0x0). The thread 'Win32 Thread' (0xad8) has exited with code 0 (0x0). The thread 'Win32 Thread' (0xaf4) has exited with code 0 (0x0). 'gimp-2.4.exe': Loaded 'C:\Program Files\GIMP-2.0\lib\gimp\2.0\modules\libcdisplay_lcms.dll', Binary was not built with debug information. First-chance exception at 0x66e9433e in gimp-2.4.exe: 0xC000008E: Floating-point division by zero. Unhandled exception at 0x66e9433e in gimp-2.4.exe: 0xC000008E: Floating-point division by zero. ------------------------------------------------------------------------------------- [A piece of Disassembly code (not all)] ------------------------------------------------------------------------------------- 66E94312 lea eax,[ebp-50h] 66E94315 push eax 66E94316 push dword ptr [ebp+0Ch] 66E94319 call 66E942CC 66E9431E lea eax,[ebp-38h] 66E94321 push eax 66E94322 push dword ptr [ebp+10h] 66E94325 call 66E942CC 66E9432A fld qword ptr ds:[66E91158h] 66E94330 fld qword ptr [ebp-38h] 66E94333 mov eax,dword ptr [ebp+14h] 66E94336 fadd qword ptr [ebp-50h] 66E94339 fadd qword ptr [ebp-68h] 66E9433C fdivr qword ptr [eax] 66E9433E fmul st,st(1) 66E94340 fstp qword ptr [ebp-10h] 66E94343 fld qword ptr [ebp-30h] 66E94346 fadd qword ptr [ebp-48h] 66E94349 fadd qword ptr [ebp-60h] 66E9434C fdivr qword ptr [eax+8] 66E9434F fmul st,st(1) 66E94351 fstp qword ptr [ebp-18h] 66E94354 fld qword ptr [ebp-28h] 66E94357 fadd qword ptr [ebp-40h] 66E9435A fadd qword ptr [ebp-58h] 66E9435D fdivr qword ptr [eax+10h] 66E94360 fmul st,st(1) <---- Here program stops 66E94362 fstp qword ptr [ebp-20h] 66E94365 fstp st(0) 66E94367 fld qword ptr [ebp-68h] 66E9436A fmul qword ptr [ebp-10h] 66E9436D fst qword ptr [ebp-8] 66E94370 fcomp qword ptr ds:[66E91150h] 66E94376 fld qword ptr ds:[66E91148h] 66E9437C fld qword ptr [ebp-8] 66E9437F fnstsw ax 66E94381 test ah,41h 66E94384 jne 66E9438A 66E94386 fadd st,st(1) 66E94388 jmp 66E9438C 66E9438A fsub st,st(1) 66E9438C push esi 66E9438D call 66ECB14A 66E94392 fld qword ptr [ebp-60h] 66E94395 fmul qword ptr [ebp-18h] 66E94398 mov esi,dword ptr [ebp+18h] 66E9439B mov dword ptr [esi],eax 66E9439D fstp qword ptr [ebp-8] 66E943A0 fld qword ptr ds:[66E91150h]
Hm... the division by zero problem caused by old delphi programs, like e.g. bug #321249?
Hah! This has actually been reported before, in bug #426366, which looks like exactly the same problem -- and in that report too, the problem occurred only for opening files from a FAT32 partition. Unfortunately we never did figure out what was wrong there, the problem just magically went away after the user made some changes. Anyway, although your stack trace is somewhat mumbo-jumbo as usual, it indicates that the crash may be occurring in the icm32.dll module, which is part of Windows. We have actually seen quite a number of crashes caused by problems with that module, sometimes due to bad versions being installed in the system path, sometimes for reasons that are unclear. If you look at the comments in bug #304326, they suggest something that you could try to see if it fixes the problem. It would be really nice to get a better understanding of this. (I am going to re-resolve bug #426366 as a duplicate of this one -- it is currently resolved as OBSOLETE.)
*** Bug 426366 has been marked as a duplicate of this bug. ***
I did a bit of research using Google. Apparently there is a mysterious bug in the version of icm32.dll included with Win XP that causes quite a number of programs to crash by getting inexplicable Divide by Zero errors in the function CMCheckColorsInGamut. These include some Gtk+ programs such as gaim and gmane, but also some non-gtk programs such as Winamp. The most useful information I found was at https://sourceforge.net/forum/message.php?msg_id=4138161 , which includes a stack trace with a full call stack from a program called pidgin. Here is the relevant part: Call stack: 0262433E C:\WINDOWS\system32\icm32.dll:0262433E CMCheckColorsInGamut 02624B30 C:\WINDOWS\system32\icm32.dll:02624B30 CMCheckColorsInGamut 026215EF C:\WINDOWS\system32\icm32.dll:026215EF CMCreateProfileW 73B35C55 C:\WINDOWS\system32\mscms.dll:73B35C55 CreateDeviceLinkProfile 73B3608E C:\WINDOWS\system32\mscms.dll:73B3608E CreateProfileFromLogColorSpaceW 77F3FF82 C:\WINDOWS\system32\GDI32.dll:77F3FF82 SetDeviceGammaRamp 77F36C91 C:\WINDOWS\system32\GDI32.dll:77F36C91 DdEntry19 77F34814 C:\WINDOWS\system32\GDI32.dll:77F34814 DdEntry19 6B061C86 C:\Program Files\Common Files\GTK\2.0\bin\libgdk-win32-2.0-0.dll:6B061C86 gdk_display_get_maximal_cursor_size 6B062100 C:\Program Files\Common Files\GTK\2.0\bin\libgdk-win32-2.0-0.dll:6B062100 gdk_cursor_new_from_pixbuf 6B08A4B0 C:\Program Files\Common Files\GTK\2.0\bin\libgdk-win32-2.0-0.dll:6B08A4B0 gdk_window_set_icon_list 606ABF60 C:\Program Files\Common Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:606ABF60 gtk_window_get_icon_name 606AC74B C:\Program Files\Common Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:606AC74B gtk_window_set_icon 620603A1 C:\Program Files\Gaim\gtkgaim.dll:620603A1 gray_stuff_out Thus, it seems that the code path leading to this starts with gtk_window_set_icon, which GIMP also calls when it sets up the display after loading an image, which would happen right at the time your program crashes. I do not, however, believe that this indicates any kind of bug in gimp or gtk+. It seems that as far as the Gtk programs are concerned, simply deleting icm32.dll from the system32 folder and the dllcache (or renaming them) makes them work correctly, however this may cause other things on your system to break, such as printing.
Bill, please do read the bugs which do mention the icm32.dll. We even have a more in-depth analysis about this somewhere in Bugzilla.
I deleted icm32.dll from System32 and dllchache folders and Works fine... I will check what is wrong with that file... I'll compare him with file on working machine... Maybe I will change them or maybe Windows will be more stable without that file :) Thanks for your help...
I don't think you'll find anything "wrong" with the file -- it is probably the one that came with Windows. It simply has a bug somewhere, and since this is Microsoft proprietary code, there is no possibility of locating the bug, only somehow avoiding it. (And as I said, you may find that deleting those files will cause other things not to work. icm32.dll is the library for Windows color management.) In any case, this is pretty clearly NOTGNOME. (Michael, there are about 20 related bug reports, and I have read most of them. I don't believe the cause of this problem has ever been clearly understood.)
I think that the cause of the problem has been clearly understood and is well documented in bug #316645. Read until the end of comment #9 in that bug report, especially the parts that are quoted. That explains very clearly where the problem comes from and also explains that there is no chance for GIMP to avoid it. This problem can only be solved by avoiding the broken DLLs or by using a version of these DLLs that does not contain the FLDCW bug. *** This bug has been marked as a duplicate of 316645 ***