assert error in tiffvisitor.cpp:1261
Added by Anonymous Poster over 9 years ago
Hi,
when running exiv2 (exiv2 0.22 001600 (64 bit build)) on this image
http://privat.broulik.de/DSC00032.JPG
I get an assert error:
$ exiv2 DSC00032.JPG
Error: Directory Photo: Next pointer is out of bounds; ignored.
Error: Offset of directory Photo, entry 0x9204 is out of bounds: Offset = 0x00040389; truncating the entry
Error: Offset of directory Photo, entry 0x9208 is out of bounds: Offset = 0x00000000; truncating the entry
Error: Directory Photo, entry 0x927c has invalid size 536913476*1; skipping entry.
exiv2: tiffvisitor.cpp:1261: virtual void Exiv2::Internal::TiffReader::visitDirectory(Exiv2::Internal::TiffDirectory*): Zusicherung »p >= pData_« nicht erfüllt.
Abgebrochen
This is also leading to a crash of gwenview when trying to open this image:
https://bugs.kde.org/show_bug.cgi?id=295105
Greetings
Benni
Replies (2)
RE: assert error in tiffvisitor.cpp:1261 - Added by Anonymous Poster over 9 years ago
I just tried with the latest svn version and there's no assertion failure.
Sorry for the noise.
I assume the errors I get are due to a corrupted file?
Error: Directory Photo: Next pointer is out of bounds; ignored.
Error: Offset of directory Photo, entry 0x9204 is out of bounds: Offset = 0x00040389; truncating the entry
Error: Offset of directory Photo, entry 0x9208 is out of bounds: Offset = 0x00000000; truncating the entry
Error: Directory Photo, entry 0x927c has invalid size 536913476*1; skipping entry.
Warning: Directory Photo, entry 0xa002 has unknown Exif (TIFF) type 4100; setting type size 1.
Error: Directory Photo, entry 0x200b has invalid size 2147483649*4; skipping entry.
Error: Directory Iop with 16723 entries considered invalid; not read.
Warning: Directory Photo, entry 0xa300 has unknown Exif (TIFF) type 15; setting type size 1.
Warning: Directory Photo, entry 0xa301 has unknown Exif (TIFF) type 32775; setting type size 1.
Warning: Directory Photo, entry 0xa403 has unknown Exif (TIFF) type 16387; setting type size 1.
File name : /home/benjamin/Downloads/DSC00032.JPG
File size : 2129920 Bytes
MIME type : image/jpeg
Image size : 4912 x 2760
Camera make : SONY
Camera model : SLT-A55V
Image timestamp : 2012:02:29 22:43:01
Image number :
Exposure time : 1/250 s
Aperture : F4.5
Exposure bias :
Flash : No, compulsory
Flash bias :
Focal length : 35.0 mm (35 mm equivalent: 52.0 mm)
Subject distance:
ISO speed : 1600
Exposure mode : Shutter priority
Metering mode :
Macro mode :
Image quality :
Exif Resolution :
White balance : Auto
Thumbnail : image/jpeg, 16716 Bytes
Copyright :
Exif comment :
Greetings
Benni
RE: assert error in tiffvisitor.cpp:1261 - Added by Andreas Huggel over 9 years ago
Thanks for the feedback. Yes, judging from the errors and warnings that you get, it looks like the Exif data of this image is broken. And yes, there was a recent fix of an assertion error, so this image apparently hits the same issue.
Andreas