[Digikam-devel] Random crashes

Marcel Wiesweg marcel.wiesweg at gmx.de
Fri Nov 6 14:47:31 GMT 2009


> 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/dmetada
> ta.cpp#66
>  http://lxr.kde.org/source/extragear/graphics/digikam/libs/dmetadata/dmetad
> ata.cpp#74
>  http://lxr.kde.org/source/extragear/graphics/digikam/libs/dmetadata/dmetad
> ata.cpp#82
> 
> To libkexviv2, at the right place :
> 
> http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.c
> pp#90
>  http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.
> cpp#99

Done for trunk.
People will continue to use digikam 1.0 with an older libkexiv2 version 
(without initiliaziation of the namespace)
Which bug happens if this namespace registration is removed?

Marcel



More information about the Digikam-devel mailing list