[Digikam-devel] [Bug 271047] Digikam Crashes on Imports from PTP Device (iPhone 3gs)

Marcel Wiesweg marcel.wiesweg at gmx.de
Sat Sep 24 12:14:03 UTC 2011


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





--- Comment #19 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-09-24 12:14:03 ---
While the original backtraces here are crashes in gphoto2 (maybe the libdc1394
bug), Veaceslav's is new, different and clearly in digikam code.

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);

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