Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
GIMP
GIMP
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,649
    • Issues 2,649
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 35
    • Merge Requests 35
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • GIMPGIMP
  • Issues
  • #1650

Closed
Open
Opened Jun 15, 2018 by Andrew Farris@afarris01

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:

gimp_crash_xbm

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

Reproduction

Is the bug reproducible? Always

Reproduction steps:

  1. Launch GMIP 2.10.2
  2. Open .xcf file
  3. Hide background layer so there is transparency on the canvas
  4. Go to "File > Export" or "File > Export As"
  5. Change the extension in the filename to .xbm
  6. Click "Export"

Expected result:

XBM Export dialog pops up, offering export options for the new file.

Actual result:

MSVC++ Runtime Error, as described above, and GIMP freezes.

Additional information

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.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gimp#1650