Failing validate-formats-* tests

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
neuron
Posts: 12
Joined: 2016-06-24T05:03:47-07:00
Authentication code: 1151

Failing validate-formats-* tests

Post by neuron » 2016-06-24T07:36:10-07:00

Hi,

FAIL: tests/validate-formats-disk.tap 1
FAIL: tests/validate-formats-map.tap 1
FAIL: tests/validate-formats-memory.tap 1

Continuing my journey to update Solaris 10 ImageMagick, these three tests fail at anything concerning TIFF/PTIF, like

test 429: PTIF/Undefined/TrueColor/8-bits... fail @ tests/validate.c/tests/validate.c/1443.
test 438: PTIF/Undefined/ColorSeparationAlpha/8-bits... fail @ tests/validate.c/tests/validate.c/1712.
test 542: TIFF/Undefined/ColorSeparationAlpha/8-bits... fail @ tests/validate.c/tests/validate.c/1712.

with errors like:
validate: Not a TIFF file, bad magic number 12080 (0x2f30). `/var/tmp/magick-2449EI2ukumZaiYe' @ error/tiff.c/coders/tiff.c/561.
validate: Not a TIFF file, bad magic number 12080 (0x2f30). `/var/tmp/magick-2449EI2ukumZaiYe' @ error/tiff.c/coders/tiff.c/561.
validate: Not a TIFF file, bad magic number 12335 (0x302f). `/var/tmp/magick-2449EI2ukumZaiYe' @ error/tiff.c/coders/tiff.c/561.
validate: Not a TIFF file, bad magic number 65327 (0xff2f). `/var/tmp/magick-2449EI2ukumZaiYe' @ error/tiff.c/coders/tiff.c/561.
validate: Not a TIFF file, bad magic number 3331 (0xd03). `/var/tmp/magick-2449EI2ukumZaiYe' @ error/tiff.c/coders/tiff.c/561.
validate: Not a TIFF file, bad magic number 65283 (0xff03). `/var/tmp/magick-2449EI2ukumZaiYe' @ error/tiff.c/coders/tiff.c/561.
validate: Not a TIFF file, bad magic number 65283 (0xff03). `/var/tmp/magick-2449EI2ukumZaiYe' @ error/tiff.c/coders/tiff.c/561.
validate: Not a TIFF file, bad magic number 0 (0x0). `/var/tmp/magick-2449EI2ukumZaiYe' @ error/tiff.c/coders/tiff.c/561.
validate: Not a TIFF file, bad magic number 1280 (0x500). `/var/tmp/magick-2449EI2ukumZaiYe' @ error/tiff.c/coders/tiff.c/561.
validate: Not a TIFF file, bad magic number 1280 (0x500). `/var/tmp/magick-2449EI2ukumZaiYe' @ error/tiff.c/coders/tiff.c/561.
validate: Not a TIFF file, bad magic number 19248 (0x4b30). `/var/tmp/magick-2449EI2ukumZaiYe' @ error/tiff.c/coders/tiff.c/561.


I suspect that this might be because the system libtiff library might be outdated. I can see that validate performs number of operations on the temporary image, but somehow I missed where the image is taken from? Is it somewhere constructed from scratch, or some template is used?

Thank you
__
Vlad

neuron
Posts: 12
Joined: 2016-06-24T05:03:47-07:00
Authentication code: 1151

Re: Failing validate-formats-* tests

Post by neuron » 2016-07-01T06:40:08-07:00

Right, so the problem was in the libtiff library which was very old on the build environment. Sorry for the noise.

Post Reply