[argyllcms] chartread 1.7.0 -H mode not working

  • From: "Ryan" <uryan_@xxxxxxxxxxx>
  • To: <argyllcms@xxxxxxxxxxxxx>
  • Date: Tue, 2 Jun 2015 22:09:02 +1000

Hi,
I recently updated to 1.7.0 on OS X 10.7.5 and chartread is crashing with Bus error 10 when I try to use high resolution mode

$ chartread -v -H C80_150G_Coated
Steps in each Pass = 24
Passes in each Strip = 43, 43, 43
Instrument Type: GretagMacbeth i1 Pro
Serial Number: 829241
Firmware version: 506
CPLD version: 999
Date manufactured: 6-2-2012
U.V. filter ?: No
Measure Ambient ?: No
Tot. Measurement Count: 5182
Remission Spot Count: 1937
Remission Scan Count: 1931
Date of last Remission spot cal: Fri May 29 18:12:05 2015
Remission Spot Count at last cal: 1903
Total lamp usage: 7452.047363
Bus error: 10

Standard (no -H) mode works fine, as does 1.6.3 in high resolution mode.

Some excerpts from the crash report:

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000102b45008

VM Regions Near 0x102b45008:
CoreServices 0000000102800000-0000000102b45000 [ 3348K] rw-/rwx SM=COW
--> Stack 0000000102b45000-0000000102b46000 [ 4K] ---/rwx SM=NUL
Stack 0000000102b46000-0000000102bc8000 [ 520K] rw-/rwx SM=COW

...

Thread 4 Crashed:
0 chartread 0x000000010003694f i1pro_create_hr + 3855
1 chartread 0x0000000100037bd5 i1pro_set_highres + 53
2 chartread 0x0000000100037cb8 i1pro_imp_set_mode + 216
3 chartread 0x000000010002dc34 i1pro_set_mode + 84
4 chartread 0x000000010000556f uimain + 13039
5 chartread 0x00000001000d749d callMain + 61
6 libsystem_c.dylib 0x00007fff8b64c8bf _pthread_start + 335
7 libsystem_c.dylib 0x00007fff8b64fb75 thread_start + 13

...

Thread 4 crashed with X86 Thread State (64-bit):
rax: 0x0000000000003288 rbx: 0x0000000102b41ce0 rcx: 0x0000000102b44f68 rdx: 0x3fa999999999999a
rdi: 0x000000000000004c rsi: 0x0000000000000024 rbp: 0x0000000102bc3710 rsp: 0x0000000102b41aa0
r8: 0x0000000104808330 r9: 0x0000000000000014 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x405fc00000000000 r13: 0x000000010085aa00 r14: 0x0000000103006e88 r15: 0x0000000103005e00
rip: 0x000000010003694f rfl: 0x0000000000010202 cr2: 0x0000000102b45008

Regards,
Ryan

Other related posts: