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

Marcel Wiesweg marcel.wiesweg at gmx.de
Sat Sep 24 13:14:03 BST 2011


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

    const CachedItem* cit = retrieveItemFromCache(item.url());
    putItemToCache(item.url(), cit->first, thumb);
    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