Summary: | digiKam crashes sometimes, when changing the rating of a rawfile - Use ExifTool instead. | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Frank Hommes <freanki> |
Component: | Metadata-ExifTool | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ahuggel, caulier.gilles |
Priority: | NOR | ||
Version: | 1.3.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/digikam/commit/232040bdd51ba615ba3c2ac04e4846a3cf80c1af | Version Fixed In: | 8.0.0 |
Sentry Crash Report: |
Description
Frank Hommes
2010-05-03 09:11:49 UTC
Another crash from Exiv2 library. It's a duplicate entry ? Gilles Caulier I wasn't sure... Is it ok to post those bugs at bugs.kde.org @ digikam or is there another place? freanki@tristan:~/progs/src/temp/trunk$ svn update At revision 2211. freanki@tristan:~/progs/src/temp/trunk$ ./configure && make [...] freanki@tristan:~/progs/src/temp/trunk$ ./src/exiv2 -M'set Exif.Image.Rating 5' ~/win/pics/2010/raw/20100501\ -\ Maiwandern/20100501-100041.nef lt-exiv2: tiffcomposite.cpp:1714: virtual uint32_t Exiv2::Internal::TiffDirectory::doWriteImage(Exiv2::Internal::IoWrapper&, Exiv2::ByteOrder) const: Assertion `pSubIfd == 0' failed. Aborted Frank, Yes, another issue for exiv2. You could have posted this issue to the exiv2 bugtracker at http://dev.exiv2.org since you already narrowed it down to that. Anyway, what is really good here is that you found a simple reproducer with just the exiv2 command line utility. That goes a long way. Can you please run the following command on this picture $ exiv2 -u -Pkyctx 20100501-100041.nef | grep 0x014a and post the output here. Thanks. Andreas After this bug I will go to dev.exiv2.org. I've got something anyway =) But now this problem: exiv2 -u -Pkyctx 20100501-100041.nef | grep 0x014a 0x014a Exif.Image.SubIFDs Long 2 4054 4292 0x014a Exif.SubImage1.SubIFDs Undefined 0 hmm, that's not what I expected... do you mind sending me the image (ahuggel at gmx dot net) or uploading it and provide a link? Fixed in Exiv2 SVN r2212. (That was an expensive fix: Several hours of debugging and head-cracking for changes in 2 lines :) A regression introduced with Exiv2 issue #668 recently.) Frank, please re-test and confirm that it works for you too. Andreas I can confirm that it works now :) I can confirm that it works now :) Great work! Good. Due to this bug you now have images with an extra Exif.SubImage1.SubIFDs tag, which you should delete. The current exiv2 trunk version can't do that anymore (that's by design, at least for now, also because of #668), but 0.19 can: $ exiv2-0.19 -M'del Exif.SubImage1.SubIFDs' *.nef Git commit 232040bdd51ba615ba3c2ac04e4846a3cf80c1af by Gilles Caulier. Committed on 08/04/2022 at 05:24. Pushed by cgilles into branch 'master'. More files closed with ExifTool backend used to write metadata to RAW files instead Exiv2. Related: bug 193228, bug 235171, bug 291627, bug 305823, bug 317745, bug 234181, bug 366406, bug 168064, bug 134487 FIXED-IN: 8.0.0 M +14 -4 NEWS https://invent.kde.org/graphics/digikam/commit/232040bdd51ba615ba3c2ac04e4846a3cf80c1af |