GNU bug report logs - #65590
29.0.50; esh-var-test/interp-concat-cmd fails on macOS

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Tue, 29 Aug 2023 06:46:02 UTC

Severity: normal

Merged with 65601, 65602

Found in versions 29.0.50, 30.0.50

Full log


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

From: Jim Porter <jporterbugs <at> gmail.com>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 65590 <at> debbugs.gnu.org, michael.albinus <at> gmx.de
Subject: Re: bug#65590: 29.0.50; esh-var-test/interp-concat-cmd fails on macOS
Date: Tue, 29 Aug 2023 17:44:28 -0700
[Message part 1 (text/plain, inline)]
On 8/29/2023 11:59 AM, Stefan Kangas wrote:
> Jim Porter <jporterbugs <at> gmail.com> writes:
> 
>> This looks like a race condition when executing this command:
>>
>>     echo ${*echo "foo\nbar"}-baz
>>
>> That *should* print "foo\nbar-baz", but it tries to print "-baz" (and
>> fails). That appears to be because the subcommand (*echo "foo\nbar")
>> produces no output.
> 
> I can confirm that the error is intermittent, as I'm not seeing it on a re-run.

Can you try the following patches? They shouldn't change the behavior, 
but they do add some extra debugging information to failed tests.

If you can get this to occur when using Eshell interactively, you can 
also enable this output by calling "eshell-debug process" at an Eshell 
prompt before running the offending command.
[0001-Fix-handling-of-Eshell-debug-modes.patch (text/plain, attachment)]
[0002-Add-debug-instrumentation-for-Eshell-process-managem.patch (text/plain, attachment)]

This bug report was last modified 1 year and 276 days ago.

Previous Next


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