Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemsettings5, application launcher, krunner (on input) etc. Cannot mix incompatible Qt library (version 0x50902) with this library (version 0x50901) #31691

Closed
cillianderoiste opened this issue Nov 15, 2017 · 1 comment
Labels

Comments

@cillianderoiste
Copy link
Member

Issue description

Standard KDE programs throw the following error:
Cannot mix incompatible Qt library (version 0x50902) with this library (version 0x50901)
Possibly related to #30551 and #31483.

I do have packages installed in my root and user profiles, but I've upgraded them all and garbage collected.

Steps to reproduce

  1. Login
  2. Click the kicker icon
  3. The desktop crashes and restarts
    (I can also reproduce with a fresh user account)

Here are some sample debug messages from clicking the kicker icon:

$ journalctl -f
Nov 15 10:27:31 work xsession[1641]: QXcbConnection: XCB error: 2 (BadValue), sequence: 1864, resource id: 50331654, major code: 142 (Unknown), minor code: 3
Nov 15 10:27:31 work systemd-journald[558]: Suppressed 1 messages from /user.slice/user-1000.slice
Nov 15 10:27:32 work xsession[1641]: trying to show an empty dialog
Nov 15 10:27:32 work xsession[1641]: KAStatsFavoritesModel::setFavorites is ignored
Nov 15 10:27:32 work xsession[1641]: file:///nix/store/4njsp8vbd94sm88rs20wsb7v6cg01s55-system-path/lib/qt-5.9/qml/QtQuick/Controls/ScrollView.qml:365: TypeError: Cannot read property 'padding' of null
Nov 15 10:27:32 work xsession[1641]: file:///nix/store/4njsp8vbd94sm88rs20wsb7v6cg01s55-system-path/lib/qt-5.9/qml/QtQuick/Controls/ScrollView.qml:364: TypeError: Cannot read property 'padding' of null
Nov 15 10:27:32 work xsession[1641]: file:///nix/store/4njsp8vbd94sm88rs20wsb7v6cg01s55-system-path/lib/qt-5.9/qml/QtQuick/Controls/ScrollView.qml:363: TypeError: Cannot read property 'padding' of null
Nov 15 10:27:32 work xsession[1641]: file:///nix/store/4njsp8vbd94sm88rs20wsb7v6cg01s55-system-path/lib/qt-5.9/qml/QtQuick/Controls/ScrollView.qml:362: TypeError: Cannot read property 'padding' of null
Nov 15 10:27:32 work xsession[1641]: file:///nix/store/4njsp8vbd94sm88rs20wsb7v6cg01s55-system-path/lib/qt-5.9/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property 'width' of null
Nov 15 10:27:32 work xsession[1641]: [KASTATSFAVS]  0x2e33920 0x0 "no client ID yet"   initForClient "org.kde.plasma.kickoff.favorites.instance-3"
Nov 15 10:27:32 work xsession[1641]: [KASTATSFAVS]  0x2e33920 0x26139f0 "org.kde.plasma.kickoff.favorites.instance-3"   Loading the ordering  ("preferred://browser", "kontact.desktop", "systemsettings.desktop", "org.kde.dolphin.desktop", "ktp-contactlist.desktop", "org.kde.kate.desktop", "org.kde.discover.desktop")
Nov 15 10:27:32 work xsession[1641]: [KASTATSFAVS]  0x2e33920 0x26139f0 "org.kde.plasma.kickoff.favorites.instance-3"   Query is Query { Select: LinkedResources, Type: (":any"), Agent: ("org.kde.plasma.favorites.applications", "org.kde.plasma.favorites.contacts", "org.kde.plasma.favorites.documents"), Activity: (":current", ":global"), Url: ("*"), Order: HighScore, Limit: 0 }
Nov 15 10:27:32 work xsession[1641]: Cannot mix incompatible Qt library (version 0x50902) with this library (version 0x50901)
Nov 15 10:27:33 work xsession[1641]: KCrash: Attempting to start /nix/store/vryph1w7zv96i19qh4fxrhf0qfcvqhzv-plasma-workspace-5.11.3-bin/bin/plasmashell from kdeinit
Nov 15 10:27:33 work cupsd[1326]: Expiring subscriptions...
Nov 15 10:27:33 work xsession[1641]: KCrash: Application 'plasmashell' crashing...
Nov 15 10:27:33 work xsession[1641]: Service  "org.kde.StatusNotifierHost-2624" unregistered
Nov 15 10:27:33 work xsession[1641]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 57762, resource id: 23068682, major code: 15 (QueryTree), minor code: 0
Nov 15 10:27:33 work xsession[1641]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 57812, resource id: 23068690, major code: 15 (QueryTree), minor code: 0
Nov 15 10:27:33 work xsession[1641]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 57861, resource id: 23068702, major code: 15 (QueryTree), minor code: 0
Nov 15 10:27:34 work xsession[1641]: Config timer connecting...
Nov 15 10:27:34 work xsession[1641]: powerdevil: Can't contact ck
Nov 15 10:27:34 work xsession[1641]: powerdevil: We are now into activity  "af784a2b-d9dc-4626-80b8-12d21d6b896f"
Nov 15 10:27:34 work xsession[1641]: powerdevil: () ()
Nov 15 10:27:34 work xsession[1641]: powerdevil: Loading profile for plugged AC
Nov 15 10:27:34 work xsession[1641]: powerdevil: Activity is not forcing a profile
Nov 15 10:27:34 work xsession[1641]: powerdevil: Skipping action reload routine as profile has not changed
Nov 15 10:27:34 work xsession[1641]: Setting the name of  0xc9f8d0  to  "org.kde.ActivityManager.Resources.Scoring"
Nov 15 10:27:34 work xsession[1641]: Creating directory:  "/home/goibhniu/.local/share/kactivitymanagerd/resources/"
Nov 15 10:27:34 work xsession[1641]: Cannot mix incompatible Qt library (version 0x50902) with this library (version 0x50901)
Nov 15 10:27:34 work xsession[1641]: KActivities: FATAL ERROR: Failed to contact the activity manager daemon
Nov 15 10:27:34 work xsession[1641]: KActivities: FATAL ERROR: Failed to contact the activity manager daemon
Nov 15 10:27:34 work xsession[1641]: Service started, version:
Nov 15 10:27:34 work xsession[1641]: Cleaning up...
Nov 15 10:27:34 work xsession[1641]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 58061, resource id: 71303172, major code: 18 (ChangeProperty), minor code: 0
Nov 15 10:27:34 work xsession[1641]: WARNING: Cannot find style "org.kde.desktop" - fallback: "/nix/store/4njsp8vbd94sm88rs20wsb7v6cg01s55-system-path/lib/qt-5.9/qml/QtQuick/Controls/Styles/Desktop"
Nov 15 10:27:34 work cupsd[1326]: Expiring subscriptions...

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.9.61, NixOS, 18.03pre120249.9ea242c617 (Impala)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 1.11.15
  • channels(goibhniu): "nixos-18.03pre120398.aeff3080d0"
  • channels(root): "nixos-18.03pre120249.9ea242c617"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
@cillianderoiste cillianderoiste added the 0.kind: bug Something is broken label Nov 15, 2017
@orivej
Copy link
Contributor

orivej commented Nov 17, 2017

A duplicate of #30551. This is a known deficiency of the current implementation of Qt for Nix. To solve this, make sure that the system profile and the user profile contain the same version of Qt (i.e. upgrade both), or use this workaround: #30551 (comment)

@orivej orivej closed this as completed Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants