Solved KDE programs core dumps

OP
L

lib13

Active Member

Reaction score: 9
Messages: 149

I used to get some of these core dumps, but not all. That was earlier this year, but after recent KDE upgrades they have gone away. Some tweaks of mine, which I've accumulated over the past few years, and which may or may not be helpful still:

1. Uncheck "File search" in System Settings.

2. Add to /etc/fstab:
Code:
proc            /proc           procfs  rw      0       0
fdesc           /dev/fd         fdescfs rw      0       0
3. Add to /boot/loader.conf:
Code:
kern.maxfiles="25000"

4. Add to /etc/sysctl.conf:
Code:
net.local.stream.recvspace=65536
net.local.stream.sendspace=65536

5. Add to /etc/rc.conf:
Code:
dbus_enable="YES"

6. ~/.xinitrc:
Code:
exec ck-launch-session dbus-launch --exit-with-session startplasma-x11
I've included these on my systems' files, although I already had the net.local.stream.* values.

As mentioned above it seems those processes received abort. Are those two core files you sent traces from the same time? If the abort was sent by the same program or not (different pids are mentioned in those traces).

Have you checked this thread

Ok, solved!
create /usr/local/etc/polkit-1/rules.d//51.shutdown.rules with:
Code:
polkit.addRule(function (action, subject) {
  if ((action.id == "org.freedesktop.consolekit.system.restart" ||
      action.id == "org.freedesktop.consolekit.system.stop")
      && subject.isInGroup("PUTYOURGROUPHERE")) {
    return polkit.Result.YES;
  }
});
create /usr/local/etc/polkit-1/rules.d//52.resume.rules with:
Code:
polkit.addRule(function (action, subject) {
  if (action.id == "org.freedesktop.consolekit.system.suspend"
      && subject.isInGroup("PUTYOURGROUPHERE")) {
    return polkit.Result.YES;
  }
});
and run:
chown -R polkitd /usr/local/etc/polkit-1/
reboot:p
I've also created these two files.
My user already belonged to the operator group.

When I shutdown from the KDE button option no more KDE's related programs seem to create a core dump.
So, I guess this thread is solved.

But, I'm getting a Python3.8 core dump...

Thank you all for your help!
 
Top