Bug 185574

Summary: Crash while importing images from cardreader
Product: [Applications] digikam Reporter: Gandalf Lechner <gandalflechner>
Component: Import-UMSAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: marcel.wiesweg
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 0.10.0
Sentry Crash Report:
Attachments: backtrace
second try

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!