graphics/exiv2: request for inclusion of an upstream patch

Andriy Gapon avg at
Tue Aug 18 17:44:17 UTC 2009

I am getting the following crash when I try to import a certain image with digikam:

#6  0x000000080687a55c in thr_kill () from /lib/
#7  0x0000000806901233 in abort () from /lib/
#8  0x00000008068ea119 in __assert () from /lib/
#9  0x000000080253af0a in Exiv2::Internal::TiffMnEntry::doCount ()
   from /usr/local/lib/
#10 0x000000080253b355 in Exiv2::Internal::TiffDirectory::writeDirEntry ()
   from /usr/local/lib/
#11 0x000000080253e4ff in Exiv2::Internal::TiffDirectory::doWrite ()
   from /usr/local/lib/
#12 0x000000080253c16b in Exiv2::Internal::TiffSubIfd::doWriteData ()
   from /usr/local/lib/
#13 0x000000080253b4bb in Exiv2::Internal::TiffDirectory::doWriteData ()
   from /usr/local/lib/
#14 0x000000080253e6a0 in Exiv2::Internal::TiffDirectory::doWrite ()
   from /usr/local/lib/
#15 0x0000000802542d9e in Exiv2::Internal::TiffParserWorker::encode ()
   from /usr/local/lib/
#16 0x0000000802542ef1 in Exiv2::TiffParser::encode ()
   from /usr/local/lib/
#17 0x00000008024e4382 in Exiv2::ExifParser::encode ()
   from /usr/local/lib/
#18 0x0000000802326b9e in KExiv2Iface::KExiv2::getExif ()
   from /usr/local/lib/
#19 0x0000000800a78e17 in Digikam::ImagePropertiesSideBarCamGui::itemChanged
    () from /usr/local/lib/

The image was taken with a Nokia phone camera and contains some non-empty
Exif.Photo.MakerNote (type Ascii, size 1088).

I believe that this issue was fixed upstream:
I applied this change in my local ports tree and it seems to fix the problem.

I also see that Debian folks have included this change into their package of
exiv2. Could we please do the same?

Thank you in advance.

Andriy Gapon

More information about the freebsd-multimedia mailing list