[argyllcms] BUG: Profile generated by Pantone Huey crashes iccdump & other utils

  • From: Martin Ling <martin-argyll@xxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Thu, 18 Oct 2007 11:38:19 +0100

Hi,

The attached ICC profile was generated by the Pantone Huey software for
my laptop LCD. It crashes iccdump (from the Debian argyll-bin package,
version 0.60-0.1) with the attached trace. It seems to do the same thing
to many other Argyll utilities.

Some background that may help: the profile is successfully usable in
Photoshop, and by the command-line lcms utilities. I got crashes using
it with ufraw, which were traced to the lcms cmsTakeProductName call -
the profile does not apparently contain a product name, and removing the
call from ufraw fixed the problem for me.

There may be quirks to this profile but it does work, and I've yet to
see anything that confirms for sure it is not compliant with the ICC
standard. In any case there are probably going to be more Huey-generated
profiles in circulation before too long, so it would be good to fix this.


Martin
*** glibc detected *** iccdump: double free or corruption (!prev): 0x0804b5a0 
***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7e38ce5]
/lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7e3c780]
/usr/lib/libicc.so.0[0xb7f5e49d]
/usr/lib/libicc.so.0[0xb7f492df]
/usr/lib/libicc.so.0[0xb7f4874d]
iccdump(main+0x1c5)[0x8048be5]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7de5050]
iccdump[0x8048791]
======= Memory map: ========
08048000-0804a000 r-xp 00000000 08:03 52626      /usr/bin/iccdump
0804a000-0804b000 rw-p 00001000 08:03 52626      /usr/bin/iccdump
0804b000-0806c000 rw-p 0804b000 00:00 0          [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0 
b7c21000-b7d00000 ---p b7c21000 00:00 0 
b7dce000-b7dcf000 rw-p b7dce000 00:00 0 
b7dcf000-b7f11000 r-xp 00000000 08:03 717415     /lib/i686/cmov/libc-2.6.1.so
b7f11000-b7f12000 r--p 00142000 08:03 717415     /lib/i686/cmov/libc-2.6.1.so
b7f12000-b7f14000 rw-p 00143000 08:03 717415     /lib/i686/cmov/libc-2.6.1.so
b7f14000-b7f18000 rw-p b7f14000 00:00 0 
b7f18000-b7f3b000 r-xp 00000000 08:03 717423     /lib/i686/cmov/libm-2.6.1.so
b7f3b000-b7f3d000 rw-p 00023000 08:03 717423     /lib/i686/cmov/libm-2.6.1.so
b7f3d000-b7f66000 r-xp 00000000 08:03 446475     /usr/lib/libicc.so.0.0.0
b7f66000-b7f68000 rw-p 00028000 08:03 446475     /usr/lib/libicc.so.0.0.0
b7f74000-b7f7e000 r-xp 00000000 08:03 717452     /lib/libgcc_s.so.1
b7f7e000-b7f7f000 rw-p 00009000 08:03 717452     /lib/libgcc_s.so.1
b7f7f000-b7f82000 rw-p b7f7f000 00:00 0 
b7f82000-b7f9e000 r-xp 00000000 08:03 716740     /lib/ld-2.6.1.so
b7f9e000-b7fa0000 rw-p 0001b000 08:03 716740     /lib/ld-2.6.1.so
bf9de000-bf9f3000 rw-p bf9de000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]

Other related posts: