GNOME Bugzilla – Bug 512529
icc profile references to nonexistent files crash lcms plug-in
Last modified: 2008-01-28 17:29:52 UTC
steps to reproduce: 1) create an image 2) assign a profile to that image 3) save the image 4) move or delete the profile 5) try to reassign the profile. lcms plugin crashes with a message like this: " Assign Color Profile Message Could not open '/home/ion/Desktop/sRGB_v4_ICC_preference.icc' for reading: Failed to open file '/home/ion/Desktop/sRGB_v4_ICC_preference.icc': open() failed: No such file or directory Message repeated once Plug-in crashed: "lcms" (/home/ion/.gimp-2.5/baseline-plugins/lcms) The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side " IMO, having an invalid profile should be treated the same as having no profile. The current behaviour blocks users who do not have a particular profile on their system from changing the profile of or converting an image which uses that profile.
Fixed in both branches. 2008-01-28 Sven Neumann <sven@gimp.org> * plug-ins/common/lcms.c (lcms_dialog): fixed crash on missing profile (bug #512529).