https://bugs.winehq.org/show_bug.cgi?id=49131
--- Comment #5 from Stefan Dösinger stefan@codeweavers.com --- I don't think this particular bug happens on Linux. The problem is inside an #ifdef __APPLE__ piece of code. There might be a similar problem in wine-staging 5.8 though.
The problem is that send_server_task_port() passes server_dir to a macos function, but this global variable is not set when WINESERVERSOCKET is defined (i.e., a socket to talk to wineserver was provided by the parent process).