<div dir="ltr">Well, it's simple : the probblem is in Exiv2 shared library which have some problem to read XCF file.<div><br></div><div>You use Exiv2 0.25. </div><div><br></div><div>Please report this problem to Exiv2 bugzilla.</div><div><br></div><div>Gilles Caulier</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-10 0:32 GMT+01:00 Elle Stone <span dir="ltr"><<a href="mailto:ellestone@ninedegreesbelow.com" target="_blank">ellestone@ninedegreesbelow.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03/09/2016 02:28 PM, Gilles Caulier wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Debug trace : see "For hangs out or dysfunctions" section :<br>
<br>
<a href="https://www.digikam.org/contrib" rel="noreferrer" target="_blank">https://www.digikam.org/contrib</a><br>
<br>
Gilles Caulier<br>
<br>
</blockquote>
<br></span>
gdb says "no debugging symbols found". I did compile digiKam with the Gentoo "debug" use flag, but that apparently was the wrong thing to do (<a href="https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces" rel="noreferrer" target="_blank">https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces</a>).<br>
<br>
Anyway, fwiw, here's the (probably worthless) relevant gdb output, after going through and removing all except the problem XCF file (so as to not generate a ton of exceptions from digiKam not being able to read various embedded exif information in XCF files):<br>
<br>
digikam(14014)/KEXIV2: Cannot load metadata from file (Error # 11 : /home/elle/edit/digiKam/working/080801-1817-1576-2a.xcf: The file contains data of an unknown image type<br>
[New Thread 0x7fffceffd700 (LWP 14080)]<br>
[New Thread 0x7fffb6ffd700 (LWP 14081)]<br>
[New Thread 0x7fffcf7fe700 (LWP 14082)]<br>
[Switching to Thread 0x7fffcf7fe700 (LWP 14082)]<br>
Catchpoint 1 (exception thrown), 0x00007ffff1bee100 in __cxa_throw () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6<br>
(gdb) bt<br>
#0 0x00007ffff1bee100 in __cxa_throw () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6<br>
#1 0x00007ffff0f46cd5 in Exiv2::ImageFactory::open(std::string const&, bool) () from /usr/lib64/libexiv2.so.14<br>
#2 0x00007ffff769fa58 in KExiv2Iface::KExiv2::load(QString const&) const () from /usr/lib64/libkexiv2.so.11<br>
#3 0x00007ffff66f9d16 in Digikam::DMetadata::load(QString const&) const () from /usr/lib64/libdigikamcore.so.4.14.0<br>
#4 0x00007ffff66f9da2 in Digikam::DMetadata::DMetadata(QString const&) () from /usr/lib64/libdigikamcore.so.4.14.0<br>
#5 0x00007ffff67598e5 in Digikam::ThumbnailCreator::createThumbnail(Digikam::ThumbnailInfo const&, QRect const&) const ()<br>
from /usr/lib64/libdigikamcore.so.4.14.0<br>
#6 0x00007ffff675df0a in Digikam::ThumbnailCreator::load(Digikam::ThumbnailIdentifier const&, QRect const&, bool) const ()<br>
from /usr/lib64/libdigikamcore.so.4.14.0<br>
#7 0x00007ffff675eea0 in Digikam::ThumbnailCreator::pregenerate(Digikam::ThumbnailIdentifier const&) const () from /usr/lib64/libdigikamcore.so.4.14.0<br>
#8 0x00007ffff676dbf0 in ?? () from /usr/lib64/libdigikamcore.so.4.14.0<br>
#9 0x00007ffff6740dce in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.4.14.0<br>
#10 0x00007ffff677811e in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib64/libdigikamcore.so.4.14.0<br>
#11 0x00007ffff1f0ecd2 in ?? () from /usr/lib64/qt4/libQtCore.so.4<br>
#12 0x00007ffff1f1b94f in ?? () from /usr/lib64/qt4/libQtCore.so.4<br>
#13 0x00007ffff0135374 in start_thread () from /lib64/libpthread.so.0<br>
#14 0x00007ffff13c244d in clone () from /lib64/libc.so.6<br>
(gdb) continue<br>
Continuing.<br>
<br>
<br>
####### Now moving on to other files that throw exceptions but don't cause digiKam to hang, I seem to have missed removing a few XCF files:<br>
<br>
<br>
[Thread 0x7fffb6ffd700 (LWP 14081) exited]<br>
digikam(14014)/KEXIV2: Cannot load metadata from file (Error # 11 : /home/elle/edit/digiKam/iiil/1427737696743614.xcf: The file contains data of an unknown image type<br>
Catchpoint 1 (exception thrown), 0x00007ffff1bee100 in __cxa_throw () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6<br>
(gdb) bt<br>
#0 0x00007ffff1bee100 in __cxa_throw () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6<br>
#1 0x00007ffff0f46cd5 in Exiv2::ImageFactory::open(std::string const&, bool) () from /usr/lib64/libexiv2.so.14<br>
#2 0x00007ffff76eb14e in KExiv2Iface::KExiv2Previews::KExiv2Previews(QString const&) () from /usr/lib64/libkexiv2.so.11<br>
#3 0x00007ffff6759df1 in Digikam::ThumbnailCreator::createThumbnail(Digikam::ThumbnailInfo const&, QRect const&) const ()<br>
from /usr/lib64/libdigikamcore.so.4.14.0<br>
#4 0x00007ffff675df0a in Digikam::ThumbnailCreator::load(Digikam::ThumbnailIdentifier const&, QRect const&, bool) const ()<br>
from /usr/lib64/libdigikamcore.so.4.14.0<br>
#5 0x00007ffff675eea0 in Digikam::ThumbnailCreator::pregenerate(Digikam::ThumbnailIdentifier const&) const () from /usr/lib64/libdigikamcore.so.4.14.0<br>
#6 0x00007ffff676dbf0 in ?? () from /usr/lib64/libdigikamcore.so.4.14.0<br>
#7 0x00007ffff6740dce in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.4.14.0<br>
#8 0x00007ffff677811e in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib64/libdigikamcore.so.4.14.0<br>
#9 0x00007ffff1f0ecd2 in ?? () from /usr/lib64/qt4/libQtCore.so.4<br>
#10 0x00007ffff1f1b94f in ?? () from /usr/lib64/qt4/libQtCore.so.4<br>
#11 0x00007ffff0135374 in start_thread () from /lib64/libpthread.so.0<br>
#12 0x00007ffff13c244d in clone () from /lib64/libc.so.6<br>
(gdb) continue<br>
<br>
and etc.<div class="HOEnZb"><div class="h5"><br>
<br>
Best,<br>
Elle<br>
<br>
_______________________________________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org" target="_blank">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
</div></div></blockquote></div><br></div>