Bug reported to the Debian BTS 6 months ago by Robert Millan, initially against gcalctool, tracked down to xtrans by Loic Minier.
The patch below makes SocketUNIXConnect return TRANS_CONNECT_FAILED instead of TRANS_TRY_CONNECT_AGAIN when the socket descriptor does not exist (for instance because a process still references an old stale socket). See the Debian report for an example.
Created attachment 9400 [details] [review]
Patch fixing the return value in case of ENOENT
Applied to master, with slight munging to account for the new abstract socket support. Thanks!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.