-
Bug
-
Resolution: Not an Issue
-
P4
-
9
Please try to load the image attached with 'LoadTest.java' from JDK-8144997
Output:
== Loading d664a73588796b59191ad8628065f04a.tif ==
NOK: read() Data segment out of stream
javax.imageio.IIOException: Data segment out of stream
at com.sun.imageio.plugins.tiff.TIFFIFD.checkFieldOffsets(TIFFIFD.java:394)
at com.sun.imageio.plugins.tiff.TIFFIFD.initialize(TIFFIFD.java:622)
at com.sun.imageio.plugins.tiff.TIFFImageMetadata.initializeFromStream(TIFFImageMetadata.java:87)
at com.sun.imageio.plugins.tiff.TIFFImageReader.readMetadata(TIFFImageReader.java:306)
at com.sun.imageio.plugins.tiff.TIFFImageReader.seekToImage(TIFFImageReader.java:280)
at com.sun.imageio.plugins.tiff.TIFFImageReader.prepareRead(TIFFImageReader.java:921)
at com.sun.imageio.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1096)
at javax.imageio.ImageReader.read(ImageReader.java:939)
at LoadTest.Load(LoadTest.java:59)
at LoadTest.main(LoadTest.java:78)
At the same time the image could be loaded with Mac OS X Preview or GNOME Image Viewer.
Tested on Mac OS X 10.01 with recent (Dec. 09) build of the client repository.
The image is a part of 'imagetestsuite' (https://code.google.com/p/imagetestsuite/downloads/list)
Output:
== Loading d664a73588796b59191ad8628065f04a.tif ==
NOK: read() Data segment out of stream
javax.imageio.IIOException: Data segment out of stream
at com.sun.imageio.plugins.tiff.TIFFIFD.checkFieldOffsets(TIFFIFD.java:394)
at com.sun.imageio.plugins.tiff.TIFFIFD.initialize(TIFFIFD.java:622)
at com.sun.imageio.plugins.tiff.TIFFImageMetadata.initializeFromStream(TIFFImageMetadata.java:87)
at com.sun.imageio.plugins.tiff.TIFFImageReader.readMetadata(TIFFImageReader.java:306)
at com.sun.imageio.plugins.tiff.TIFFImageReader.seekToImage(TIFFImageReader.java:280)
at com.sun.imageio.plugins.tiff.TIFFImageReader.prepareRead(TIFFImageReader.java:921)
at com.sun.imageio.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1096)
at javax.imageio.ImageReader.read(ImageReader.java:939)
at LoadTest.Load(LoadTest.java:59)
at LoadTest.main(LoadTest.java:78)
At the same time the image could be loaded with Mac OS X Preview or GNOME Image Viewer.
Tested on Mac OS X 10.01 with recent (Dec. 09) build of the client repository.
The image is a part of 'imagetestsuite' (https://code.google.com/p/imagetestsuite/downloads/list)