Gimp crashes manipulating layers of images saved with come ICC color profiles
I get crashes when working with images exported from RawTherapee (5.8) or ART (1.4) with RTv4 color profiles, when doing some operations on layers.
To reproduce:
- save an image in RT/ART with RTv4 profile (I tried sRGB and Rec2020, same behaviour) ; it doesn't matter whether you export to TIFF or JPG, same behaviour
- open the image in Gimp (tried Gimp 2.10.18 and Gimp compiled form git, same behaviour)
- when prompted about the profile conversion, click on "keep" to keep the embedded color profile
- duplicate the base layer
- select the paint brush and paint over the second layer -> instantaneous crash
From the Gimp debug report I get nothing but:
> fatal error: Segmentation fault
Stack trace:
# Stack traces obtained from PID 724435 - Thread 724435 #
No threads.
If I choose to convert the color profile to Gimp's built-in sRGB, no crash. If I export the image from RT/ART with an RTv2 profile, no crash.
Edited by Sébastien Guyader