https://bugs.kde.org/show_bug.cgi?id=528725

            Bug ID: 528725
           Summary: plasmashell fails to exit on shutdown after libkcups
                    IPP_INTERNAL_ERROR; stop-sigterm timeout (Plasma
                    6.8.2)
    Classification: Plasma
           Product: plasmashell
      Version First 6.8.2
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Printers widget
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

DESCRIPTION
On shutdown, plasmashell does not exit and is killed by systemd after the stop
timeout. The hang begins immediately after the Printers applet logs libkcups
IPP errors. Removing plasma-print-manager fixes it. Possibly related to bug
527208 which has the same symptom but a different trigger (Pager widget).

SUMMARY
On every shutdown, [email protected] waits ~40s. The user journal shows
plasma-plasmashell.service times out in stop-sigterm and is killed with
SIGABRT. All other user units stop within ~0.2s.

Immediately after the stop request, plasmashell logs libkcups IPP errors, then
hangs:

Nov 11 22:03:45.901491 robot systemd[6535]: Stopping plasma-plasmashell.service
- KDE Plasma Workspace...
Nov 11 22:03:46.040207 robot plasmashell[6829]: IPP_INTERNAL_ERROR: clearing
cookies and reconnecting
Nov 11 22:03:46.040254 robot plasmashell[6829]: Failed to reconnect Invalid
argument
Nov 11 22:03:46.041040 robot plasmashell[6829]: IPP_INTERNAL_ERROR: clearing
cookies and reconnecting
Nov 11 22:03:46.041053 robot plasmashell[6829]: Failed to reconnect Invalid
argument
Nov 11 22:03:46.041501 robot plasmashell[6829]: IPP_INTERNAL_ERROR: clearing
cookies and reconnecting
Nov 11 22:03:46.041514 robot plasmashell[6829]: Failed to reconnect Invalid
argument
Nov 11 22:03:46.041744 robot plasmashell[6829]: IPP_INTERNAL_ERROR: clearing
cookies and reconnecting
Nov 11 22:03:46.041758 robot plasmashell[6829]: Failed to reconnect Invalid
argument
Nov 11 22:03:46.070299 robot plasmashell[6829]: QObject::disconnect: Unexpected
nullptr parameter
Nov 11 22:04:25.917483 robot systemd[6535]: plasma-plasmashell.service: State
'stop-sigterm' timed out. Aborting.
Nov 11 22:04:25.917538 robot systemd[6535]: plasma-plasmashell.service: Killing
process 6829 (plasmashell) with signal SIGABRT.
Nov 11 22:04:25.918363 robot plasmashell[6829]: KCrash: Application
'plasmashell' crashing... crashRecursionCounter = 2
Nov 11 22:04:25.966580 robot systemd[6535]: plasma-plasmashell.service: Main
process exited, code=dumped, status=6/ABRT
Nov 11 22:04:25.966672 robot systemd[6535]: plasma-plasmashell.service: Failed
with result 'timeout'.

Context from the same shutdown: every other user service had already stopped by
22:03:46.11 (pipewire was the last), then nothing is logged until the timeout
at 22:04:25.

NOTES
- No printers are configured on this PC. 
- No core dump was captured (systemd-coredump was itself stopping at that point
in shutdown), so I don't have a backtrace. Happy to try to get one if someone
can suggest a reliable method for capturing it at shutdown.

SOFTWARE/OS VERSIONS
Operating System: Fedora 45
KDE Plasma Version: 6.8.2
KDE Frameworks Version: 6.31.0
Qt Version: 6.11.2
Kernel Version: 7.3.3-300.fc45.x86_64 
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to