AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.06.28 09:23 "[Tiff] tiff 4.0.2 raw_decode test failing on ppc64", by Dinar Valeev
2012.07.03 17:53 "Re: [Tiff] tiff 4.0.2 raw_decode test failing on ppc64", by Tom Lane
2012.07.03 18:08 "Re: [Tiff] tiff 4.0.2 raw_decode test failing on ppc64", by Frank Warmerdam
2012.07.03 18:29 "Re: [Tiff] tiff 4.0.2 raw_decode test failing on ppc64", by Tom Lane
2012.07.04 16:26 "Re: [Tiff] tiff 4.0.2 raw_decode test failing on ppc64", by Bob Friesenhahn
2012.07.04 17:27 "Re: [Tiff] tiff 4.0.2 raw_decode test failing on ppc64", by Tom Lane
2012.07.04 19:49 "Re: [Tiff] tiff 4.0.2 raw_decode test failing on ppc64", by Bob Friesenhahn
2012.07.05 18:56 "Re: [Tiff] tiff 4.0.2 raw_decode test failing on ppc64", by Bob Friesenhahn
2012.07.05 21:54 "[Tiff] Crash in raw_decode with libjpeg 8d (was Re: tiff 4.0.2 raw_decode test failing on ppc64)", by Even Rouault
2012.07.06 16:17 "Re: [Tiff] Crash in raw_decode with libjpeg 8d (was Re: tiff 4.0.2 raw_decode test failing on ppc64)", by Bob Friesenhahn
2012.07.06 17:08 "Re: [Tiff] Crash in raw_decode with libjpeg 8d (was Re: tiff 4.0.2 raw_decode test failing on ppc64)", by Bob Friesenhahn
2012.07.03 18:09 "Re: [Tiff] tiff 4.0.2 raw_decode test failing on ppc64", by Dinar Valeev
2012.07.03 19:05 "Re: [Tiff] tiff 4.0.2 raw_decode test failing on ppc64", by Tom Lane
2012.07.03 19:25 "Re: [Tiff] tiff 4.0.2 raw_decode test failing on ppc64", by Dinar Valeev

2012.07.04 19:49 "Re: [Tiff] tiff 4.0.2 raw_decode test failing on ppc64", by Bob Friesenhahn

It is wise to assure that the test suite passes on both big and little endian machines before preparing any release.

FWIW, HEAD does pass as of yesterday on my old G4 Mac (32-bit bigendian).

Today I just get a core dump with 32-bit x86:

Core was generated by `/home/bfriesen/build/tiff-head-32bit/test/.libs/raw_decode'.

Program terminated with signal 11, Segmentation fault.

#0 0xfee58a65 in jpeg_idct_16x16 (cinfo=0x8062db0, compptr=0x806a954, coef_block=0x806eac4, output_buf=0x806cc2c, output_col=0) at /home/bfriesen/src/graphics/jpeg-8a/jidctint.c:2762

2762 & RANGE_MASK];
(gdb) bt

#0 0xfee58a65 in jpeg_idct_16x16 (cinfo=0x8062db0, compptr=0x806a954, coef_block=0x806eac4, output_buf=0x806cc2c, output_col=0) at /home/bfriesen/src/graphics/jpeg-8a/jidctint.c:2762

#1 0xfee297e6 in decompress_onepass (cinfo=0x8062db0, output_buf=0x8063084)
     at /home/bfriesen/src/graphics/jpeg-8a/jdcoefct.c:199
#2 0xfee27594 in jpeg_read_raw_data (cinfo=0x8062db0, data=0x8063084, max_lines=16)
     at /home/bfriesen/src/graphics/jpeg-8a/jdapistd.c:210
#3 0xfef27de2 in TIFFjpeg_read_raw_data (sp=0x8062db0, data=0x8063084, max_lines=16)
     at /home/bfriesen/src/graphics/libtiff/libtiff/tif_jpeg.c:349
#4 0xfef2805e in JPEGDecodeRaw (tif=0x8061fc8, buf=0x8064188 "", cc=24576, s=0)
     at /home/bfriesen/src/graphics/libtiff/libtiff/tif_jpeg.c:1337
#5 0xfef3d9da in TIFFReadEncodedTile (tif=0x8061fc8, tile=9, buf=0x8064188, size=24576)
     at /home/bfriesen/src/graphics/libtiff/libtiff/tif_read.c:668

#6 0x0805146b in main (argc=1, argv=0x8046a9c) at /home/bfriesen/src/graphics/libtiff/test/raw_decode.c:155

I did add a change so that the test can be run with builddir != srcdir

but this core dump seems unlikely to be due to those changes.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/