Summary: | Crash when changing folder during rating | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Martin Eriksson <tre1121> |
Component: | Tags-Rating | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ahuggel, caulier.gilles, marcel.wiesweg |
Priority: | NOR | ||
Version: | 0.10.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.10.0 | |
Sentry Crash Report: |
Description
Martin Eriksson
2009-01-13 18:00:36 UTC
I think than crash appears in libexiv2. Which version you use (see Help/component info for details). Which image file crash digiKam in this case : JPEG, RAW, PNG ? Gilles Caulier (In reply to comment #1) > I think than crash appears in libexiv2. Which version you use (see > Help/component info for details). > > Which image file crash digiKam in this case : JPEG, RAW, PNG ? > > Gilles Caulier > exiv2 -V exiv2 0.18 I have tried with JPEG and NEF, crash in both cases. Ok, Can you try to change rating using Exiv command line tool on JPEG image ? Also, can you attach a jpeg image to this file to be able to reproduce the problem here... Gilles Caulier Note: Andreas, i CC you for info. SVN commit 910771 by mwiesweg: Store list of ImageInfos, do not keep accessing the current icon items while calling kapp->processEvents. (Interestingly we had the same crash for assigning tags and fixed it already ;-) ) BUG: 180570 M +19 -17 albumiconview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=910771 Gilles, I think this crash is not in exiv2, but happens when the folder is changed from within kapp->processEvents (replacing icon items) and the rating loop continues to access the old, deleted items. Ok, I didn't have see this case... Gilles Marcel, User can change rating from thumbbar now (preview, editor, and light table). This patch must be apply in these part too (imagepreviewbar and lighttablebar)? Gilles This is about ImagePreviewBar::slotEditRatingFromItem and LighttableBar::slotAssignRating? This code is fine, there is only one image edited at a time. Here there was a loop, in from inside this loop processEvents was called, where anything can happen, including removal of all current icon items. |