SUMMARY I was using Plasma 6.0.90 on Wayland in Fedora Rawhide QEMU/KVM VMs in GNOME Boxes using the llvmpipe driver in a Fedora 40 host. plasmashell sometimes crashed in SystemClipboard::checkClipData::ClipboardMode after copying and pasting files in nautilus. https://bugs.kde.org/show_bug.cgi?id=488023 I've seen such crashes twice out of several times doing so. Two drkonqi windows appeared which showed "Gathering the crash information failed for unknown reasons. You can retry or close the windows." at the top. Clicking See Developer information showed "The crash information couldn't be generated" in the middle. The drkonqi windows had messages at the bottom "You need to first install the debugger (gdb) then click the Reload button" even though gdb was installed. Clicking Retry didn't change anything. This problem only seemed to happen with the first crash which showed drkonqi in a VM. Subsequent crashes only showed one drkonqi window and showed traces without the errors above. I reproduced the crash by running and aborting kwrite in Konsole with kwrite & pkill -6 kwrite STEPS TO REPRODUCE 1. Boot a Fedora 40 KDE Plasma installation updated to 2024-6-4 with updates-testing enabled 2. Log in to Plasma 6.0.5 on Wayland 3. Start Konsole 4. Install GNOME Boxes if it isn't already with sudo dnf install gnome-boxes 5. Download Fedora-KDE-Live-x86_64-Rawhide-20240604.n.0.iso from https://koji.fedoraproject.org/koji/buildinfo?buildID=2460858 6. Start GNOME Boxes 7. Boot Fedora-KDE-Live-x86_64-Rawhide-20240604.n.0.iso in a GNOME Boxes QEMU/KVM VM with 4.0 GiB RAM, UEFI enabled, and 3D acceleration disabled using the llvmpipe mesa driver with a shared folder in the host 8. Start Konsole 9. kwrite & 10. pkill -6 kwrite OBSERVED RESULT Two drkonqi windows appeared with errors for the first crash in Plasma 6.0.90 VMs EXPECTED RESULT One drkonqi window should've appeared without errors. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora Rawhide (available in About System) KDE Plasma Version: 6.0.90 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 ADDITIONAL INFORMATION
Created attachment 170171 [details] journal for boot when two drkonqi windows were shown for the first kwrite crash The journal at the time of the first kwrite crash showed two drkonqi services start drkonqi-coredump-launcher@0-2031-1000.service and drkonqi-coredump-launcher@1-3698-0.service. Then there were errors like drkonqi[3712]: org.kde.drkonqi: "Failed to seek to cursor: (22) Invalid argument" polkit-kde-authentication-agent-1 crashed. org.kde.drkonqi.saveCoreToFile failed to authorize through polkitd. drkonqi-polkit-helper was not authorized. drkonqi failed to excavate core as admin with QDBusError("org.freedesktop.DBus.Error.AccessDenied", ""). There were SELinux denials of various daemons including polkitd and pkla-check-authorization connecting to /run/systemd/io.systemd.NamespaceResource, but the drkonqi problem happened with previous Fedora Rawhide images in which those denials didn't happen. I'm attaching the journal from which the following is the most relevant part. Jun 05 09:59:20 systemd[1526]: Started drkonqi-coredump-launcher@0-2031-1000.service - Launch DrKonqi for a systemd-coredump crash (PID 2031/UID 1000). Jun 05 09:59:20 systemd[1526]: Started drkonqi-coredump-launcher@1-3698-0.service - Launch DrKonqi for a systemd-coredump crash (PID 3698/UID 0). Jun 05 09:59:20 systemd[1]: drkonqi-coredump-processor@0-3696-0.service: Deactivated successfully. Jun 05 09:59:20 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=drkonqi-coredump-processor@0-3696-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Jun 05 09:59:20 drkonqi-coredump-launcher[3711]: libEGL warning: egl: failed to create dri2 screen Jun 05 09:59:20 drkonqi-coredump-launcher[3712]: libEGL warning: egl: failed to create dri2 screen Jun 05 09:59:21 drkonqi-coredump-launcher[3711]: MESA: error: ZINK: failed to choose pdev Jun 05 09:59:21 drkonqi-coredump-launcher[3712]: MESA: error: ZINK: failed to choose pdev Jun 05 09:59:21 drkonqi-coredump-launcher[3711]: libEGL warning: egl: failed to create dri2 screen Jun 05 09:59:21 drkonqi-coredump-launcher[3712]: libEGL warning: egl: failed to create dri2 screen Jun 05 09:59:21 drkonqi[3712]: org.kde.drkonqi: "Failed to seek to cursor: (22) Invalid argument" Jun 05 09:59:21 drkonqi[3711]: org.kde.drkonqi: "Failed to seek to cursor: (22) Invalid argument" Jun 05 09:59:21 drkonqi[3712]: kf5idletime_wayland: This plugin does not support polling idle time Jun 05 09:59:21 drkonqi[3711]: kf5idletime_wayland: This plugin does not support polling idle time Jun 05 09:59:25 drkonqi[3712]: qrc:/ui/MainPage.qml:64:13: QML MainPageButton: Binding loop detected for property "icon.height" Jun 05 09:59:25 drkonqi[3712]: qrc:/ui/MainPage.qml:48:13: QML MainPageButton: Binding loop detected for property "icon.height" Jun 05 09:59:25 systemd[1]: Created slice system-dbus\x2d:1.4\x2dorg.kde.drkonqi.slice - Slice /system/dbus-:1.4-org.kde.drkonqi. Jun 05 09:59:25 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dbus-:1.4-org.kde.drkonqi@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Jun 05 09:59:25 systemd[1]: Started dbus-:1.4-org.kde.drkonqi@0.service. Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=11 a1=7ffd9b755cd0 a2=33 a3=55db1d031230 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=f a1=7ffd9b755c50 a2=33 a3=55db1d1031a0 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=f a1=7ffd9b755cd0 a2=33 a3=55db1d1031a0 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=f a1=7ffd9b755c50 a2=33 a3=55db1d030d20 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=f a1=7ffd9b755cd0 a2=33 a3=55db1d1031a0 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=f a1=7ffd9b755c50 a2=33 a3=55db1d1031a0 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[3777]: AVC avc: denied { connectto } for pid=3777 comm="pkla-check-auth" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_auth_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[3777]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=a a1=7ffe623f4330 a2=33 a3=4 items=0 ppid=1215 pid=3777 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="pkla-check-auth" exe="/usr/bin/pkla-check-authorization" subj=system_u:system_r:policykit_auth_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle=2F7573722F62696E2F706B6C612D636865636B2D617574686F72697A6174696F6E006C6976657573657200747275650074727565006F72672E6B64652E64726B6F6E71692E73617665436F7265546F46696C65 Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=f a1=7ffd9b755dd0 a2=33 a3=55db1d0324d0 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=f a1=7ffd9b755d50 a2=33 a3=55db1d1034f0 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=f a1=7ffd9b755dd0 a2=33 a3=55db1d1031a0 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=f a1=7ffd9b755d50 a2=33 a3=55db1d0324d0 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=f a1=7ffd9b755dd0 a2=33 a3=55db1d103940 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=f a1=7ffd9b755d50 a2=33 a3=55db1d032020 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=e a1=7ffd9b7565c0 a2=33 a3=55db1d103940 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=e a1=7ffd9b7565b0 a2=33 a3=55db1d103130 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=e a1=7ffd9b7567b0 a2=33 a3=55db1d1035c0 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:25 audit[1215]: AVC avc: denied { connectto } for pid=1215 comm="polkitd" path="/run/systemd/io.systemd.NamespaceResource" scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:system_r:systemd_nsresourced_t:s0 tclass=unix_stream_socket permissive=0 Jun 05 09:59:25 audit[1215]: SYSCALL arch=c000003e syscall=42 success=no exit=-13 a0=e a1=7ffd9b756730 a2=33 a3=55db1d103130 items=0 ppid=1 pid=1215 auid=4294967295 uid=114 gid=114 euid=114 suid=114 fsuid=114 egid=114 sgid=114 fsgid=114 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0 key=(null) Jun 05 09:59:25 audit: PROCTITLE proctitle="(polkitd)" Jun 05 09:59:26 polkit-agent-helper-1[3784]: pam_unix(polkit-1:auth): user [liveuser] has blank password; authenticated without it Jun 05 09:59:26 audit[3784]: USER_AUTH pid=3784 uid=1000 auid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_unix acct="liveuser" exe="/usr/lib/polkit-1/polkit-agent-helper-1" hostname=? addr=? terminal=? res=success' Jun 05 09:59:26 audit[3784]: USER_ACCT pid=3784 uid=1000 auid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix acct="liveuser" exe="/usr/lib/polkit-1/polkit-agent-helper-1" hostname=? addr=? terminal=? res=success' Jun 05 09:59:26 audit[2035]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=2035 comm="polkit-kde-auth" exe="/usr/libexec/kf6/polkit-kde-authentication-agent-1" sig=11 res=1 Jun 05 09:59:26 polkit-kde-authentication-agent-1[2035]: KCrash: appFilePath points to nullptr! Jun 05 09:59:26 polkit-kde-authentication-agent-1[2035]: KCrash: Application '<unknown>' crashing... crashRecursionCounter = 2 Jun 05 09:59:26 polkitd[1215]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.50, object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus) Jun 05 09:59:26 polkitd[1215]: Operator of unix-session:1 FAILED to authenticate to gain authorization for action org.kde.drkonqi.saveCoreToFile for system-bus-name::1.130 [/usr/libexec/drkonqi --platform wayland --bugaddress submit@bugs.kde.org --programname KWrite --glrenderer llvmpipe (LLVM 18.1.6, 256 bits) --productname kate/kwrite --signal 6 --pid 3673 --appname kwrite --apppath /usr/bin --appversion 24.05.0] (owned by unix-user:liveuser) Jun 05 09:59:26 drkonqi-polkit-helper[3767]: not authorized Jun 05 09:59:26 drkonqi[3712]: false QDBusError("org.freedesktop.DBus.Error.AccessDenied", "") Jun 05 09:59:26 drkonqi[3712]: Failed to excavate core as admin: QDBusError("org.freedesktop.DBus.Error.AccessDenied", "") Jun 05 09:59:26 systemd[1526]: plasma-polkit-agent.service: Main process exited, code=killed, status=11/SEGV Jun 05 09:59:26 systemd[1526]: plasma-polkit-agent.service: Failed with result 'signal'.
The STEPS TO REPRODUCE do not yield the described result for me. Can you check again please?
I've tried the steps with running and aborting kwrite as the first crash in the boot about 10 times, and I found that the problem happened about 50% of the time. There might be a race condition. There were also two drkonqi notification icons in the System Tray when it happened. Sometimes the drkonqi windows weren't always automatically shown and I had to click on Report Bug in the notification or click on the drkonqi icons in the Tray. Thanks.
The polkit-kde-authentication-agent-1 crash in comment 1 didn't create a core dump. I ran sudo gdb -p $(pidof polkit-kde-authentication-agent-1) to attach gdb to polkit-kde-authentication-agent-1 in Plasma 6.0.90 on bare metal. I ran and aborted kwrite. Two drkonqi icons appeared in the System Tray, and when I clicked on them and Report Bug in their notifications, they showed the errors I reported. polkit-kde-authentication-agent-1 crashed in g_source_destroy with what might've been an invalid pointer source=0xaaaaaaaaaaaaaaaa #0 g_source_destroy (source=0xaaaaaaaaaaaaaaaa) at ../glib/gmain.c:1342 #1 0x00007f02dd423e2d in kill_helper (session=session@entry=0x560bb51fd840) at ../src/polkitagent/polkitagentsession.c:381 #2 0x00007f02dd423f49 in kill_helper (session=session@entry=0x560bb51fd840) at ../src/polkitagent/polkitagentsession.c:367 #3 complete_session (session=session@entry=0x560bb51fd840, result=result@entry=0) at ../src/polkitagent/polkitagentsession.c:410 #4 0x00007f02dd424152 in io_watch_have_data (channel=<optimized out>, condition=<optimized out>, user_data=0x560bb51fd840) at ../src/polkitagent/polkitagentsession.c:516 #5 0x00007f02db30a90c in g_main_dispatch (context=0x7f02c4000f00) at ../glib/gmain.c:3344 #6 g_main_context_dispatch_unlocked (context=0x7f02c4000f00) at ../glib/gmain.c:4152 #7 0x00007f02db36b978 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f02c4000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217 #8 0x00007f02db30bd83 in g_main_context_iteration (context=0x7f02c4000f00, may_block=1) at ../glib/gmain.c:4282 #9 0x00007f02db87ca33 in QEventDispatcherGlib::processEvents (this=0x560bb4ea4360, flags=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc41.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394 #10 0x00007f02db5a26f3 in QEventLoop::exec (this=this@entry=0x7ffe626d3410, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc41.x86_64/src/corelib/global/qflags.h:34 #11 0x00007f02db59e67c in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.1-2.fc41.x86_64/src/corelib/global/qflags.h:74 #12 0x00007f02dbdd53dd in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.1-2.fc41.x86_64/src/gui/kernel/qguiapplication.cpp:1926 #13 0x00007f02dc78b0d9 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.1-2.fc41.x86_64/src/widgets/kernel/qapplication.cpp:2555 #14 0x0000560b8e32dc54 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/polkit-kde-6.0.90-1.fc41.x86_64/main.cpp:80 On different boots, there were two drkonqi icons for the first crash, but there weren't the errors in drkonqi I reported. drkonqi could create the traces correctly at those times. When there weren't errors in drkonqi, polkit-kde-authentication-agent-1 didn't seem to crash.
*** This bug has been marked as a duplicate of bug 489096 ***
(In reply to postix from comment #5) > > *** This bug has been marked as a duplicate of bug 489096 *** This report is about two drkonqi windows appearing sometimes for the first crash of plasmashell or kwrite while bug 489096 is about plasmashell crashing in SystemClipboard::checkClipData. The crashes in SystemClipboard::checkClipData I reported at https://bugs.kde.org/show_bug.cgi?id=488023 were more like bug 489096.
I see, I'll un-dup and reopen it again. :)