[Digikam-devel] [Bug 169964] Crash when importing my picture and video collection
Andreas Huggel
ahuggel at gmx.net
Thu Oct 9 15:20:08 BST 2008
http://bugs.kde.org/show_bug.cgi?id=169964
--- Comment #8 from Andreas Huggel <ahuggel gmx net> 2008-10-09 16:20:07 ---
#6 0x04d3b231 in Exiv2::ValueType<unsigned short>::toLong () from
/usr/lib/libexiv2.so.2
#7 0x01379d3f in KExiv2Iface::KExiv2::getExifTagVariant () from
/usr/lib/libkexiv2.so.7
#8 0x0043c587 in Digikam::DMetadata::fromExifOrXmp (this=0xb69e497c,
exifTagName=0x0, xmpTagName=0x5bd4b3 "Xmp.exif.ISOSpeedRatings")
The usual cause for this is that toLong() is called for an empty value. Does
the calling function check for this? ( Something like "if (value.count() > 0) {
l = value.toLong(); }" )
Martin,
If you can identify the file which causes the problem, please attach/send it.
Thanks,
Andreas
--
Configure bugmail: http://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