[Digikam-devel] Random crashes

Marcel Wiesweg marcel.wiesweg at gmx.de
Thu Oct 29 16:26:17 GMT 2009


> Thread 4 (Thread 0xa0019b70 (LWP 6776)):
> [KCrash Handler]
> #6  0xb46a8df1 in Exiv2::XmpProperties::registerNs(std::string const&,
> std::string const&) () from /usr/lib/libexiv2.so.5
> #7  0xb6f6c75e in KExiv2Iface::KExiv2::registerXmpNameSpace
>  (this=0xa0018604, uri=..., prefix=...) at
> /home/andi/Programmieren/KDE/digiKam/libs_KDE4/libs/libkexiv2/libkexiv2/kex
> iv2xmp.cpp:782 #8  0xb680b296 in DMetadata (this=0xa0018604) at
> /home/andi/Programmieren/KDE/digiKam/digikam_KDE4/digikam/libs/dmetadata/dm
> etadata.cpp:66     

registerXmpNameSpace(QString("http://ns.adobe.com/lightroom/1.0/"), 
QString("lr"));

is this call necessary each time we use a new DMetadata object??
I would expect to call this once at application startup?

I would suspect a thread-safety issue with registering namespaces.



More information about the Digikam-devel mailing list