Bug 691401

Summary: spurious "cmm error : Corrupted memory profile" message
Product: Ghostscript Reporter: Hin-Tak Leung <htl10>
Component: ColorAssignee: Michael Vrhel <michael.vrhel>
Status: RESOLVED FIXED    
Severity: blocker CC: henry.stiles
Priority: P2    
Version: master   
Hardware: PC   
OS: All   
Customer: Word Size: ---

Description Hin-Tak Leung 2010-06-20 03:22:58 UTC
opening examples/annots.pdf with either windows build or linux build,

bin\gswin32c.exe examples/annots.pdf

give some spurious messages about corrupted memory profile:


-----------
...
Page 2
>>showpage, press <return> to continue<<

Page 3
  .\base\gsicc_littlecms.c:24: gscms_error(): cmm error : Corrupted memory profile
| .\psi\zicc.c:122: seticc(): installing the profile

>>showpage, press <return> to continue<<
Page 4
  .\base\gsicc_littlecms.c:24: gscms_error(): cmm error : Corrupted memory profile
| .\psi\zicc.c:122: seticc(): installing the profile
>>showpage, press <return> to continue<<

Page 5
  .\base\gsicc_littlecms.c:24: gscms_error(): cmm error : Corrupted memory profile
| .\psi\zicc.c:122: seticc(): installing the profile
>>showpage, press <return> to continue<<
...
--------------

The was first observed with the borland build but then I checked with the linux build and also all the older icc-enabled build I have, all have the same problem.

pre-merge icc r11301 and post-merge 11340 and current-ish head (11392) all shows the same symptom. The error message seems harmless, but sounds alarming. Probably should be suppressed somehow.
Comment 1 Michael Vrhel 2010-06-28 10:52:48 UTC
Fixed so that lcms error messages only occur with debug build.  rev 11438