https://bugs.kde.org/show_bug.cgi?id=450830
Bug ID: 450830 Summary: drkonqi remains running after wayland session end, crashed applications eating CPU Product: drkonqi Version: 5.23.5 Platform: Debian testing OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: pe...@flying-snail.de Target Milestone: --- SUMMARY When ending a session, several background applications tend to crash for whatever reason, raising several instances of drkonqi. However, drkonqi doesn't seem to make any sense in this context, as the session is already closed, nothing can be shown to the user. drkonqi fails to handle this situation adequately and keeps running. All crashed applications remain infinitely busily looping (in wait4 calls on their respective drkonqi instance with WNOHANG flag set), eating a lot of CPU. STEPS TO REPRODUCE 1. Use some of the less robust KDE components (kakonadi, korganizer, kmail often does the trick) 2. Log out from the desktop and wait for the display manager's login page 3. Check out in a text console if remainders of your session are still running, and analyse what they do OBSERVED RESULT All crashed applications remain infinitely busily looping (in wait4 calls on their respective drkonqi instance with WNOHANG flag set), eating a lot of CPU. EXPECTED RESULT Even in case of buggy applications, drkonqi correctly determines that the user session is already closed, does not attempt to show dialogues within those no longer existing sessions, but terminates cleanly instead. SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.