[Digikam-devel] digikam : crash in dlopen kipiplugin_imgur.so

Eric Valette eric.valette at free.fr
Mon Nov 16 07:33:16 GMT 2015


On 16/11/2015 04:33, Martin Klapetek wrote:

> This is because your digikam/kipi is Qt5 based while the kipiplugin_imgur.so
> is Qt4 based. Qt5 and Qt4 are binary incompatible and opening one plugin
> from the other will crash.

So it should not be compiled when compiling digikam 5.x from git then...

> If you've compiled digikam/kipi yourself, be sure to clean your install
> dir from
> all kipi/Qt4 plugins. If this got installed by your distro, please
> notify your distro
> of a conflict.

Nice guess but this is not what happened : the plugin was compiled  and 
installed from the git tree yesterday.

  cd local/src/digikam/
valette at tri-yann4:~/local/src/digikam$ find . -name kipiplugin_imgur.so
./build/extra/kipi-plugins/imgur/kipiplugin_imgur.so
valette at tri-yann4:~/local/src/digikam$

>
> Finally, perhaps the kipi plugins should either ship with some json metadata
> that should be checked upon loading (this is actually very very useful
> for just
> loading the list of plugins and their names or other properties without
> opening
> the whole so file --> fast "Share" menu build up) or some other kinds of
> filtering
> should be done by kipi to ensure that Qt4 files are not loaded.

Could be also resolved at build time if QT5 is selected/detected by 
cmake while it has not been changed to support qt5...

Thanks for the help nevertheless...

-- eric







More information about the Digikam-devel mailing list