Digikam bug 136855: Editing metadata on a few selected imagefiles and clicking forward or apply crashes digikam.
|Assignee:||Andreas Huggel||% Done:|
Backtrace and valgrind output point to Exiv2. The original digikam bug report by Caspar Maessen is here:
"Version: digikam svn-601980 / kipi-plugins svn-601979 (using KDE KDE 3.5.5)
Installed from: SuSE RPMs
Testing the new metadata/edit IPTC option.
Selected a few images with <ctrl><a>. Edited Credits/Copyright/"Caspar".
Click [OK] -> Dialog quits. No result in the metadata tab.
Same procedure but click [Forward] -> Digikam crashes.
Same procedure but click [Apply] -> Digikam crashes."
The problem can be reproduced with a test driver for the Exiv2Iface class from the metadataedit KIPI plugin by Gilles Caulier. See
#1 Updated by Andreas Huggel over 11 years ago
r979 fixes the reproduceable issues.
The problem occurred in ExifData::op= and only for JPG images with Nikon3 and Fujifilm makernotes. A subsequent call to ExifData::copy, e.g., when writing the image back to a file causes invalid writes to memory which was freed before.