GNU bug report logs - #79055
esh-proc-test/kill-pipeline SIGPIPE failure (timing-related)

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Sat, 19 Jul 2025 22:26:01 UTC

Severity: normal

To reply to this bug, email your comments to 79055 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#79055; Package emacs. (Sat, 19 Jul 2025 22:26:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Eggert <eggert <at> cs.ucla.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 19 Jul 2025 22:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Emacs bug reports and feature requests <bug-gnu-emacs <at> gnu.org>
Cc: Jim Porter <jporterbugs <at> gmail.com>
Subject: esh-proc-test/kill-pipeline SIGPIPE failure (timing-related)
Date: Sat, 19 Jul 2025 15:25:14 -0700
I found this bug when testing GNU Emacs master (commit 
291cd2d3419c7be20200db3f0ee5936661ab79f2) on Ubuntu 25.04 x86-64. The 
bug smells like Bug#66186, which has been marked as fixed. Perhaps this 
is a new bug, or perhaps Bug#66186 is still active.

The bug is hard to reproduce. On an Intel Xeon with 6 hyperthreaded 
cores (so /proc/cpuinfo reports 12 processors), I found it when running 
this shell command:

for i in $(seq 100); do make -j12 check || break; done

The failure occurred in the shell loop's 33rd iteration. The top level 
output looked like this:

Running 26 tests (2025-07-19 14:53:29-0700, selector ‘(not (or (tag 
:expensive-test) (tag :unstable) (tag :nativecomp)))’)
   passed   1/26  esh-proc-test/exit-status/failure (0.102406 sec)
   passed   2/26  esh-proc-test/exit-status/success (0.103062 sec)
   passed   3/26  esh-proc-test/exit-status/with-stderr-pipe (0.103069 sec)
make[3]: *** [Makefile:185: lisp/eshell/esh-proc-tests.log] Error 141

Error 141 is Emacs dying due to SIGPIPE.


Evidently it's a timing-related bug. I could not reproduce the problem 
with the simpler command:

make check LOGFILES=lisp/eshell/esh-proc-tests.log

despite trying this 100 times.




This bug report was last modified 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.