Bug 1374869 - kde-connect: kdeconnect.so: undefined symbol _ZN21DevicesSortProxyModelC1EP12DevicesModel
Summary: kde-connect: kdeconnect.so: undefined symbol _ZN21DevicesSortProxyModelC1EP12...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kde-connect
Version: 23
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-09 22:16 UTC by Bugzy
Modified: 2016-10-08 19:48 UTC (History)
10 users (show)

Fixed In Version: kde-connect-1.0.1-1.fc23.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-08 19:48:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bugzy 2016-09-09 22:16:06 UTC
Description of problem:
upgrading to latest version of kde-connect breaks the application on fedora 23

Version-Release number of selected component (if applicable):
kde-connect-1.0-1.fc23

How reproducible:
Always

Steps to Reproduce:
1. sudo dnf reinstall kde-connect -y --enablerepo=updates-testing
2. logout and log back into kde session
3. Try using KDE Connect either by visiting KCM configuration module, kdeconnect-cli, or system trey widget. 

Actual results:
1. Opening System Settings > KDE Connect yields the following error:

Cannot load library /usr/lib64/qt5/plugins/kdeconnect.so:(/usr/lib64/qt5/plugins/kdeconnect.so: undefined symbol _ZN21DevicesSortProxyModelC1EP12DevicesModel)

Possible reasons:

-An error occurred during your last KDE upgrade leaving an orphaned control module

-You have old third party modules lying around
 
2. Opening the system tray widget yields the following error:

Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/main.qml:24:1: plugin cannot be loaded for module "org.kde.kdeconnect": Cannot load library /usr/lib64/qt5/qml/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.so: (/usr/lib64/qt5/qml/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.so: undefined symbol: _ZTI21DevicesSortProxyModel)

 
Expected results:
1. Opening System Settings > KDE Connect should display configuration and pairing options.

2. Clicking on system tray widget should show paired device information.

Additional info:

Comment 1 joey23 2016-09-10 19:30:24 UTC
I'm not sure if this is related to this bug, but kde-connect 1.0-1 under Fedora 24 cannot find any Android devices and cannot be found by any Android devices. Prior to the recent update, everything worked fine. The default firewall zone on my computers is FedoraWorkstation, so all the necessary TCP and UDP ports should be open.

Unlike Bugzy, I don't get any error messages, neither when I run systemsettings5 from a terminal windows, nor when I run kdeconnect-cli.

Neither the kde-connect module under systemsettings5 nor kdeconnect-cli can find any android devices after the upgrade from kde-connect 0.9-7. Downgrading to kde-connect 0.9-7 fixes the problem.

I'm using kde-connect under Fedora 24 x84_64 and am usually using the Cinnamon desktop.

Comment 2 Rex Dieter 2016-09-10 20:36:19 UTC
A newer kdeconnect android client is needed to work with 1.0 too (the latest in google play store *only* works with 1.0 for example)

Comment 3 joey23 2016-09-11 05:48:12 UTC
On my Android devices I am using kdeconnect 1.4.1, two of them downloaded from the F-Droid app store and one downloaded yesterday from the Google Play Store. There is no newer Android app available.

Comment 4 Bugzy 2016-09-11 06:53:49 UTC
(In reply to joey23 from comment #3)
> On my Android devices I am using kdeconnect 1.4.1, two of them downloaded
> from the F-Droid app store and one downloaded yesterday from the Google Play
> Store. There is no newer Android app available.

On Fedora 24, after upgrading, you may need to remove your old kdeconnect config files and try repairing your devices as described in the link below:
 
https://albertvaka.wordpress.com/2016/08/26/kde-connect-1-0-is-here/#comment-2582

Comment 5 joey23 2016-09-11 10:59:52 UTC
(In reply to Bugzy from comment #4)
> (In reply to joey23 from comment #3)
> > On my Android devices I am using kdeconnect 1.4.1, two of them downloaded
> > from the F-Droid app store and one downloaded yesterday from the Google Play
> > Store. There is no newer Android app available.
> 
> On Fedora 24, after upgrading, you may need to remove your old kdeconnect
> config files and try repairing your devices as described in the link below:
>  
> https://albertvaka.wordpress.com/2016/08/26/kde-connect-1-0-is-here/#comment-
> 2582

On my notebook I've killed kdeconnectd, deleted ~/.config/kdeconnect, deleted user data of the kdeconnect app on my smartphone via the Android app manager, rebooted the smartphone, logged out on my notebook, logged in to the Plasma desktop, started the kdeconnect app on my smartphone and clicked on the KDE connect entry in the KDE system settings. The computer where I've downgraded to kdeconnect 0.9-7 is powered off. I'm still unable to pair my smartphone with my notebook.

Comment 6 Sinan H 2016-09-11 20:11:10 UTC
I support Joey's experience, after spending a couple of hours to make it work, including fiddling with firewalld, nmap and netstat. I've also tried creating a hotspot on the smartphone to rule out the router. 

Downgrading to 0.9-6.fc24 made it work, though upgrading back breaks it again.
note that I'm on gnome and run kdeconnect through "plasmawindowed org.kde.kdeconnect --statusnotifier", with plasma-workspace installed.

Comment 7 Sinan H 2016-09-13 08:51:05 UTC
Not fixed with September 12 update of the android app.

Also tested on a full plasma workstation, so it's not related to a hidden missing dependency.

Comment 8 Rex Dieter 2016-09-14 14:42:58 UTC
This bug is specifically tracking the f23-specific issue:

Cannot load library /usr/lib64/qt5/plugins/kdeconnect.so:(/usr/lib64/qt5/plugins/kdeconnect.so: undefined symbol _ZN21DevicesSortProxyModelC1EP12DevicesModel)


If you're having other ones, then please file separate bugs (preferably upstream at bugs.kde.org), thank you.

Bugzy, are you still able to reproduce this with all latest updates applied?

Comment 9 Bugzy 2016-09-15 07:13:49 UTC
Rex Dieter, 
I am assuming that you are referring to generic system & security package updates rather than a new kde-connect update. If so, the situation is the same.

I did:
sudo dnf clean all
sudo dnf update -y
sudo dnf update kde-connect -y --enablerepo=updates-testing
Logout && Login

issue remains the same

Comment 10 Enrico Tagliavini 2016-10-04 17:04:15 UTC
Just to make sure this was not pushed to stable by accident: the bug still exists making kde-connect broken in fedora 23 as of now.

Comment 11 vafr 2016-10-04 18:33:21 UTC
Same problem here...

Everything worked just fine until kde_connect update installed today.

Now I get same error messages as reported by Bugzy and cannot find a way to resolve this issue.

>>>
Fout bij het laden van QML-bestand: file:///usr/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/main.qml:24:1: plugin cannot be loaded for module "org.kde.kdeconnect": Cannot load library /usr/lib64/qt5/qml/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.so: (/usr/lib64/qt5/qml/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.so: undefined symbol: _ZTI21DevicesSortProxyModel)
<<<

Linux 4.7.5-100.fc23.x86_64 #1 SMP Mon Sep 26 19:29:03 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Comment 12 Suren Karapetyan 2016-10-04 19:54:39 UTC
This seems to be causing issues with other application too: opening the context menu for some files causes dolphin to segfault. gdb suggests it's happening when dlopening /usr/lib64/qt5/plugins/kdeconnectfileitemaction.so . Uninstalling kde-connect fixes it.

Comment 13 Rex Dieter 2016-10-04 20:48:17 UTC
This bug was reported against kde-connect-1.0-1.fc23

A newer release kde-connect-1.0.1-1.fc23 was in -testing for awhile without any negative feedback.  I guess I'd naively assumed it was better.  Sorry.

Comment 14 Rex Dieter 2016-10-04 21:05:18 UTC
Silly question, anyone try restarting plasma (ie, logout/login) after installing the update?

Re: comment 12

can you give the output from the following 2 commands ?

$ rpm -q -f /usr/lib64/qt5/plugins/kdeconnectfileitemaction.so
$ ldd -r /usr/lib64/qt5/plugins/kdeconnectfileitemaction.so

Comment 15 Suren Karapetyan 2016-10-04 21:17:34 UTC
Session restart doesn't help.

$ rpm -q -f /usr/lib64/qt5/plugins/kdeconnectfileitemaction.so
kde-connect-libs-1.0.1-1.fc23.x86_64

$ ldd -r /usr/lib64/qt5/plugins/kdeconnectfileitemaction.so
        linux-vdso.so.1 (0x00007fff629e2000)
        libKF5KIOWidgets.so.5 => /lib64/libKF5KIOWidgets.so.5 (0x00007ff9e1dc8000)
        libkdeconnectinterfaces.so.1 => /lib64/libkdeconnectinterfaces.so.1 (0x00007ff9e1ba8000)
        libKF5KIOCore.so.5 => /lib64/libKF5KIOCore.so.5 (0x00007ff9e1820000)
        libKF5JobWidgets.so.5 => /lib64/libKF5JobWidgets.so.5 (0x00007ff9e15f8000)
        libKF5Service.so.5 => /lib64/libKF5Service.so.5 (0x00007ff9e1350000)
        libQt5Network.so.5 => /lib64/libQt5Network.so.5 (0x00007ff9e11e0000)
        libKF5Completion.so.5 => /lib64/libKF5Completion.so.5 (0x00007ff9e0fa0000)
        libKF5WidgetsAddons.so.5 => /lib64/libKF5WidgetsAddons.so.5 (0x00007ff9e0c48000)
        libKF5CoreAddons.so.5 => /lib64/libKF5CoreAddons.so.5 (0x00007ff9e09b0000)
        libQt5Widgets.so.5 => /lib64/libQt5Widgets.so.5 (0x00007ff9e0328000)
        libKF5I18n.so.5 => /lib64/libKF5I18n.so.5 (0x00007ff9e00d0000)
        libQt5Gui.so.5 => /lib64/libQt5Gui.so.5 (0x00007ff9dfbd8000)
        libQt5DBus.so.5 => /lib64/libQt5DBus.so.5 (0x00007ff9dfb48000)
        libKF5ConfigCore.so.5 => /lib64/libKF5ConfigCore.so.5 (0x00007ff9df8e8000)
        libQt5Core.so.5 => /lib64/libQt5Core.so.5 (0x00007ff9df468000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007ff9df0e0000)
        libm.so.6 => /lib64/libm.so.6 (0x00007ff9dedd8000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff9debc0000)
        libc.so.6 => /lib64/libc.so.6 (0x00007ff9de7f8000)
        libQt5Concurrent.so.5 => /lib64/libQt5Concurrent.so.5 (0x00007ff9de7f0000)
        libKF5IconThemes.so.5 => /lib64/libKF5IconThemes.so.5 (0x00007ff9de5b0000)
        libKF5WindowSystem.so.5 => /lib64/libKF5WindowSystem.so.5 (0x00007ff9de360000)
        libKF5ConfigWidgets.so.5 => /lib64/libKF5ConfigWidgets.so.5 (0x00007ff9de108000)
        libacl.so.1 => /lib64/libacl.so.1 (0x00007ff9ddef8000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007ff9ddcf0000)
        libKF5Codecs.so.5 => /lib64/libKF5Codecs.so.5 (0x00007ff9ddab0000)
        libKF5ConfigGui.so.5 => /lib64/libKF5ConfigGui.so.5 (0x00007ff9dd890000)
        libQt5Xml.so.5 => /lib64/libQt5Xml.so.5 (0x00007ff9dd850000)
        libKF5Auth.so.5 => /lib64/libKF5Auth.so.5 (0x00007ff9dd630000)
        libQtCore.so.4 => /lib64/libQtCore.so.4 (0x00007ff9dd128000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff9dcf08000)
        libQtDBus.so.4 => /lib64/libQtDBus.so.4 (0x00007ff9dcc80000)
        libkdeui.so.5 => /lib64/libkdeui.so.5 (0x00007ff9dc5d8000)
        libkdecore.so.5 => /lib64/libkdecore.so.5 (0x00007ff9dc0e0000)
        libqjson.so.0 => /lib64/libqjson.so.0 (0x00007ff9dbeb8000)
        libQtGui.so.4 => /lib64/libQtGui.so.4 (0x00007ff9db178000)
        libQtSvg.so.4 => /lib64/libQtSvg.so.4 (0x00007ff9daf18000)
        libKF5DBusAddons.so.5 => /lib64/libKF5DBusAddons.so.5 (0x00007ff9dad00000)
        libQt5X11Extras.so.5 => /lib64/libQt5X11Extras.so.5 (0x00007ff9dacf8000)
        libz.so.1 => /lib64/libz.so.1 (0x00007ff9daae0000)
        libproxy.so.1 => /lib64/libproxy.so.1 (0x00007ff9da8c0000)
        libssl.so.10 => /lib64/libssl.so.10 (0x00007ff9da648000)
        libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007ff9da1e8000)
        libfam.so.0 => /lib64/libfam.so.0 (0x00007ff9d9fd8000)
        libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007ff9d9d80000)
        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007ff9d9a40000)
        libXext.so.6 => /lib64/libXext.so.6 (0x00007ff9d9828000)
        libX11.so.6 => /lib64/libX11.so.6 (0x00007ff9d94e8000)
        libGL.so.1 => /lib64/libGL.so.1 (0x00007ff9d9250000)
        libpng16.so.16 => /lib64/libpng16.so.16 (0x00007ff9d9018000)
        libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007ff9d8db0000)
        libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007ff9d8b58000)
        libicui18n.so.54 => /lib64/libicui18n.so.54 (0x00007ff9d8700000)
        libicuuc.so.54 => /lib64/libicuuc.so.54 (0x00007ff9d8368000)
        libicudata.so.54 => /lib64/libicudata.so.54 (0x00007ff9d6938000)
        libpcre16.so.0 => /lib64/libpcre16.so.0 (0x00007ff9d66c8000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007ff9d64c0000)
        libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007ff9d62b8000)
        librt.so.1 => /lib64/librt.so.1 (0x00007ff9d60b0000)
        /lib64/ld-linux-x86-64.so.2 (0x000055eb0057b000)
        libQt5Svg.so.5 => /lib64/libQt5Svg.so.5 (0x00007ff9d6058000)
        libKF5Archive.so.5 => /lib64/libKF5Archive.so.5 (0x00007ff9d5e20000)
        libKF5ItemViews.so.5 => /lib64/libKF5ItemViews.so.5 (0x00007ff9d5be0000)
        libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007ff9d59d8000)
        libXrender.so.1 => /lib64/libXrender.so.1 (0x00007ff9d57c8000)
        libxcb.so.1 => /lib64/libxcb.so.1 (0x00007ff9d55a0000)
        libxcb-keysyms.so.1 => /lib64/libxcb-keysyms.so.1 (0x00007ff9d5398000)
        libKF5GuiAddons.so.5 => /lib64/libKF5GuiAddons.so.5 (0x00007ff9d5178000)
        libQtXml.so.4 => /lib64/libQtXml.so.4 (0x00007ff9d4f30000)
        libSM.so.6 => /lib64/libSM.so.6 (0x00007ff9d4d20000)
        libICE.so.6 => /lib64/libICE.so.6 (0x00007ff9d4b00000)
        libXft.so.2 => /lib64/libXft.so.2 (0x00007ff9d48e8000)
        libXau.so.6 => /lib64/libXau.so.6 (0x00007ff9d46e0000)
        libXpm.so.4 => /lib64/libXpm.so.4 (0x00007ff9d44c8000)
        libqca.so.2 => /lib64/libqca.so.2 (0x00007ff9d41b0000)
        libattica.so.0.4 => /lib64/libattica.so.0.4 (0x00007ff9d3ed8000)
        libQtNetwork.so.4 => /lib64/libQtNetwork.so.4 (0x00007ff9d3b80000)
        libdbusmenu-qt.so.2 => /lib64/libdbusmenu-qt.so.2 (0x00007ff9d3948000)
        libXtst.so.6 => /lib64/libXtst.so.6 (0x00007ff9d3740000)
        libXcursor.so.1 => /lib64/libXcursor.so.1 (0x00007ff9d3530000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007ff9d3320000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007ff9d30f8000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007ff9d2ed8000)
        libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007ff9d2c28000)
        libXi.so.6 => /lib64/libXi.so.6 (0x00007ff9d2a18000)
        libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007ff9d2808000)
        libXinerama.so.1 => /lib64/libXinerama.so.1 (0x00007ff9d2600000)
        libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007ff9d23b8000)
        libmodman.so.1 => /lib64/libmodman.so.1 (0x00007ff9d21b0000)
        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007ff9d1f60000)
        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007ff9d1c78000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007ff9d1a70000)
        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007ff9d1838000)
        libffi.so.6 => /lib64/libffi.so.6 (0x00007ff9d1630000)
        libexpat.so.1 => /lib64/libexpat.so.1 (0x00007ff9d1400000)
        libxcb-dri3.so.0 => /lib64/libxcb-dri3.so.0 (0x00007ff9d11f8000)
        libxcb-present.so.0 => /lib64/libxcb-present.so.0 (0x00007ff9d0ff0000)
        libxcb-randr.so.0 => /lib64/libxcb-randr.so.0 (0x00007ff9d0de0000)
        libxcb-xfixes.so.0 => /lib64/libxcb-xfixes.so.0 (0x00007ff9d0bd8000)
        libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007ff9d09c8000)
        libxcb-shape.so.0 => /lib64/libxcb-shape.so.0 (0x00007ff9d07c0000)
        libxcb-sync.so.1 => /lib64/libxcb-sync.so.1 (0x00007ff9d05b8000)
        libxshmfence.so.1 => /lib64/libxshmfence.so.1 (0x00007ff9d03b0000)
        libglapi.so.0 => /lib64/libglapi.so.0 (0x00007ff9d0180000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007ff9cff58000)
        libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007ff9cfd50000)
        libX11-xcb.so.1 => /lib64/libX11-xcb.so.1 (0x00007ff9cfb48000)
        libxcb-glx.so.0 => /lib64/libxcb-glx.so.0 (0x00007ff9cf928000)
        libxcb-dri2.so.0 => /lib64/libxcb-dri2.so.0 (0x00007ff9cf720000)
        libXxf86vm.so.1 => /lib64/libXxf86vm.so.1 (0x00007ff9cf518000)
        libdrm.so.2 => /lib64/libdrm.so.2 (0x00007ff9cf308000)
        libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007ff9cf0d8000)
        libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007ff9cf050000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007ff9cee48000)
        libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007ff9cec38000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007ff9cea30000)
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007ff9ce7b8000)
        libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007ff9ce4d0000)
        libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007ff9ce2b8000)
        libdw.so.1 => /lib64/libdw.so.1 (0x00007ff9ce068000)
        libcap.so.2 => /lib64/libcap.so.2 (0x00007ff9cde60000)
        libelf.so.1 => /lib64/libelf.so.1 (0x00007ff9cdc48000)

Comment 16 Rex Dieter 2016-10-04 21:23:46 UTC
except in this case, there are no undefined symbols as what this bug is tracking.

"causes dolphin to segfault", can you generate a backtrace and post it here?

Comment 17 Bugzy 2016-10-05 05:24:54 UTC
For some "causes dolphin to segfault" back traces see https://bugs.kde.org/show_bug.cgi?id=368367 And we can also wait for  Suren Karapetyan backtrace post here.

Comment 18 Suren Karapetyan 2016-10-05 05:48:52 UTC
Program received signal SIGSEGV, Segmentation fault.
QList<QPrinter::PageSize>::QList (this=0x7fffc5a67578 <QPrinterInfoPrivate::shared_null+24>) at ../../src/corelib/tools/qlist.h:121
121         inline QList() : d(&QListData::shared_null) { d->ref.ref(); }
Missing separate debuginfos, use: dnf debuginfo-install attica-0.4.2-8.fc23.x86_64 bluedevil-5.7.5-1.fc23.x86_64 kde-connect-libs-1.0.1-1.fc23.x86_64 kdelibs-4.14.20-1.fc23.x86_64 kf5-frameworkintegration-libs-5.26.0-1.fc23.x86_64 kf5-kwayland-5.26.0-1.fc23.x86_64 kio-extras-16.04.0-1.fc23.x86_64 libedit-3.1-13.20150325cvs.fc23.x86_64 libXpm-3.5.11-4.fc23.x86_64 llvm-libs-3.7.0-4.fc23.x86_64 plasma-breeze-5.7.5-1.fc23.x86_64 plasma-integration-5.7.5-1.fc23.x86_64 qca-2.1.1-4.fc23.x86_64 qjson-0.8.1-10.fc23.x86_64
(gdb) bt
#0  0x00007fffc4f21204 in _GLOBAL__sub_I_qprinterinfo.cpp(void) (this=0x7fffc5a67578 <QPrinterInfoPrivate::shared_null+24>)
    at ../../src/corelib/tools/qlist.h:121
Python Exception <class 'RuntimeError'> maximum recursion depth exceeded while getting the str of an object: 
#1  0x00007fffc4f21204 in _GLOBAL__sub_I_qprinterinfo.cpp(void) (name=..., this=0x7fffc5a67560 <QPrinterInfoPrivate::shared_null>)
    at painting/qprinterinfo_p.h:71
#2  0x00007fffc4f21204 in _GLOBAL__sub_I_qprinterinfo.cpp(void) (__initialize_p=1, __priority=65535) at painting/qprinterinfo.cpp:35
#3  0x00007fffc4f21204 in _GLOBAL__sub_I_qprinterinfo.cpp(void) () at painting/qprinterinfo.cpp:163
#4  0x00007ffff7deb73a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffde68, env=env@entry=0x7fffffffde78)
    at dl-init.c:72
#5  0x00007ffff7deb84b in _dl_init (env=0x7fffffffde78, argv=0x7fffffffde68, argc=1, l=<optimized out>) at dl-init.c:30
#6  0x00007ffff7deb84b in _dl_init (main_map=main_map@entry=0x55555601c070, argc=1, argv=0x7fffffffde68, env=0x7fffffffde78) at dl-init.c:120
#7  0x00007ffff7df03a2 in dl_open_worker (a=a@entry=0x7fffffffb8a8) at dl-open.c:564
#8  0x00007ffff7deb5e4 in _dl_catch_error (objname=objname@entry=0x7fffffffb898, errstring=errstring@entry=0x7fffffffb8a0, mallocedp=mallocedp@entry=0x7fffffffb897, operate=operate@entry=0x7ffff7defd50 <dl_open_worker>, args=args@entry=0x7fffffffb8a8) at dl-error.c:187
#9  0x00007ffff7def6a3 in _dl_open (file=0x5555560185f8 "/usr/lib64/qt5/plugins/kdeconnectfileitemaction.so", mode=-2147483647, caller_dlopen=0x7ffff141e610 <QLibraryPrivate::load_sys()+1680>, nsid=-2, argc=<optimized out>, argv=<optimized out>, env=0x7fffffffde78) at dl-open.c:649
#10 0x00007fffe8c80fc9 in dlopen_doit (a=a@entry=0x7fffffffbac0) at dlopen.c:66
#11 0x00007ffff7deb5e4 in _dl_catch_error (objname=0x555555781c10, errstring=0x555555781c18, mallocedp=0x555555781c08, operate=0x7fffe8c80f70 <dlopen_doit>, args=0x7fffffffbac0) at dl-error.c:187
#12 0x00007fffe8c81631 in _dlerror_run (operate=operate@entry=0x7fffe8c80f70 <dlopen_doit>, args=args@entry=0x7fffffffbac0) at dlerror.c:163
#13 0x00007fffe8c81061 in __dlopen (file=<optimized out>, mode=mode@entry=1) at dlopen.c:87
#14 0x00007ffff141e610 in QLibraryPrivate::load_sys() (this=0x555556009c10) at plugin/qlibrary_unix.cpp:227
#15 0x00007ffff1418d95 in QLibraryPrivate::load() (this=this@entry=0x555556009c10) at plugin/qlibrary.cpp:532
#16 0x00007ffff1418fcb in QLibraryPrivate::loadPlugin() (this=0x555556009c10) at plugin/qlibrary.cpp:580
#17 0x00007ffff306f6fa in KPluginLoader::load() (this=this@entry=0x7fffffffbfe0)
    at /usr/src/debug/kcoreaddons-5.26.0/src/lib/plugin/kpluginloader.cpp:184
#18 0x00007ffff306f82a in KPluginLoader::instance() (this=this@entry=0x7fffffffbfe0)
    at /usr/src/debug/kcoreaddons-5.26.0/src/lib/plugin/kpluginloader.cpp:166
#19 0x00007ffff306f87c in KPluginLoader::factory() (this=this@entry=0x7fffffffbfe0)
    at /usr/src/debug/kcoreaddons-5.26.0/src/lib/plugin/kpluginloader.cpp:111
#20 0x00007ffff7b51f02 in DolphinContextMenu::addFileItemPluginActions() (parentWidget=0x0, parent=0x0, error=0x0, args=..., this=0x555556013150)
    at /usr/include/KF5/KService/kservice.h:522
#21 0x00007ffff7b51f02 in DolphinContextMenu::addFileItemPluginActions() (error=0x0, args=..., parent=0x0, this=<optimized out>)
    at /usr/include/KF5/KService/kservice.h:501
#22 0x00007ffff7b51f02 in DolphinContextMenu::addFileItemPluginActions() (this=this@entry=0x555555d58a70)
    at /usr/src/debug/dolphin-15.12.3/src/dolphincontextmenu.cpp:516
#23 0x00007ffff7b52b47 in DolphinContextMenu::openItemContextMenu() (this=0x555555d58a70)
    at /usr/src/debug/dolphin-15.12.3/src/dolphincontextmenu.cpp:283
#24 0x00007ffff7b548f5 in DolphinContextMenu::open() (this=0x555555d58a70) at /usr/src/debug/dolphin-15.12.3/src/dolphincontextmenu.cpp:113
#25 0x00007ffff7b49075 in DolphinMainWindow::openContextMenu(QPoint const&, KFileItem const&, QUrl const&, QList<QAction*> const&) (this=
    0x55555583b810, pos=..., item=..., url=..., customActions=...) at /usr/src/debug/dolphin-15.12.3/src/dolphinmainwindow.cpp:759

Took another look at the ldd output, the .so is linked with libQt*.so.4 and libQt5*.so.5. Seems like /usr/lib64/libkdeconnectinterfaces.so.1 is linked against qt4. The spec file for kde-connect does build kde-connect for both kde4 and kde5, maybe the kde5 version is being overwritten by the kde4 one.

Comment 19 Suren Karapetyan 2016-10-05 06:15:57 UTC
Verified - kde5 and kde4 versions both have a libkdeconnectinterfaces.so.1 library, and as kde4 one is installed the second during build it overwrites the kde5 one.

Setting _with_kde4 to 0 and rebuilding fixes both issues: undefined symbol and dolphin crashing on context-menu.

Should the kde4 version go into /usr/lib[64]/kde4 ?

Comment 20 Rex Dieter 2016-10-05 13:07:20 UTC
thanks for the excellent detective-work, highlighting precisely where the problem is. I'll get to fixing it asap today.

Comment 22 Suren Karapetyan 2016-10-05 14:21:47 UTC
It Works!

Only thing - I don't know how to test the kde4 subpackages. Is there anything in fedora which uses them?

Comment 23 Rex Dieter 2016-10-05 14:33:39 UTC
Theoretically, kde4 applications can use the kioslave, like digikam.

Comment 24 Fedora Update System 2016-10-06 01:50:02 UTC
kde-connect-1.0.1-1.fc23.1 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b44144a955

Comment 25 Enrico Tagliavini 2016-10-06 18:33:03 UTC
I can confirm kde-connect-1.0.1-1.fc23.1.x86_64 (and related) packages are solving the problem, thank you for the very quick fix + release, much appreciated.

Comment 26 vafr 2016-10-07 07:16:07 UTC
Great, Works for me.

Used testing repo to update:
 
> sudo dnf update kde-connect* --enablerepo=updates-testing
> logout
> login

Comment 27 Fedora Update System 2016-10-08 19:48:08 UTC
kde-connect-1.0.1-1.fc23.1 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.