Bug 185574 - Crash while importing images from cardreader
Summary: Crash while importing images from cardreader
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-UMS (show other bugs)
Version: 0.10.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 21:56 UTC by Gandalf Lechner
Modified: 2017-08-16 05:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.10.0
Sentry Crash Report:


Attachments
backtrace (8.02 KB, text/plain)
2009-02-25 21:58 UTC, Gandalf Lechner
Details
second try (9.64 KB, text/plain)
2009-02-25 22:46 UTC, Gandalf Lechner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gandalf Lechner 2009-02-25 21:56:52 UTC
Version:           0.10.0 (rev.: 931386) (using 4.2.00 (KDE 4.2.0), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.27-7-generic

Today digikam crashed repeatedly while trying to import pictures from a memory card in the card reader. At first, the import dialog shows up ok, with thumbnails in place. But then, in one case digikam crashed after selecting the destination folder, and in another case, it crashed right after clicking on a thumbnail. However, minutes earlier it worked fine, and I can't say what changed in between.

backtrace attached
Comment 1 Gandalf Lechner 2009-02-25 21:58:17 UTC
Created attachment 31642 [details]
backtrace
Comment 2 Andi Clemens 2009-02-25 22:02:15 UTC
This report contains no debugging infos. Can you recompile with debugfull?
Comment 3 Gandalf Lechner 2009-02-25 22:46:43 UTC
Created attachment 31643 [details]
second try
Comment 4 Gandalf Lechner 2009-02-25 22:48:24 UTC
After recompiling with debugfull, again I could first nicely download images from the memory card. But trying some more times, digikam crashed again. 

Hopefully the new attachment is more useful than the first one ...
Comment 5 Marcel Wiesweg 2009-02-25 22:50:11 UTC
SVN commit 931874 by mwiesweg:

Check that KMimetype pointer is not null

CCBUG: 185574

 M  +2 -1      cameraiconviewtooltip.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=931874
Comment 6 Marcel Wiesweg 2009-02-25 22:55:20 UTC
SVN commit 931876 by mwiesweg:

Backport
Check that KMimetype pointer is not null

CCBUG: 185574

 M  +2 -1      cameraiconviewtooltip.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=931876
Comment 7 Marcel Wiesweg 2009-02-25 22:56:59 UTC
Thanks Gandalf, I have fixed a probable cause of the crash. If you want to try again, then we can close this.
Comment 8 Gandalf Lechner 2009-02-26 11:38:06 UTC
With this patch, I didn't manage to crash it anymore, so I think you fixed it. Thanks for the super fast solution!