Keep getting 'lcms corrupted memory profile' - CentOS 5.9

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Stas.L
Posts: 4
Joined: 2013-12-28T10:55:37-07:00
Authentication code: 6789

Keep getting 'lcms corrupted memory profile' - CentOS 5.9

Post 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!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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/
Stas.L
Posts: 4
Joined: 2013-12-28T10:55:37-07:00
Authentication code: 6789

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

Post 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.
Stas.L
Posts: 4
Joined: 2013-12-28T10:55:37-07:00
Authentication code: 6789

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

Post 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!
OreoGrace
Posts: 1
Joined: 2016-01-05T10:33:17-07:00
Authentication code: 1151

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

Post 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?
Post Reply