Hey,
I sometimes get an error with dispread on Ubuntu 16.04 LTS (this is the
latest Ubuntu release), with Argyll built with GCC 5.3.1, with the build
patch I sent earlier.
The weird thing is this doesn't seem to happen with the i1 Display Pro, but
I do consistently get this with the ColorMunki Smile:
*** Error in `/usr/bin/dispread': free(): invalid next size (fast):
0x00000000009bab70 ***
Thread 1 "dispread" received signal SIGABRT, Aborted.
0x00007ffff5cac418 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff5cac418 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff5cae01a in __GI_abort () at abort.c:89
#2 0x00007ffff5cee72a in __libc_message (do_abort=do_abort@entry=2,
fmt=fmt@entry=0x7ffff5e076b0 "*** Error in `%s': %s: 0x%s ***\n")
at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ffff5cf6f4a in malloc_printerr (ar_ptr=<optimized out>,
ptr=<optimized out>,
str=0x7ffff5e07728 "free(): invalid next size (fast)", action=3) at
malloc.c:5007
#4 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at
malloc.c:3868
#5 0x00007ffff5cfaabc in __GI___libc_free (mem=<optimized out>) at
malloc.c:2969
#6 0x00007ffff76be16d in _XFreeDisplayStructure () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#7 0x00007ffff76ab67f in XCloseDisplay () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#8 0x0000000000410e50 in dispwin_del (p=0x9f04e0) at spectro/dispwin.c:4077
#9 0x000000000040cc21 in disprd_del (p=0x9d1a80) at spectro/dispsup.c:2128
#10 0x00000000004092fa in main (argc=<optimized out>, argv=<optimized out>)
at spectro/dispread.c:937
I can reproduce this with both Argyll 1.8.3 and 1.8.5_beta built from
source with the gcc5 patch.
Please let me know if you need me to test anything.
Regards,
Pascal de Bruijn