[argyllcms] Re: Wanted: Spyder 3 and ColorMunki Beta Testers

  • From: Markku Kolkka <markkuk@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Tue, 3 Mar 2009 19:16:52 +0200

I decided to test the beta to see if it fixes the problem I 
reported earlier: 
//www.freelists.org/post/argyllcms/Dispcal-lockup-on-Fedora-8-x86-64

However, this time dispcal crashes and dumps core at the start of 
measurement:

$ ./dispcal -v -R -yl -H -N
Setting up the instrument
Instrument Type:   Eye-One Pro
Serial Number:     317748
Firmware version:  503
CPLD version:      999
Date manufactured: 19-10-2007
U.V. filter ?:     No
Measure Ambient ?: Yes
Tot. Measurement Count:           4784
Remission Spot Count:             118
Remission Scan Count:             17
Date of last Remission spot cal:  Mon Feb  9 20:58:35 2009
Remission Spot Count at last cal: 106
Total lamp usage:                 175.397812
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
~1 cw[0] = 0.000000
Place instrument on test window.
Hit Esc, ^C or Q to give up, any other key to continue:
*** glibc detected *** ./dispcal: corrupted double-linked list: 
0x00000000013e19f0 ***

AFAIK that message means that the code writes outside of a 
malloc():ed memory block.

Here's the backtrace from gdb:

(gdb) bt
#0  0x00000031c3a30ec5 in raise () from /lib64/libc.so.6
#1  0x00000031c3a32970 in abort () from /lib64/libc.so.6
#2  0x00000031c3a6b0db in __libc_message () from /lib64/libc.so.6
#3  0x00000031c3a72724 in _int_free () from /lib64/libc.so.6
#4  0x00000031c3a75f2c in free () from /lib64/libc.so.6
#5  0x0000000000520954 in free_dmatrix (m=0x13dbff8, nrl=0, 
nrh=1, ncl=0,
    nch=127) at numlib/numsup.c:366
#6  0x00000000004403f9 in i1pro_whitemeasure (p=0x137d460, 
abswav1=0x0,
    abswav2=0x0, absraw=0x13e0a50, optscale=0x7fff698724c0, 
nummeas=2,
    inttime=0x1376360, gainmode=0, targoscale=1, ltocmode=0)
    at spectro/i1pro_imp.c:2798
#7  0x000000000043bdb4 in i1pro_imp_calibrate (p=0x137d460,
    caltp=inst_calt_disp_int_time, calc=0x7fff69873924, 
id=0x7fff69873930 "")
    at spectro/i1pro_imp.c:1399
#8  0x0000000000437191 in i1pro_calibrate (pp=0x137d460,
    calt=inst_calt_disp_int_time, calc=0x7fff69873924, 
id=0x7fff69873930 "")
    at spectro/i1pro.c:232
#9  0x000000000041972d in disprd_read (p=0x137f050, 
cols=0x7fff698920f0,
    npat=3, spat=1, tpat=3, acr=1, tc=0) at spectro/dispsup.c:540
#10 0x0000000000409b9f in main (argc=6, argv=0x7fff6989ab08)
    at spectro/dispcal.c:1777

-- 
 Markku Kolkka
 markku.kolkka@xxxxxx

Other related posts: