GNU bug report logs - #77800
grep-3.12: write-error-msg test failure on fedora rawhide (f43)

Previous Next

Package: grep;

Reported by: Jaroslav Škarvada <jskarvad <at> redhat.com>

Date: Mon, 14 Apr 2025 12:56:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: jackson <at> fastmail.fm
To: "Grisha Levit" <grishalevit <at> gmail.com>, Jaroslav Škarvada <jskarvad <at> redhat.com>
Cc: 77800 <at> debbugs.gnu.org, Paul Eggert <eggert <at> cs.ucla.edu>, Jim Meyering <jim <at> meyering.net>
Subject: bug#77800: grep-3.12: write-error-msg test failure on fedora rawhide (f43)
Date: Tue, 15 Apr 2025 17:37:23 -0500
>> This seems to be fixed if the patch here [1] is _not_ applied when
>> building the RPM

Can you check, perhaps using strace, whether that problematic patch pushes
the total amount of bytes written to stdout by grep, writing to /dev/full as you
invoke it, goes from a little below 4096 bytes, in a single write(2) system call,
to trying to write more than 4096 bytes, which likely forces two write calls,
the first 4096 bytes, then the remainder.

Then I'd speculate further that having to go to a second write(2)  system call
triggers additional logic, perhaps keyed off the 'stdout_error' flag being set,
that leads to the additional error output.

-- 
Paul Jackson
jackson <at> fastmail.fm




This bug report was last modified 7 days ago.

Previous Next


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