wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

X11 denial of service by client crash

Open zougloub opened this issue 4 months ago • 17 comments

Describe the bug

I've been running some program (https://www.st.com/en/development-tools/stm32cubeide.html) which sometimes crashes (the crash is unrelated to X) and this somehow causes a denial of service on the X11 interface.

Further X11 clients will hang trying to connect to the X socket:

connect(3, {sa_family=AF_UNIX, sun_path=@"/tmp/.X11-unix/X0"}

Which belongs to wayfire, which is otherwise responsive.

For restoring X11 functionality, I have no other workaround except restarting wayfire.

To Reproduce

Reproduction is not easy, I don't know what can cause the crash yet.

Expected behavior

  • If a program crashes, X11 is still available.
  • If an X11 server dies, maybe it can restart

Wayfire version 0.9.0

zougloub avatar Sep 27 '24 17:09 zougloub