|
From: | Jim Porter |
Subject: | bug#66186: "make lisp/eshell/esh-proc-tests" fails intermittently since 7e50861ca7ed3f620fe62ac6572f6e88b3600ece |
Date: | Sun, 24 Sep 2023 22:34:55 -0700 |
On 9/24/2023 9:52 PM, Eli Zaretskii wrote:
Date: Sun, 24 Sep 2023 16:02:03 -0700 From: Jim Porter <jporterbugs@gmail.com> However, I don't understand why this would cause an abort though; normally, 'process-send-string' should just signal an Elisp error (which Eshell then catches and does the right thing with it). Maybe there's a bug somewhere in process.c where it's not correctly handling the (real) SIGPIPE signal and converting it to an Elisp signal?In batch mode, SIGPIPE is not ignored by Emacs, see init_signals. This was changed 11 years ago, see commit 4d7e6e51dd.
Thanks, I didn't realize that.
Perhaps Eshell should check that the process is still alive before calling process-send-string?
Ok, how about this? Jens, could you try this patch out to see if it fixes things for you?
0001-Check-for-process-liveness-before-calling-process-se.patch
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |