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

KDE System Settings crashes (segfaults) whenever I click "Connections" tab #95236

Open
ramirez7 opened this issue Aug 12, 2020 · 2 comments
Open
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: qt/kde

Comments

@ramirez7
Copy link
Contributor

ramirez7 commented Aug 12, 2020

Issue description

Whenever I open the Connections tab in KDE System Settings, it crashes completely.

Steps to reproduce

Open System Settings and Click "Connections"

Technical details

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.35, NixOS, 20.03.1619.ab3adfe1c76 (Markhor)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.4`
 - channels(root): `"nixos-20.03.1619.ab3adfe1c76"`
 - channels(armando): `"nixpkgs-20.09pre221814.10100a97c89"`
 - nixpkgs: `/home/armando/.nix-defexpr/channels/nixpkgs`

I launched with systemsettings5 on the command line, and it gave me this output (segfault):

$ systemsettings5
kf5.kactivity.stat: [Error at ResultSetPrivate::initQuery]:  QSqlError("1", "Unable to execute statement", "no such column: rl.initiatingAgent")
kf5.kactivity.stat: [Error at ResultSetPrivate::initQuery]:  QSqlError("1", "Unable to execute statement", "no such column: rl.initiatingAgent")
Error loading KCM plugin "kcm_networkmanagement" "The shared library was not found."
Segmentation fault (core dumped)

journalctl -f during it:

Aug 11 20:39:33 nixos kernel: .systemsettings[4136]: segfault at 3fce6 ip 000000000003fce6 sp 00007ffc506568c8 error 14 in .systemsettings5-wrapped[400000+c000]
Aug 11 20:39:33 nixos kernel: Code: Bad RIP value.
Aug 11 20:39:33 nixos systemd[1]: Started Process Core Dump (PID 4152/UID 0).
Aug 11 20:39:33 nixos xsession[10432]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 391, resource id: 65011718, major code: 15 (QueryTree), minor code: 0
Aug 11 20:39:33 nixos xsession[10432]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 396, resource id: 65011718, major code: 18 (ChangeProperty), minor code: 0
Aug 11 20:39:35 nixos systemd-coredump[4153]: Process 4136 (.systemsettings) of user 1000 dumped core.

HOWEVER..if I have the KDE Wallet Manager open w/my wallet Open while I click "Connections", it no longer crashes. I specifically opened the KDE Wallet Manager from the "Account Details" tab. If I open it directly from the taskbar, "Connections" still crashes. So I do have a workaround.

Also, in the "Connections" tab, I get an error notification whenever I click a new network:

Failed to get secrets for NETWORK_NAME

No agents were available for this request.

I also can only add new networks by adding them with wifi passwords unencrypted. When I try to add them in the taskbar, it doesn't work and I see this in journalctl -u NetworkManager:

Aug 11 20:18:02 nixos NetworkManager[865]: <warn>  [1597202282.2898] sup-iface[0x1a933c0,wlp0s20f3]: connection disconnected (reason -3)
Aug 11 20:18:02 nixos NetworkManager[865]: <warn>  [1597202282.8318] device (wlp0s20f3): no secrets: No agents were available for this request.
Aug 11 20:18:02 nixos NetworkManager[865]: <warn>  [1597202282.8328] device (wlp0s20f3): Activation: failed for connection 'NETWORK_NAME'

Relevant expressions from configuration.nix

{
  networking.networkmanager.enable = true;

  # Open kwallet on login
  security.pam.services.kwallet = {
      name = "kwallet";
      enableKwallet = true;
    };

  # Enable the KDE Desktop Environment.
  services.xserver.displayManager.sddm.enable = true;
  services.xserver.desktopManager.plasma5.enable = true;
}
@FRidh
Copy link
Member

FRidh commented Dec 9, 2020

related #102253

@stale
Copy link

stale bot commented Jun 7, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: qt/kde
Projects
None yet
Development

No branches or pull requests

3 participants