Summary: | Digikam crash on deleting picture | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Mark van Rossum <mark.vanrossum> |
Component: | Metadata-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ahuggel, caulier.gilles |
Priority: | NOR | ||
Version: | 1.2.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.1.0 | |
Sentry Crash Report: |
Description
Mark van Rossum
2010-05-23 23:46:43 UTC
Exiv2 crash when loading an image (alternatively thumbnail, no debug info for libdigikamcore) Do the last lines on the console tell you about the image that was last loaded? Which Exiv2 version you use. Go to Help/Components Info for details. Gilles Caulier When I rapidly flick to the picture with PageUp/PageDown I get lots of errors on the commandline like: digikam(11820)/digikam (core) Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/home/vrossum/Pictures/tmp2/dsc_0431.jpg" When doing it slowly, no such errors appear. In addition I get at startup: digikam(11820)/digikam (core): ThumbnailLoadThread::load: No thumbnail size specified. Refusing to load thumbnail. Libexiv2 has version 0.19 Note these crashes always happen in the filmstrip + preview screen. It's a similar backtrace than #238045 Gilles Caulier *** This bug has been marked as a duplicate of bug 238045 *** Mark:
> digikam(11820)/digikam (core) Digikam::PreviewLoadingTask::execute: Cannot
> extract preview for "/home/vrossum/Pictures/tmp2/dsc_0431.jpg"
This is a side-effect when the preview creation is cancelled. You can safely ignore it.
The crash clearly comes from Exiv2. We recommend to update to the latest exiv2 / libkexiv2 version available, or to isolate the picture that causes the crash, so that we can test if the problem is fixed in latest exiv2.
According to the backtrace the crash happens in this method: ExifKey::~ExifKey() { } There is a memory corruption somewhere. We have a number of similar bug reports. Whether it is in Exiv2 or not I'm not sure. I'm not aware of any memory issue in recent versions of Exiv2. Andreas I have not been able to install the SVN version of libexiv2. Anyhow, I do think it is odd that the bug only seems to happen when RAPIDLY flicking through images. Perhaps this confuses some counter and tries to delete objects that were not there. Fixed with #238045 Thank you Gilles! |