digikam : crash in dlopen kipiplugin_imgur.so

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

digikam : crash in dlopen kipiplugin_imgur.so

Eric Valette
So I fired digikam for the first time and experienced a crash in
kipiplugin_imgur.so. I just removed it and at kleast I can now lauch it
and see my photos...

Program received signal SIGSEGV, Segmentation fault.
0x00007ffea020c144 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
(gdb) bt
#0  0x00007ffea020c144 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#1  0x00007ffff7dea2ca in call_init (l=<optimized out>,
argc=argc@entry=1, argv=argv@entry=0x7fffffffe098,
env=env@entry=0x7fffffffe0a8) at dl-init.c:72
#2  0x00007ffff7dea3db in call_init (env=0x7fffffffe0a8,
argv=0x7fffffffe098, argc=1, l=<optimized out>) at dl-init.c:30
#3  _dl_init (main_map=main_map@entry=0x310ce80, argc=1,
argv=0x7fffffffe098, env=0x7fffffffe0a8) at dl-init.c:120
#4  0x00007ffff7dee8b7 in dl_open_worker (a=a@entry=0x7fffffffc2b8) at
dl-open.c:579
#5  0x00007ffff7dea174 in _dl_catch_error
(objname=objname@entry=0x7fffffffc2a8,
errstring=errstring@entry=0x7fffffffc2b0,
mallocedp=mallocedp@entry=0x7fffffffc2a7,
     operate=operate@entry=0x7ffff7dee4f0 <dl_open_worker>,
args=args@entry=0x7fffffffc2b8) at dl-error.c:187
#6  0x00007ffff7dedf73 in _dl_open (file=0x2e6a528
"/usr/lib/x86_64-linux-gnu/qt5/plugins/kipiplugin_imgur.so",
mode=-2147483647, caller_dlopen=0x7fffec6342ef, nsid=-2,
     argc=<optimized out>, argv=<optimized out>, env=0x7fffffffe0a8) at
dl-open.c:663
#7  0x00007fffe9d3cfc9 in dlopen_doit (a=a@entry=0x7fffffffc4d0) at
dlopen.c:66
#8  0x00007ffff7dea174 in _dl_catch_error (objname=0x655d20,
errstring=0x655d28, mallocedp=0x655d18, operate=0x7fffe9d3cf70
<dlopen_doit>, args=0x7fffffffc4d0)
     at dl-error.c:187
#9  0x00007fffe9d3d599 in _dlerror_run
(operate=operate@entry=0x7fffe9d3cf70 <dlopen_doit>,
args=args@entry=0x7fffffffc4d0) at dlerror.c:163
#10 0x00007fffe9d3d061 in __dlopen (file=<optimized out>,
mode=<optimized out>) at dlopen.c:87
#11 0x00007fffec6342ef in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fffec62d5cd in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fffedde325a in KPluginLoader::load() () from
/usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#14 0x00007fffedde338a in KPluginLoader::instance() () from
/usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#15 0x00007fffedde33d7 in KPluginLoader::factory() () from
/usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#16 0x00007ffff0909966 in KIPI::Plugin*
KService::createInstance<KIPI::Plugin>(QWidget*, QObject*,
QList<QVariant> const&, QString*) const ()
    from /usr/local/lib/x86_64-linux-gnu/libKF5Kipi.so.30.0.0
#17 0x00007ffff09091f6 in KIPI::Plugin*
KService::createInstance<KIPI::Plugin>(QObject*, QList<QVariant> const&,
QString*) const ()
    from /usr/local/lib/x86_64-linux-gnu/libKF5Kipi.so.30.0.0
#18 0x00007ffff09076bc in KIPI::PluginLoader::Info::plugin() const ()
from /usr/local/lib/x86_64-linux-gnu/libKF5Kipi.so.30.0.0
#19 0x00007ffff7853150 in Digikam::KipiPluginLoader::slotKipiPluginPlug
(this=0x2f1afd0)
     at
/home/valette/local/src/digikam/core/utilities/kdesupport/kipi/kipipluginloader.cpp:284
#20 0x00007ffff7854bb7 in Digikam::KipiPluginLoader::qt_static_metacall
(_o=0x2f1afd0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffce10)
     at
/home/valette/local/src/digikam/build/core/utilities/kdesupport/kipi/moc_kipipluginloader.cpp:70
#21 0x00007fffec66792a in QMetaObject::activate(QObject*, int, int,
void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff090b8d9 in KIPI::PluginLoader::replug() () from
/usr/local/lib/x86_64-linux-gnu/libKF5Kipi.so.30.0.0
#23 0x00007ffff09087a8 in KIPI::PluginLoader::loadPlugins() () from
/usr/local/lib/x86_64-linux-gnu/libKF5Kipi.so.30.0.0
#24 0x00007ffff785258a in
Digikam::KipiPluginLoader::Private::loadPlugins (this=0x148ac90)
     at
/home/valette/local/src/digikam/core/utilities/kdesupport/kipi/kipipluginloader.cpp:156
#25 0x00007ffff7852ccf in Digikam::KipiPluginLoader::KipiPluginLoader
(this=0x2f1afd0, parent=0x853300, splash=0xa50660)
     at
/home/valette/local/src/digikam/core/utilities/kdesupport/kipi/kipipluginloader.cpp:224
#26 0x00007ffff756d758 in Digikam::DigikamApp::loadPlugins
(this=0x853300) at
/home/valette/local/src/digikam/core/app/main/digikamapp.cpp:2454
#27 0x00007ffff7556443 in Digikam::DigikamApp::DigikamApp
(this=0x853300, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
     at /home/valette/local/src/digikam/core/app/main/digikamapp.cpp:254
#28 0x0000000000405598 in main (argc=1, argv=0x7fffffffe098) at
/home/valette/local/src/digikam/core/app/main/main.cpp:191
(gdb) quit


-- eric
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam : crash in dlopen kipiplugin_imgur.so

Martin Klapetek
Hi,

On Sun, Nov 15, 2015 at 11:50 AM, Eric Valette <[hidden email]> wrote:
So I fired digikam for the first time and experienced a crash in kipiplugin_imgur.so. I just removed it and at kleast I can now lauch it and see my photos...

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.

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.

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.

Cheers
--
Martin Klapetek | KDE Developer

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam : crash in dlopen kipiplugin_imgur.so

Eric Valette
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@tri-yann4:~/local/src/digikam$ find . -name kipiplugin_imgur.so
./build/extra/kipi-plugins/imgur/kipiplugin_imgur.so
valette@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




_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam : crash in dlopen kipiplugin_imgur.so

Martin Klapetek
On Mon, Nov 16, 2015 at 2:33 AM, Eric Valette <[hidden email]> 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:


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.
 

 cd local/src/digikam/
valette@tri-yann4:~/local/src/digikam$ find . -name kipiplugin_imgur.so
./build/extra/kipi-plugins/imgur/kipiplugin_imgur.so
valette@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...

It is. See above.
 
Cheers
--
Martin Klapetek | KDE Developer

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam : crash in dlopen kipiplugin_imgur.so

Gilles Caulier-4


2015-11-16 21:31 GMT+01:00 Martin Klapetek <[hidden email]>:
On Mon, Nov 16, 2015 at 2:33 AM, Eric Valette <[hidden email]> 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:


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

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam : crash in dlopen kipiplugin_imgur.so

Eric Valette
In reply to this post by Martin Klapetek
On 16/11/2015 21:31, Martin Klapetek wrote:


> Well thank you but that wasn't a guess, actually. You have old
> files in your buildsystem/install folder.

No. The checkout was from scratch. I did what is described here
https://www.digikam.org/download/GIT

> I just did a clean checkout of kde:digikam-software-compilation, run
> "perl ./download-repos" and extra/kipi-plugins/imgur is Qt5 based
> code.

You said it was QT4 code, not I :-)

I have no clue if this is QT4 or QT5 based code actually. I just said
        1) it crash for me at dlopen
        2) its not from stalled files but from a recent git build

--eric


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam : crash in dlopen kipiplugin_imgur.so

Eric Valette
In reply to this post by Gilles Caulier-4

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

Sounds like a good hint : I was too lasy to recompile it and as it does
not exist in Debian, I used an ubuntu lib and I dunno how it was
compiled indeed (I tooks the last ubuntu version but still). Will try to
get the corresponding source and recompile it.

Thanks again for your time. I will rebuild it and see...


> 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 ?

ldd /usr/lib/x86_64-linux-gnu/qt5/plugins/kipiplugin_imgur.so.rm
         linux-vdso.so.1 (0x00007ffdf2dd4000)
         libKF5KIOCore.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5 (0x00007fdefca4f000)
         libKF5kipiplugins.so.5.0.0 =>
/usr/lib/x86_64-linux-gnu/libKF5kipiplugins.so.5.0.0 (0x00007fdefc7c2000)
         libkqoauth.so.0 => /usr/lib/x86_64-linux-gnu/libkqoauth.so.0
(0x00007fdefc59b000)
         libKF5Kipi.so.30.0.0 =>
/usr/local/lib/x86_64-linux-gnu/libKF5Kipi.so.30.0.0 (0x00007fdefc36e000)
         libKF5XmlGui.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5 (0x00007fdefc07d000)
         libKF5WindowSystem.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5WindowSystem.so.5 (0x00007fdefbe32000)
         libQt5Network.so.5 =>
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007fdefbcda000)
         libKF5ConfigWidgets.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5ConfigWidgets.so.5 (0x00007fdefba8d000)
         libKF5Codecs.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5Codecs.so.5 (0x00007fdefb852000)
         libKF5ConfigGui.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5ConfigGui.so.5 (0x00007fdefb632000)
         libKF5Auth.so.5 => /usr/lib/x86_64-linux-gnu/libKF5Auth.so.5
(0x00007fdefb41f000)
         libQt5DBus.so.5 => /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
(0x00007fdefb3a0000)
         libKF5WidgetsAddons.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5 (0x00007fdefb062000)
         libQt5Widgets.so.5 =>
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007fdefa9d3000)
         libKF5Service.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5Service.so.5 (0x00007fdefa73c000)
         libKF5CoreAddons.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5 (0x00007fdefa4b6000)
         libQt5Xml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5
(0x00007fdefa47a000)
         libKF5I18n.so.5 => /usr/lib/x86_64-linux-gnu/libKF5I18n.so.5
(0x00007fdefa247000)
         libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
(0x00007fdef9cfe000)
         libKF5ConfigCore.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5 (0x00007fdef9aa2000)
         libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
(0x00007fdef95ca000)
         libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007fdef924f000)
         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fdef8f4a000)
         libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007fdef8d33000)
         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdef8990000)
         libKF5DBusAddons.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5DBusAddons.so.5 (0x00007fdef8780000)
         libacl.so.1 => /lib/x86_64-linux-gnu/libacl.so.1
(0x00007fdef8576000)
         libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4
(0x00007fdef7885000)
         libQtNetwork.so.4 =>
/usr/lib/x86_64-linux-gnu/libQtNetwork.so.4 (0x00007fdef752f000)
         libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4
(0x00007fdef703c000)
         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007fdef6e1f000)
         libQt5PrintSupport.so.5 =>
/usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007fdef6dab000)
         libKF5TextWidgets.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5TextWidgets.so.5 (0x00007fdef6b6b000)
         libKF5GlobalAccel.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5GlobalAccel.so.5 (0x00007fdef6949000)
         libKF5Attica.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5Attica.so.5 (0x00007fdef66ab000)
         libKF5IconThemes.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5IconThemes.so.5 (0x00007fdef6470000)
         libKF5ItemViews.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5ItemViews.so.5 (0x00007fdef6237000)
         libQt5X11Extras.so.5 =>
/usr/lib/x86_64-linux-gnu/libQt5X11Extras.so.5 (0x00007fdef6232000)
         libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6
(0x00007fdef5eee000)
         libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1
(0x00007fdef5ccc000)
         libxcb-keysyms.so.1 =>
/usr/lib/x86_64-linux-gnu/libxcb-keysyms.so.1 (0x00007fdef5ac9000)
         libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fdef58ad000)
         libproxy.so.1 => /usr/lib/x86_64-linux-gnu/libproxy.so.1
(0x00007fdef568c000)
         libKF5GuiAddons.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5GuiAddons.so.5 (0x00007fdef5472000)
         libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3
(0x00007fdef5221000)
         libgobject-2.0.so.0 =>
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fdef4fce000)
         libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0
(0x00007fdef4cbc000)
         libfam.so.0 => /usr/lib/libfam.so.0 (0x00007fdef4ab4000)
         libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0
(0x00007fdef488c000)
         libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
(0x00007fdef462d000)
         libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1
(0x00007fdef42fd000)
         libicui18n.so.55 => /usr/lib/x86_64-linux-gnu/libicui18n.so.55
(0x00007fdef3e99000)
         libicuuc.so.55 => /usr/lib/x86_64-linux-gnu/libicuuc.so.55
(0x00007fdef3b05000)
         libpcre16.so.3 => /usr/lib/x86_64-linux-gnu/libpcre16.so.3
(0x00007fdef38a2000)
         libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fdef369d000)
         librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fdef3495000)
         /lib64/ld-linux-x86-64.so.2 (0x0000563cd423e000)
         libattr.so.1 => /lib/x86_64-linux-gnu/libattr.so.1
(0x00007fdef328f000)
         libfontconfig.so.1 =>
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fdef3052000)
         libaudio.so.2 => /usr/lib/x86_64-linux-gnu/libaudio.so.2
(0x00007fdef2e38000)
         libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6
(0x00007fdef2b8d000)
         libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6
(0x00007fdef2985000)
         libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6
(0x00007fdef2768000)
         libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1
(0x00007fdef255d000)
         libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6
(0x00007fdef234b000)
         libKF5SonnetUi.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5SonnetUi.so.5 (0x00007fdef2127000)
         libKF5SonnetCore.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5SonnetCore.so.5 (0x00007fdef1f05000)
         libKF5Completion.so.5 =>
/usr/lib/x86_64-linux-gnu/libKF5Completion.so.5 (0x00007fdef1cce000)
         libQt5Svg.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Svg.so.5
(0x00007fdef1c76000)
         libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6
(0x00007fdef1a72000)
         libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
(0x00007fdef186b000)
         libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0
(0x00007fdef17ea000)
         libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6
(0x00007fdef15e0000)
         libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3
(0x00007fdef1372000)
         libgraphite2.so.3 =>
/usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007fdef114d000)
         libnvidia-tls.so.352.55 =>
/usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.352.55 (0x00007fdef0f49000)
         libnvidia-glcore.so.352.55 =>
/usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.352.55 (0x00007fdeee4b6000)
         libicudata.so.55 => /usr/lib/x86_64-linux-gnu/libicudata.so.55
(0x00007fdeec9fe000)
         libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1
(0x00007fdeec7d5000)
         libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6
(0x00007fdeec56c000)
         libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1
(0x00007fdeec366000)
         libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1
(0x00007fdeec144000)
         libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2
(0x00007fdeebf2c000)
         liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5
(0x00007fdeebd09000)
         libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20
(0x00007fdeeba28000)
         libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2
(0x00007fdeeb821000)
         libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0
(0x00007fdeeb60e000)


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam : crash in dlopen kipiplugin_imgur.so

Eric Valette
On 16/11/2015 21:48, Eric Valette wrote:
>
>> yes, it can be... in shared lib used by this plugin : libqtkoauth
>
> Sounds like a good hint : I was too lasy to recompile it and as it does
> not exist in Debian, I used an ubuntu lib and I dunno how it was
> compiled indeed (I tooks the last ubuntu version but still). Will try to
> get the corresponding source and recompile it.

Well in fact I did recompile from source (already forgot). However, I
have QT4 and QT5 installed so I do not know which version was selected
by default.

from kqoauth.prf,

KQOAUTH_INCDIR ~= s!/qt4*!!
KQOAUTH_LIBDIR ~= s!/qt4*!!

it seems to be qt4 :-(

-- eric


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam : crash in dlopen kipiplugin_imgur.so

Gilles Caulier-4
In reply to this post by Eric Valette
libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007fdef7885000)
libQtNetwork.so.4 => /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4 (0x00007fdef752f000)
libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007fdef703c000)

^^^ it's clear : Qt4 is used to link the plugin. It's abnormal (At5 is also used of course, as you can see).

2015-11-16 21:48 GMT+01:00 Eric Valette <[hidden email]>:

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

Sounds like a good hint : I was too lasy to recompile it and as it does not exist in Debian, I used an ubuntu lib and I dunno how it was compiled indeed (I tooks the last ubuntu version but still). Will try to get the corresponding source and recompile it.

Thanks again for your time. I will rebuild it and see...


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 ?

ldd /usr/lib/x86_64-linux-gnu/qt5/plugins/kipiplugin_imgur.so.rm
        linux-vdso.so.1 (0x00007ffdf2dd4000)
        libKF5KIOCore.so.5 => /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5 (0x00007fdefca4f000)
        libKF5kipiplugins.so.5.0.0 => /usr/lib/x86_64-linux-gnu/libKF5kipiplugins.so.5.0.0 (0x00007fdefc7c2000)
        libkqoauth.so.0 => /usr/lib/x86_64-linux-gnu/libkqoauth.so.0 (0x00007fdefc59b000)
        libKF5Kipi.so.30.0.0 => /usr/local/lib/x86_64-linux-gnu/libKF5Kipi.so.30.0.0 (0x00007fdefc36e000)
        libKF5XmlGui.so.5 => /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5 (0x00007fdefc07d000)
        libKF5WindowSystem.so.5 => /usr/lib/x86_64-linux-gnu/libKF5WindowSystem.so.5 (0x00007fdefbe32000)
        libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007fdefbcda000)
        libKF5ConfigWidgets.so.5 => /usr/lib/x86_64-linux-gnu/libKF5ConfigWidgets.so.5 (0x00007fdefba8d000)
        libKF5Codecs.so.5 => /usr/lib/x86_64-linux-gnu/libKF5Codecs.so.5 (0x00007fdefb852000)
        libKF5ConfigGui.so.5 => /usr/lib/x86_64-linux-gnu/libKF5ConfigGui.so.5 (0x00007fdefb632000)
        libKF5Auth.so.5 => /usr/lib/x86_64-linux-gnu/libKF5Auth.so.5 (0x00007fdefb41f000)
        libQt5DBus.so.5 => /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007fdefb3a0000)
        libKF5WidgetsAddons.so.5 => /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5 (0x00007fdefb062000)
        libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007fdefa9d3000)
        libKF5Service.so.5 => /usr/lib/x86_64-linux-gnu/libKF5Service.so.5 (0x00007fdefa73c000)
        libKF5CoreAddons.so.5 => /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5 (0x00007fdefa4b6000)
        libQt5Xml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007fdefa47a000)
        libKF5I18n.so.5 => /usr/lib/x86_64-linux-gnu/libKF5I18n.so.5 (0x00007fdefa247000)
        libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007fdef9cfe000)
        libKF5ConfigCore.so.5 => /usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5 (0x00007fdef9aa2000)
        libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007fdef95ca000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fdef924f000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fdef8f4a000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fdef8d33000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdef8990000)
        libKF5DBusAddons.so.5 => /usr/lib/x86_64-linux-gnu/libKF5DBusAddons.so.5 (0x00007fdef8780000)
        libacl.so.1 => /lib/x86_64-linux-gnu/libacl.so.1 (0x00007fdef8576000)
        libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007fdef7885000)
        libQtNetwork.so.4 => /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4 (0x00007fdef752f000)
        libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007fdef703c000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fdef6e1f000)
        libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007fdef6dab000)
        libKF5TextWidgets.so.5 => /usr/lib/x86_64-linux-gnu/libKF5TextWidgets.so.5 (0x00007fdef6b6b000)
        libKF5GlobalAccel.so.5 => /usr/lib/x86_64-linux-gnu/libKF5GlobalAccel.so.5 (0x00007fdef6949000)
        libKF5Attica.so.5 => /usr/lib/x86_64-linux-gnu/libKF5Attica.so.5 (0x00007fdef66ab000)
        libKF5IconThemes.so.5 => /usr/lib/x86_64-linux-gnu/libKF5IconThemes.so.5 (0x00007fdef6470000)
        libKF5ItemViews.so.5 => /usr/lib/x86_64-linux-gnu/libKF5ItemViews.so.5 (0x00007fdef6237000)
        libQt5X11Extras.so.5 => /usr/lib/x86_64-linux-gnu/libQt5X11Extras.so.5 (0x00007fdef6232000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fdef5eee000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fdef5ccc000)
        libxcb-keysyms.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-keysyms.so.1 (0x00007fdef5ac9000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fdef58ad000)
        libproxy.so.1 => /usr/lib/x86_64-linux-gnu/libproxy.so.1 (0x00007fdef568c000)
        libKF5GuiAddons.so.5 => /usr/lib/x86_64-linux-gnu/libKF5GuiAddons.so.5 (0x00007fdef5472000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007fdef5221000)
        libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fdef4fce000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fdef4cbc000)
        libfam.so.0 => /usr/lib/libfam.so.0 (0x00007fdef4ab4000)
        libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007fdef488c000)
        libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007fdef462d000)
        libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007fdef42fd000)
        libicui18n.so.55 => /usr/lib/x86_64-linux-gnu/libicui18n.so.55 (0x00007fdef3e99000)
        libicuuc.so.55 => /usr/lib/x86_64-linux-gnu/libicuuc.so.55 (0x00007fdef3b05000)
        libpcre16.so.3 => /usr/lib/x86_64-linux-gnu/libpcre16.so.3 (0x00007fdef38a2000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fdef369d000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fdef3495000)
        /lib64/ld-linux-x86-64.so.2 (0x0000563cd423e000)
        libattr.so.1 => /lib/x86_64-linux-gnu/libattr.so.1 (0x00007fdef328f000)
        libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fdef3052000)
        libaudio.so.2 => /usr/lib/x86_64-linux-gnu/libaudio.so.2 (0x00007fdef2e38000)
        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fdef2b8d000)
        libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fdef2985000)
        libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fdef2768000)
        libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fdef255d000)
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fdef234b000)
        libKF5SonnetUi.so.5 => /usr/lib/x86_64-linux-gnu/libKF5SonnetUi.so.5 (0x00007fdef2127000)
        libKF5SonnetCore.so.5 => /usr/lib/x86_64-linux-gnu/libKF5SonnetCore.so.5 (0x00007fdef1f05000)
        libKF5Completion.so.5 => /usr/lib/x86_64-linux-gnu/libKF5Completion.so.5 (0x00007fdef1cce000)
        libQt5Svg.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Svg.so.5 (0x00007fdef1c76000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fdef1a72000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fdef186b000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007fdef17ea000)
        libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007fdef15e0000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fdef1372000)
        libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007fdef114d000)
        libnvidia-tls.so.352.55 => /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.352.55 (0x00007fdef0f49000)
        libnvidia-glcore.so.352.55 => /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.352.55 (0x00007fdeee4b6000)
        libicudata.so.55 => /usr/lib/x86_64-linux-gnu/libicudata.so.55 (0x00007fdeec9fe000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fdeec7d5000)
        libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007fdeec56c000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fdeec366000)
        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007fdeec144000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fdeebf2c000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fdeebd09000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007fdeeba28000)
        libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007fdeeb821000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fdeeb60e000)



_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam : crash in dlopen kipiplugin_imgur.so

Eric Valette
On 16/11/2015 22:05, Gilles Caulier wrote:

> ^^^ it's clear : Qt4 is used to link the plugin. It's abnormal (At5 is
> also used of course, as you can see).

That was it : the Makefile prexisting in the ubuntu source package had
been generated using qt4 qmake and is directly used when using debian
build command. Regenerating it using qt5 qmake (and fixing the original
pcfile.sh

Requires: Qt5Core Qt5Network
)

and reinstalling then rebuilding digikam did the trick!

-- eric




_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel