Summary: | Access to a specific jpg photo crashed digikam | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | krienke |
Component: | Metadata-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ahuggel, caulier.gilles |
Priority: | NOR | ||
Version: | 0.9.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.9.0 | |
Sentry Crash Report: |
Description
krienke
2006-11-06 08:24:14 UTC
Andreas, And another one crash... Gilles Finally one that looks comprehensible, at least the reading part. Yes, I can reproduce the problem with the exiv2 utility and the image provided, will look into this. Did you use any software other than digikam to edit the image? If not, how exactly did you edit it; can you re-create similarly corrupted images with digikam? -ahu. Am Montag, 6. November 2006 09:48 schrieb Andreas Huggel: > ------- Additional Comments From ahuggel gmx net 2006-11-06 09:48 ------- > Finally one that looks comprehensible, at least the reading part. > > Yes, I can reproduce the problem with the exiv2 utility and the image > provided, will look into this. > > Did you use any software other than digikam to edit the image? > If not, how exactly did you edit it; can you re-create similarly corrupted > images with digikam? > I used digikam to edit the jpg comment and digikamimageplugins to enhance contrast. Thats all I did. I have a lot of other photos I edited in the same way and there are no similar problems. I even have a copy of this photo with the comment already included on another host and this version does not cause a crash (the size in bytes of both is identical). And I am quite sure, that I did not change anything else for this photo since I copied it to the other host. But since I had quite a lot of digikam crashes (possibly the hyperthreading bug) when I worked on the photos of my holidays (of which dsc_3393.jpg is one) I guess that one of this crashes must have corrupted the photo in question. Unfortunately I am unable to reproduce this problem, but anyway digikam should not crash when trying to extract the metadata of such a jpg even if the data contained in it are corrupt. Rainer I'm agree with you krienke, but the crash come from the Exiv2 shared library, not digiKam core directly (no blame here Andreas (:=))).... In fact, an exception must be generated by Exiv2 to prevent crash. This exception will be get by digiKam (the source code is already done in this way... Gilles > digikam should not crash when trying to extract the metadata of such a
> jpg even if the data contained in it are corrupt.
Sure, I also agree. I'll fix exiv2 as mentioned above. But I'm more worried if there is another, bigger problem here, which leads to images with corrupted metadata.
-ahu.
Exiv2 svn rev. 943 implements a quick fix (not a real solution). An exception is thrown now. -ahu. krienke, please try to use current svn implementation of Exiv2 and recompile digiKam & co. Thanks in advance Note : take you sure to uninstall the old version of Exiv2 before to install new one. Gilles Gilles, This one is straightforward, it is not related to the other crashes: The metadata in the image provided by krienke is corrupted and exiv2 < rev 943 chokes on it. To test, take the image from the link provided in the bug report and try with exiv2 < rev 943 to reproduce it and >= rev 943 to confirm that it's gone. Andreas Am Montag, 6. November 2006 18:22 schrieb Gilles Caulier:
> please try to use current svn implementation of Exiv2 and recompile digiKam
> & co. Thanks in advance
With the new svn version of exiv2 from Andreas digikam does no longer crash
and I can also assign e.g. a comment to the jpg that caused the crash.
Rainer
krienke, Sound like this file is solved with Exiv2 0.12 release. I close this file now. Gilles Caulier |