[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pi
From: |
arnold |
Subject: |
Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe |
Date: |
Tue, 12 Dec 2023 13:28:19 -0700 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Andreas Schwab <schwab@suse.de> wrote:
> On Dez 12 2023, arnold@skeeve.com wrote:
>
> > So, yeah, there's potential for flakiness here that's inherent, but
> > most of the time it's not a problem and I don't think there's anything
> > fundamentally wrong.
>
> Doesn't that show that gawk's SIGPIPE handling is racy?
It's inherently racy; the SIGPIPE handling is done around calls
to stdio's popen(), which does fork+exec. I just took a look at
the code and I don't see that there is anything else I can do.
If you can give me access to a machine:
- where the test fails consistently
- has a compiler, gdb and vim (:-)
... I will see if I can improve the situation. Otherwise, I don't
see what else I can do.
You are, of course, welcome to look at the code; perhaps there's
something I've missed, in which case I will be glad to review a
patch.
Thanks,
Arnold
- gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, Andreas Schwab, 2023/12/11
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, arnold, 2023/12/11
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, arnold, 2023/12/11
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, Andreas Schwab, 2023/12/12
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, arnold, 2023/12/12
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, Andreas Schwab, 2023/12/12
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe,
arnold <=
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, Andreas Schwab, 2023/12/13
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, arnold, 2023/12/13
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, Andreas Schwab, 2023/12/13
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, arnold, 2023/12/13
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, arnold, 2023/12/13