jhove icon indicating copy to clipboard operation
jhove copied to clipboard

JHOVE never ends with File m4-336db1cd76254717eb50a8602b651fbf

Open friesey opened this issue 8 years ago • 4 comments

Dev Effort

2D

Description

Dear Folks, with the file "sm4-336db1cd76254717eb50a8602b651fbf" JHOVE just never comes to any end or finding - neither in my own Java which uses JHOVE as a library nor with the JHOVE GUI. There is no error message, it just keeps going forever. Sorry I cannot provide more information. Best, Yvonne

friesey avatar Jan 05 '17 13:01 friesey

@friesey do you have a copy of this file for testing please?

carlwilson avatar Oct 23 '19 04:10 carlwilson

The file is now named m4-336db1cd76254717eb50a8602b651fbf.tif in imagetestsuite-tiff-1.00-part4.tar.gz

In last version, it took roughly 30 seconds to process (very long array of more than 6000000 entries!!!) but it ends with:

<?xml version="1.0" encoding="UTF-8"?>
<jhove xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schema.openpreservation.org/ois/xml/ns/jhove" xsi:schemaLocation="http://schema.openpreservation.org/ois/xml/ns/jhove https://schema.openpreservation.org/ois/xml/xsd/jhove/1.8/jhove.xsd" name="Jhove" release="1.23.0-SNAPSHOT" date="2019-10-23">
 <date>2019-10-23T15:52:57+02:00</date>
 <repInfo uri="v:%5CCorpusDeTest%5Ctif%5Cm4-336db1cd76254717eb50a8602b651fbf.tif">
  <reportingModule release="1.9.1" date="2019-04-17">TIFF-hul</reportingModule>
  <lastModified>2009-02-03T14:36:21+01:00</lastModified>
  <size>134068</size>
  <format>TIFF</format>
  <status>Not well-formed</status>
  <sigMatch>
  <module>TIFF-hul</module>
  </sigMatch>
  <messages>
   <message offset="18" severity="info" id="TIFF-HUL-12">Unknown TIFF IFD tag: 2302</message>
   <message offset="22" severity="error" id="TIFF-HUL-2">Tag 256 out of sequence</message>
   <message subMessage="Type = 17, Tag = 278" offset="48" severity="error" id="TIFF-HUL-3">Unknown data type</message>
   <message offset="58" severity="error" id="TIFF-HUL-2">Tag 1 out of sequence</message>
   <message subMessage="Type = 0, Tag = 1" offset="60" severity="error" id="TIFF-HUL-3">Unknown data type</message>
   <message subMessage="Type = 0, Tag = 1" offset="72" severity="error" id="TIFF-HUL-3">Unknown data type</message>
   <message offset="2684354560" severity="error" id="TIFF-HUL-1">Premature EOF</message>
  </messages>
  <mimeType>image/tiff</mimeType>
 </repInfo>
</jhove>

The file is indeed not well-formed at all :smile:

tledoux avatar Oct 23 '19 13:10 tledoux

Thanks @tledoux I probably have it here then, I'll test and confirm then close this....

carlwilson avatar Oct 23 '19 14:10 carlwilson