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

Gilles Caulier caulier.gilles at gmail.com
Mon Nov 16 20:39:20 GMT 2015


2015-11-16 21:31 GMT+01:00 Martin Klapetek <martin.klapetek at gmail.com>:

> On Mon, Nov 16, 2015 at 2:33 AM, Eric Valette <eric.valette at free.fr>
> wrote:
>
>> 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...
>
>
> It's not. See below.
>
>
>> 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.
>>
>
> Well thank you but that wasn't a guess, actually. You have old
> files in your buildsystem/install folder.
>
> I just did a clean checkout of kde:digikam-software-compilation, run
> "perl ./download-repos" and extra/kipi-plugins/imgur is Qt5 based
> code.
>
> If you don't believe me, look for yourself here:
>
>
> https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=a95d6bcc7381fc654d2ac9af1375e4aa0c01e89b&hb=19ad9ea39d4eb9644e52561e73e369c4b20cf294&f=imgur%2FCMakeLists.txt
>
> There is no Qt4 stuff in imgur's kipi buildsystem. You just have stale
> files in your local copy. Simply do git pull on your kipi-plugins folder.
>

yes, it can be... in shared lib used by this plugin : libqtkoauth

This lib can be compiled for Qt4 or Qt5. Using Qt4 version of this lib with
imgur/qt5 plugin will not work.

What's give ldd /usr/lib/x86_64-linux-gnu/qt5/plugins/kipiplugin_imgur.so ?

Gilles Caulier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20151116/06f9fd3c/attachment.html>


More information about the Digikam-devel mailing list