Page 1 of 1

Keep getting 'lcms corrupted memory profile' - CentOS 5.9

Posted: 2014-07-15T11:15:14-07:00
by Stas.L
Hi!

(This is probably not a bug, Windows version works flawlessly)

I have a 32-bit server with CentOS 5.9
IM version: "ImageMagick 6.8.9-5 Q16 i686 2014-06-27", regular install from RPM package

I keep getting this for certain pdf and jpeg files (identify and convert):

Code: Select all

lcms: Error #12288; Corrupted memory profile
I have a suspicion that it only fails for CMYK files, or files with US Web coated SWOP profile

This is one of the files that get the error
https://www.dropbox.com/s/dkokun5tmm2kl ... 231130.jpg (700 KB)

And this is just an empty CMYK jpeg I quickly made in PS. Same error.
https://www.dropbox.com/s/329vtxh82jdiu20/cmyk.jpg (600 KB)

Please, please help!
There's probably something in the config files that I might have missed.

Thanks!

Re: Keep getting 'lcms corrupted memory profile' - CentOS 5.

Posted: 2014-07-15T11:31:22-07:00
by fmw42
I suspect you have a corrupt or old version of lcms. I suggest you upgrade it and possibly to lcms2.

Your file works fine for me on IM 6.8.9.5 Q16 Mac OSX.

see
http://www.littlecms.com/

Re: Keep getting 'lcms corrupted memory profile' - CentOS 5.

Posted: 2014-07-15T12:52:59-07:00
by Stas.L
Thanks! I'm going to try that.

lcms version I have is:
1.18-0.1.beta1.el5_3.2 (beta!)

And Is latest for centos 5.10

Of course when I try to get version 1.19, there are glibc and other dependency issues, because it's for centos 6
And I really don't want to install newer CentOS just for that.

Maybe it would be easier just to get older version of Magick.

Re: Keep getting 'lcms corrupted memory profile' - CentOS 5.

Posted: 2014-07-15T15:08:44-07:00
by Stas.L
Did not find any usable RPM packages for my OS, so I just installed LCMS 2.6 from source and it worked.

Thanks a lot for the hint, fmw42!

Issue closed!

Re: Keep getting 'lcms corrupted memory profile' - CentOS 5.

Posted: 2016-01-05T11:34:30-07:00
by OreoGrace
fmmw42 wrote:I suspect you have a corrupt or old version of lcms. I suggest you upgrade it and possibly to lcms2.
Staas.L wrote:Thanks! I'm going to try that.

lcms version I have is:
1.18-0.1.beta1.el5_3.2 (beta!)

And Is latest for centos 5.10

Of course when I try to get version 1.19, there are glibc and the vigrx plus with the other dependency issues, because it's for centos 6
And I really don't want to install newer CentOS just for that.

Maybe it would be easier just to get older version of Magick.
I think mine may be corrupt too. Do I need to back anything up before upgrading LCMS?