[argyllcms] colprof -p -s NULL pointer error

  • From: Ilya Dedinsky <ded@xxxxxxxx>
  • To: Graeme Gill <argyllcms@xxxxxxxxxxxxx>
  • Date: Mon, 12 Jan 2015 06:01:36 +0300

Hi Graeme,

I use tweak\refine to adjust the profile, and when re-creating the profile with 
-p argument to
incorporate refine's abstract profile and -s argument to define source gamut, 
colprof dies with NULL
pointer access error. The same is with any abstract profile I tested, not only 
with
refine-generated. Resulting zero-length ICM profile file is created.

Here are colprof -v messages:
...
Creating rspl..
...
Creating rspl..
Fine tuning white and black point mapping
White is 99.985246 -1.755119 -1.023693, should be 100.000000 -1.713481 -1.041172
Black is 8.843374 1.976092 1.245106, should be 9.129119 2.002574 1.156792
After fine tuning:
White is 99.999999 -1.713481 -1.041172, should be 100.000000 -1.713481 -1.041172
Black is 9.129119 2.002574 1.156792, should be 9.129119 2.002574 1.156792
Creating B to A tables
Rev cache RAM = 1598 Mbytes
There is 1 rev cache instance with 1598 Mbytes limit
There are 2 rev cache instances with 799 Mbytes limit
100%
------->> When colprof is used without -p and -s/-S args, colprof continues:
Done B to A tables
Creating gamut boundary table
Done gamut boundary table
There is 1 rev cache instance with 1598 Mbytes limit
Profile check complete, peak err = 0.882630, avg err = 0.230943, RMS = 0.267950

I use Argyll CMS v.1.6.3 (2014/10/28) on Windows 7 Ultimate SP1 (7601) 64-bit.

The minimal configuration to reproduce error is:

targen -v -d2 -f1330 Chart0
printtarg -v -ii1 Chart0
chartread -v Chart0
colprof -v -sAnySourceProfile.icm -pAnyAbstractProfile.icm Chart0

Here are files to reproduce the error: http://gofile.me/2fK55/G5eeBaqz

When -s/-S options absent, everything is OK.

Regards,
Ilya Dedinsky

ded
--------------------------------------------------------------------------
Press RESET to continue...


Other related posts: