2.10 Exception/Crash on windows when using Levels, Curves
GIMP version: 2.10.4-2.10.6
Operating System: Windows 7 32bit
Package: Installer from gimp.org
Description of the bug
Opening tiff color image, 8 bit causes repeatable exception and crash (dialog box with "fatal error: unhandled exception" appears twice)
Please describe your issue with details. Add screenshot or other files if needed.
Reproduction
Is the bug reproducible? Yes, but not with all images.
- open image
- Run levels or curves, preview appears correct
- apply filter, two dialog boxes appear with unhandled exception
Additional information
While trying to reproduce, it with different images, I noticed that that it could be color-profile related. The image that causes the error has an embedded color profile which I decide to "keep", those who work don't. If, at load, I convert the image to GIMP sRGB it may work or not: levels start working, but curves still crash. I also tried using "brightness and contrast" and was able to get it crash with a profiled image, but in case of converted color profile it just "hangs" after having executed 70-80% of the filter.