Crash on Exporting xbm with transparency
GIMP version: 2.10.2
Operating System: Windows 7 x64
Package: Installer from gimp.org (https://download.gimp.org/mirror/pub/gimp/v2.10/windows/gimp-2.10.2-setup.exe)
Description of the bug
Yesterday I was attempting to create some icon files for a simple Tk program in the XBM format. When I attempted to export my icon to .xbm format, before the export options dialog pops up (i.e. immediately after pressing the "Export" button in the export dialog) I get a MSVC++ Runtime Library Error:
After this, GIMP freezes and must be forcibly closed and reloaded. After some quick testing, I found this only happens when there is transparency on the canvas when exporting the xbm. If the background is solid-colored, then the crash does not occur.
Here is the file I was attempting to export as XBM. Each layer is a different icon, with the background on a separate layer: icons.xcf
Is the bug reproducible? Always
- Launch GMIP 2.10.2
- Open .xcf file
- Hide background layer so there is transparency on the canvas
- Go to "File > Export" or "File > Export As"
- Change the extension in the filename to .xbm
- Click "Export"
XBM Export dialog pops up, offering export options for the new file.
MSVC++ Runtime Error, as described above, and GIMP freezes.
I attempted to get a log file of what is going on before submitting this, but I was not able to figure out how to enable debugging mode, or find any standard log files, so I have bypassed this step. If needed, I'm happy to provide any additional information that may be required.