Summary: | libexiv2 crashes on certain JPGs | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Mahmoud Hashemi <makuro> |
Component: | Metadata-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ahuggel, caulier.gilles |
Priority: | NOR | ||
Version: | 0.10.0 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.3.0 | |
Sentry Crash Report: |
Description
Mahmoud Hashemi
2009-03-11 08:38:47 UTC
Mahmoud, With test file, when you run Exiv2 command line tool to write something in metadata, there is a crash ? Andreas, what do you think about ? I remember something similar already reported here. Right ? Gilles Caulier Running: exiv2 -M "set Exif.Photo.UserComment charset=Ascii My favorite photo" unl0805_1.jpg got me: exiv2: tiffcomposite.cpp:697: virtual uint32_t Exiv2::Internal::TiffMnEntry::doCount() const: Assertion `tiffType() == ttUndefined' failed. So, yes, that looks like an exiv2 crash. So, it's sound like Exiv2 bug, not digiKam. Andreas is Exiv2 lead developper. We can let's open this file and solve this issue in this room instead to open new bug in Exiv2 bugzilla. it's not a problem. I let Andreas manage this entry. Gilles Caulier ok, that sounds good. I'm running gcc 4.1.2, not 3.1.2. Also, is there any need or plan for more robust handling of this type of exception within digikam? It's a crash in exiv2 core. digiKam use libkexiv2 to catch Exiv2 c++ exception. In this case, it sound like a check are missing in Exiv2 to prevent crash and generate exception instead. Gilles The exiv2 crash in comment #2 is the same as that in http://dev.exiv2.org/issues/show/615 so yes, I believe this is fixed in exiv2 SVN and this bug is a duplicate of bug #182738. Mahmoud, To test, you can upgrade to exiv2 from SVN as described here http://www.exiv2.org/download.html#devel Andreas Mahmoud, What news here. Please check and report to close this file. Thanks in advance Gilles Caulier This bug seems to be fixed in the SVN version of exiv2. I'm not sure what the exact status should be, but I'll mark it as fixed. Thanks for all your help! Not reproducible with digiKam 7.3.0 and Exiv2 0.27.4 |