swaywm / sway

i3-compatible Wayland compositor
https://swaywm.org
MIT License
14.07k stars 1.08k forks source link

Crash with XWayland inside VMware #8224

Open Greog opened 3 days ago

Greog commented 3 days ago

Sway Version

sway version 1.10-dev-cdde0165 (Jun 28 2024, branch 'master')

Debug Log

Log

Configuration File

The default one

Stack Trace

Trace

Description

I am on Arch Linux 6.9.6 inside VMware Workstation Pro 17.5.1, but I reproduced the same problem with the community edition on a freshly installed arch linux. Sway crashes as soon as I try to launch a XWayland application. Initially I had this problem with Ghidra and Intellij Idea and I thought about a Java problem but then the same problem happened with other XWayland applications such as xterm.

The log and trace refer to me doing the following:

I built both sway (commit cdde016) and libwayland (commit 1d5772b7) from source to have a better trace. I compiled and executed sway with ASAN enabled. Sometimes in the trace I have a huge list of _XSERVTransSocketUNIXAccept: accept() failed

emersion commented 2 days ago

Unfortunately the stack trace doesn't contain any useful info. Maybe try with ASan?