- FreeBSD 12.1-RELEASE-p2 #3 r357330M
- ports updated to latest using portmaster
- Since a while kcrash shows a crash when starting a session. In xorg-session.log I find the following:
% 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"
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.
Interesting, thank you.
# pkg info -x activity
# pkg query %rn-%rv plasma5-kactivitymanagerd-5.18.3
So plasma5-kactivitymanagerd is needed by three other packages.
Is it the one you deinstalled forcibly?
(In reply to Martin Birgmeier from comment #2)
Yep, do `pkg remove plasma5-kactivitymanagerd-5.18.3`.
Now I have plasma5-kactivitymanagerd package installed and kded5 doesn't crash anymore.
Martin, can you still reproduce the problem?
Just finished recompiling and reinstalling all the plasma/kde stuff... and indeed, the crash seems gone (after the first startup with the brand-newly installed ports).
Let's close this.
pkg info plasma5-kactivitymanagerd
Name : plasma5-kactivitymanagerd
Version : 5.18.5
Installed on : Mon May 11 11:34:34 2020 -03
Origin : x11/plasma5-kactivitymanagerd
Architecture : FreeBSD:13:amd64
And the crash still happens when starting a session.
Only a kded5.core file and
/var/log/messages:May 18 09:22:54 Papi kernel: pid 1234 (kded5), jid 0, uid 0: exited on signal 11 (core dumped)
Actually I also still have these crashes. I have no idea why there was no such crash right after installing the latest KF5/KDE updates (via portmaster). Maybe because the machine was not rebooted but just sddm restarted.
This is all I get after the crash, besides the core file:
Application: kded5 (kded5), signal: Bus error
#8 0x00000008087644e4 in () at /usr/local/lib/libgio-2.0.so.0
[Inferior 1 (process 1172) detached]
(In reply to Mario Lobo from comment #8)
I have similar crashes in plasmashell. Not always exactly the same, but caused by qt50sqldrivers-sqlit pulling sme of its shared library functions from databases/sqlite3, and others from security/heimdal's sqlite3 library.
Post on the kde-freebsd mailing list - https://mail.kde.org/pipermail/kde-freebsd/2020-May/033969.html
Funny thing - compiling glib20 with debugging enabled makes crash go away and thus makes it impossible to analyze the crash.
kded5 from KDE master also doesn't reproduce it. If anyone has reliable reproducing steps, please share.
Just hit a similar crash after updating a workstation
Based on the comments in this PR I was able to solve it, but had some noteworthy events along the way:
* Reconfigured ports which wanted Kerberos to disable or otherwise not use Heimdal (e.g. p5-Authen-SASL)
* Recompiled/reinstalled those ports, or removed if unneeded (e.g. p5-gssapi)
* Removed heimdal
* Recompiled qt5-sqldrivers-sqlite3 as well as plasma5-kactivitymanagerd, kf5-kactivities, and kf5-kactivities-stats for good measure
* Discovered that net/qt5-network had latched onto libgssapi.so.3 but had no registered dependency, recompiled that one, too.
* Now plasmashell works again (alt-F2, kstart5 plasmashell)