[Digikam-devel] Random crashes

Gilles Caulier caulier.gilles at gmail.com
Thu Nov 5 11:33:35 GMT 2009


Andi,

Do you see my message here ? and changes to performs...

I'm pretty sure that XMP namespace registration is not thread safe.

Also, has Marcel said, no need to registered LR namesapce for each
instance of KExif2/DMetadata. As it's fully relevant of Adobe WMP sdk
(which sometime is badly implemented for me), registering LR at
application startup is enough

Look my lxr link foe details...

Gilles

2009/10/29 Gilles Caulier <caulier.gilles at gmail.com>:
> ah yes, now, i rememeber the story.
>
> registered XMP namespace is not re-entrant. Thanks to Adobe to code like this.
>
> Solution is simple :
>
> Move this lines :
>
> http://lxr.kde.org/source/extragear/graphics/digikam/libs/dmetadata/dmetadata.cpp#66
> http://lxr.kde.org/source/extragear/graphics/digikam/libs/dmetadata/dmetadata.cpp#74
> http://lxr.kde.org/source/extragear/graphics/digikam/libs/dmetadata/dmetadata.cpp#82
>
> To libkexviv2, at the right place :
>
> http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp#90
> http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp#99
>
> Gilles
>
> 2009/10/29 Andreas Huggel <ahuggel at gmx.net>:
>>> On the other hand wouldn't such a basic issue have been reported a
>>> long time ago?
>>
>> Maybe it was: http://bugs.kde.org/show_bug.cgi?id=166424
>>
>



More information about the Digikam-devel mailing list