[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24201: 25.1.50; TLS connections sometimes hang
From: |
Basil L. Contovounesios |
Subject: |
bug#24201: 25.1.50; TLS connections sometimes hang |
Date: |
Fri, 28 Jun 2019 15:39:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>> OK, so that Ffuncall calls network-stream-get-response. the next
>> question is what Lisp code runs 2 stack frames above, i.e. which Lisp
>> code calls some other Lisp code, which calls
>> network-stream-get-response? Can you spot that? The offending code
>> should be somewhere in network-stream-get-response or functions it
>> calls.
>>
>> Once we identify the Lisp code which loops, we need to try to figure
>> out why it loops.
>
> I'm pretty sure it's this:
>
> (while (and (memq (process-status stream) '(open run))
> (not (re-search-forward end-of-command nil t)))
> (accept-process-output stream 0.05)
> (goto-char start))
This is probably unrelated, but isn't there a race condition between
checking process-status and accepting output, as described in
(info "(elisp) Accepting Output")?
Thanks,
--
Basil
- bug#24201: 25.1.50; TLS connections sometimes hang, (continued)
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/25
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/26
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/27
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/27
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/27
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/28
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/28
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/28
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/28
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/28
- bug#24201: 25.1.50; TLS connections sometimes hang,
Basil L. Contovounesios <=
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/28
- bug#24201: 25.1.50; TLS connections sometimes hang, Lars Ingebrigtsen, 2019/06/30
- bug#24201: 25.1.50; TLS connections sometimes hang, Eli Zaretskii, 2019/06/26