lcms2: crash in 'Fill and Stroke' if linked color profile is missing on local system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Mark Harmer |
Bug Description
Affects stable and trunk builds compiled with lcms2 support, with documents which have color profiles linked based on an absolute path which doesn't resolve on the local system.
Steps to reproduce:
1) launch current trunk (default prefs, new doc)
2) open attached document
3) draw a rect
4) open 'Fill & Stroke > Fill > CMS'
5) select the linked color profile "Fogra27L-
Expected result:
Inkscape is aware that the linked color profile doesn't exist on the local system, and either warns the user about it, or reverts to <None>.
Actual result: crash
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_
0x0000000104fc25fe in cmsDoTransform ()
Notes:
- Reproduced with Inkscape 0.48.4 (official package, uses lcms2) and local trunk build on Ubuntu 13.10 (VM, 64bit)
- Reproduced with local trunk builds on OS X 10.7.5 using lcms2 (2.4)
- Stable and trunk builds on OS X using lcms1 (default) do not crash if a missing color profile is selected in Fill & Stroke.
- Neither stable nor trunk using lcms2 output a message to the console about failing to locate linked color profiles (lcms1 does in stable, and did in trunk < 13107).
Related branches
Changed in inkscape: | |
status: | Confirmed → Triaged |
Changed in inkscape: | |
status: | Triaged → In Progress |
milestone: | none → 0.92 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Confirmed on Windows XP, Inkscape trunk revision 13248.