Summary: | Digikam crashes on lens auto-correction function | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Piotr Ryszkiewicz <rpiotr.sk> |
Component: | Plugin-Editor-LensCorrection | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 1.5.0 | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.6.0 | |
Sentry Crash Report: | |||
Attachments: | Sample image |
Description
Piotr Ryszkiewicz
2010-10-26 00:20:54 UTC
Created attachment 52870 [details]
Sample image
Digikam crashes on this image.
First, test lensfun digiKam interface program do not crash. Lens information are uncomplete to process autocorrection : [gilles@localhost lens]$ ./testlensfuniface.shell IMGP1174a.jpg <unknown program name>(6553)/ Digikam::DImg::load: "IMGP1174a.jpg" : JPEG file identified <unknown program name>(6553)/ KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal => QDateTime("Sun Jul 4 17:13:33 2010") <unknown program name>(6553)/ Digikam::LensFunIface::findCamera: Search for camera "PENTAX " - "PENTAX K-x " ==> false <unknown program name>(6553)/ Digikam::LensFunIface::findFromMetadata: Cannot find Lensfun camera device for ( "PENTAX " - "PENTAX K-x " ) <unknown program name>(6553)/ Digikam::LensFunIface::findFromMetadata: Focal Length : 23.1 <unknown program name>(6553)/ Digikam::LensFunIface::findFromMetadata: Aperture : 7.1 <unknown program name>(6553)/ Digikam::LensFunIface::findFromMetadata: Subject dist. : NOT FOUND <unknown program name>(6553)/ Digikam::LensFunIface::findFromMetadata: Metadata match : "Partial Match" Do you have selected manually a special camera and lens feature ? Gilles Caulier As you can see, on my computer, it do not crash. I use current digiKam implementation with liblensfun included in digiKam core (lensfun code from trunk currently, not yet released). Go to Help/Components Info to see which Lensfun version you use. There is a problem with your camera detection. At least it must be recognized. It's not the case. the problem is trailling space at end of camera description strings : Search for camera "PENTAX " - "PENTAX K-x " ==> false It's easy to fix... Your Lens is not in Lensfun Database. Please, read this tutorial to add your lens in lensfun : http://www.flickr.com/photos/digikam/5117137040/ Gilles Caulier SVN commit 1189866 by cgilles: use trimmed version of camera/lens description to perform LensFun DB query CCBUGS: 255271 M +3 -3 lensfuniface.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1189866 For your camera detection, all sound fine with my last commit : [gilles@localhost lens]$ svn up At revision 1189866. [gilles@localhost lens]$ ./testlensfuniface.shell IMGP1174a.jpg <unknown program name>(9079)/ Digikam::DImg::load: "IMGP1174a.jpg" : JPEG file identified <unknown program name>(9079)/ KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal => QDateTime("Sun Jul 4 17:13:33 2010") <unknown program name>(9079)/ Digikam::LensFunIface::findCamera: Search for camera "PENTAX" - "PENTAX K-x" ==> true <unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: Camera maker : "PENTAX" <unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: Camera model : "PENTAX K-x" <unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: * Check for lens by direct query ( "smc PENTAX-DA 18-250mm F3.5-6.3ED AL [IF]" : 0 ) <unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: * Check for no maker lens ( "smc PENTAX-DA 18-250mm F3-6ED AL [IF]" : 0 ) <unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: lens matches : NOT FOUND <unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: Focal Length : 23.1 <unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: Aperture : 7.1 <unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: Subject dist. : NOT FOUND <unknown program name>(9079)/ Digikam::LensFunIface::findFromMetadata: Metadata match : "Partial Match" Of course, Lens is not recognized, because it's not in LensFun DB. Read this tutorial for info : http://lensfun.berlios.de/lens-calibration/ For the crash, i cannot reproduce it with current implementation from svn. Gilles Caulier |