Version: 1.0.0-beta4 (rev.: 1002376M) (using 4.3.61 (KDE 4.3.61 (KDE 4.4 >= 20090717)), compiled sources) Compiler: gcc OS: Linux (i686) release 2.6.26.8-57.fc8 digiKam crashes at start up when scanning images. The crash occurs in the file digikam/libs/database/imagescanner.cpp:378, probably because some image has incorrect metadata. The following patch fixes the crash: Index: libs/database/imagescanner.cpp =================================================================== --- libs/database/imagescanner.cpp (revision 1002376) +++ libs/database/imagescanner.cpp (arbetskopia) @@ -373,13 +373,13 @@ } // Headline - if (!metadataInfos[0].isNull()) + if (!metadataInfos[0].isNull() && metadataInfos[0].canConvert(QVariant::String)) { comments.addHeadline(metadataInfos[0].toString()); } // Title - if (!metadataInfos[1].isNull()) + if (!metadataInfos[1].isNull() && metadataInfos[1].canConvert(QVariant::String)) { comments.addTitle(metadataInfos[1].toString()); }
Marcel, This one is for you (:=))) Gilles Caulier
Can you send me (private email address) the picture causing the crash? The filename is probably the last one printed on the console (from dimg loading or whatever). Thanks!
Stefan reported this as fixed by private mail