bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37408: 27.0.50; list-processes can hang


From: Lars Ingebrigtsen
Subject: bug#37408: 27.0.50; list-processes can hang
Date: Sun, 15 Sep 2019 14:25:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Does this seem familiar to anybody?  Calling `process-contact' on this
> process seems to reliably infloop.

DEFUN ("process-contact", Fprocess_contact, Sprocess_contact,
       1, 2, 0,

[...]

If PROCESS is a non-blocking network process that hasn't been fully
set up yet, this function will block until socket setup has completed.  */)

[...]

  if (NETCONN_P (process))
    wait_for_socket_fds (process, "process-contact");

So this function is advertised as blocking if called on an incompletely
set-up connection, which seems to be the case here.  And it's never
going to be completed, which can happen...

I'm not sure what the right fix here would be.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]