https://bugs.winehq.org/show_bug.cgi?id=57608
--- Comment #3 from Bernhard Übelacker bernhardu@mailbox.org --- (In reply to Zeb Figura from comment #1)
(In reply to Bernhard Übelacker from comment #0)
Would it be possible for them to just end too, when the connection to wineserver disappears?
How? What's going to kill them?
Attaching to such a process shows all threads are waiting in a read in wait_select_reply.
The hope was somehow to detect if the other side of the socket is no longer connected, like getting an error like EPIPE from the `read` call by specifying some flag when it gets opened.
In case of wineserver receiving a SIGSEGV it still reaches `do_sigsegv`.
Might it be possible to switch a flag in the shared memory `user_shared_data`, which the regular processes read to detect a crash.
Or would it possible to send a unix signal to the processes in `do_sigsegv`.
Would calling `close` on the socket in `do_sigsegv` help?