[Bug 259402] x11-servers/xorg-server: stopping X makes system unresponsive

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Oct 2021 13:04:31 UTC

            Bug ID: 259402
           Summary: x11-servers/xorg-server: stopping X makes system
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: p5B2E9A8F@t-online.de
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)

When shutting down a X user session system hangs with black screen not reaching
the shell prompt in tty0. The system is completely inresponsive to keyboard or
mouse events. Black screen with cursor in upper left corner and unmovable
mouse-pointer in the middle.

I now upgraded x11-servers/xorg-server 1.20.11_3,1 -> 1.20.13,1 but the problem
was there for some weeks before, persisting this upgrade.

Searching for solutions I found others having exactly the same problem too:

There I learned that first switching to tty0 and killing X there at least gives
me a terminal prompt again:

(II) AIGLX: Suspending AIGLX clients for VT switch                              
^Cxinit: connection to X server lost                                            

waiting for X server to shut down XIO:  fatal IO error 4 (Interrupted system
call) on X server ":0"                             

      after 179932 requests (179929 known processed) with 0 events remaining.   


xinit: X server slow to shut down, sending KILL signal                          
                                           waiting for server to die            

xinit: unexpected signal 2                                                      

No clues in the xorg logfile.
looking at ps aux after shutdown (via ssh from other box) shows no more
X-related processes.

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