[Bug 272802] x11/sddm: sometimes, after stopping SDDM, the system becomes unusable

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 29 Jul 2023 19:45:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272802

            Bug ID: 272802
           Summary: x11/sddm: sometimes, after stopping SDDM, the system
                    becomes unusable
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: grahamperrin@gmail.com
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

Created attachment 243694
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243694&action=edit
relevant lines from sddm.log

Not consistently reproducible, however this bugged me twice in a short period
of time, so it's worth reporting. 

Steps: 

 1. use SDDM to start Plasma (X11)

 2. use Plasma for a while

 3. log out

 4. await appearance of the SDDM dialogue

 5. Control-Alt-F2 for ttyv1

 6. login as root

 7. service sddm stop

Expected: 

 8. a fairly short waiting period, then ttyv0 console

Actual result: 

 8. endless blankness/blackout, with a movable pointer

 9. no response to HID input

Workaround: 

10. press the power button (hw.acpi.power_button_state: S5).

Probed after the most recent occurrence: 

-  <https://bsd-hardware.info/?probe=2619fadb11>

Tail of the attached log file: 

[19:46:02.559] (WW) DAEMON: Signal received: SIGTERM
[19:46:02.581] (II) DAEMON: Greeter stopping...
[19:46:02.581] (WW) HELPER: Signal received: SIGTERM
[19:46:07.581] (II) DAEMON: Socket server stopping...
[19:46:07.582] (II) DAEMON: Socket server stopped.
[19:46:07.582] (II) DAEMON: Display server stopping...
[19:46:07.688] (II) DAEMON: Display server stopped.
[19:46:07.688] (II) DAEMON: Running display stop script 
("/usr/local/share/sddm/scripts/Xstop")
[19:46:07.695] (II) DAEMON: Greeter stopping...
[19:46:07.695] (WW) DAEMON: Error from greeter session: "Process crashed"
[19:46:07.695] (WW) DAEMON: Auth: sddm-helper (--socket
/tmp/sddm-auth-05d71555-bd74-4e6c-b296-b0a0addea625 --id 4 --start
/usr/local/bin/sddm-greeter --socket /tmp/sddm-:0-yVgxKr --theme
/usr/local/share/sddm/themes/breeze --user sddm --greeter) crashed (exit code
1)
[19:46:07.695] (WW) DAEMON: Error from greeter session: "Process crashed"
[19:46:07.695] (WW) DAEMON: Auth: sddm-helper exited with 9
[19:46:07.842] (II) DAEMON: Greeter stopped. SDDM::Auth::HelperExitStatus(9)


Maybe worth mentioning: 

a) a scrub of a pool on a mobile hard disk drive on USB began yesterday

b) it feels, to me, as if this bug is more likely to bite after a long and/or
   intensive desktop session.

-- 
You are receiving this mail because:
You are the assignee for the bug.