[Digikam-devel] [Bug 282194] digikam 2.1.1 crashes when displaying thumbnails in import screen

Marcel Wiesweg marcel.wiesweg at gmx.de
Sat Sep 24 13:20:02 BST 2011


https://bugs.kde.org/show_bug.cgi?id=282194





--- Comment #7 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-09-24 12:20:01 ---
The crash happens in QString, so probably the relevant QString is invalid.
Tracing back, the place where a pointer is turned to a reference is in
CameraThumbsCtrl::procressKDEPreview:

    const CachedItem* cit = retrieveItemFromCache(item.url());
    putItemToCache(item.url(), cit->first, thumb);
    d->pendingItems.removeAll(item.url());
    emit signalThumbInfoReady(cit->first);

Gilles: Can we be sure that cit and cit->first are valid?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list