Bug 244318 - x11/kf5-kded: crash on session start
Summary: x11/kf5-kded: crash on session start
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: kde
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-22 18:15 UTC by Martin Birgmeier
Modified: 2020-03-16 16:45 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2020-02-22 18:15:28 UTC
Scenario:
- FreeBSD 12.1-RELEASE-p2 #3 r357330M
- ports updated to latest using portmaster

Result:
- Since a while kcrash shows a crash when starting a session. In xorg-session.log I find the following:

[0]% egrep -i 'kded|crash' .local/share/sddm/xorg-session.log 
kdeinit5: preparing to launch 'libkdeinit5_kded5'
Could not open kded5 using a library: Cannot load library libkdeinit5_kded5: (Shared object "libkdeinit5_kded5" not found, required by "kdeinit5")
kdeinit5: Launched KDED, pid = 2329 result = 0
Initializing  "kded_touchpad" :  "kcminit_touchpad"
KCrash: Attempting to start /usr/local/bin/kded5 from kdeinit
kdeinit5: Got EXEC_NEW '/usr/local/bin/kded5' from wrapper.
kdeinit5: preparing to launch '/usr/local/bin/kded5'
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kded5 path = /usr/local/bin pid = 2329
KCrash: Arguments: /usr/local/bin/kded5 
KCrash: Attempting to start /usr/local/lib/libexec/drkonqi from kdeinit
org.kde.plasma: invalid metadata "/usr/local/lib/qt5/plugins/kcm_kded.so"
org.kde.plasma: invalid metadata "/usr/local/lib/qt5/plugins/kded_touchpad.so"
org.kde.plasma: invalid metadata "/usr/local/lib/qt5/plugins/kded_printmanager.so"
[0]% 

-- Martin
Comment 1 Gleb Popov freebsd_committer 2020-03-16 03:21:24 UTC
I had a problem like that. Try following:

1. pkg info -x activity
2. If there is kactivitysomething installed, remove this package only with -f.
3. Try logging again.

This made the crash gone for me.
Comment 2 Martin Birgmeier 2020-03-16 16:43:31 UTC
Interesting, thank you.

I have

[0]# pkg info -x activity                              
plasma5-kactivitymanagerd-5.18.3
[0]# pkg query %rn-%rv plasma5-kactivitymanagerd-5.18.3 
plasma5-plasma-workspace-5.18.3
plasma5-plasma-5.18.3
kf5-kactivities-stats-5.67.0
[0]# 

So plasma5-kactivitymanagerd is needed by three other packages.

Is it the one you deinstalled forcibly?

-- Martin
Comment 3 Gleb Popov freebsd_committer 2020-03-16 16:45:21 UTC
(In reply to Martin Birgmeier from comment #2)
Yep, do `pkg remove plasma5-kactivitymanagerd-5.18.3`.