GNU bug report logs - #33069
FYI: test tweak (one still fails) and gnulib update

Previous Next

Package: grep;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Wed, 17 Oct 2018 00:23:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


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

From: Jim Meyering <jim <at> meyering.net>
To: bug-grep <at> gnu.org, 27838 <at> debbugs.gnu.org
Subject: FYI: test tweak (one still fails) and gnulib update
Date: Tue, 16 Oct 2018 17:21:37 -0700
[Message part 1 (text/plain, inline)]
Grep's backref-alt test still gets an assertion failure when using
glibc-2.27-32.fc28 (and many others), but I have reduced it to
something much more readable in the attached. I've also updated to
latest gnulib.

This demonstrates that the reduced regexp triggers the same error, in
both grep and sed:

$ printf z > in && LC_ALL=C sed -r 's/(()x)|\2//' in
sed: regexec.c:1342: pop_fail_stack: Assertion `num >= 0' failed.
zsh: abort (core dumped)  LC_ALL=C sed -r 's/(()x)|\2//' in
[Exit 134 (ABRT)]

$ printf z > in && LC_ALL=C grep -E '(()x)|\2' in
grep: regexec.c:1342: pop_fail_stack: Assertion `num >= 0' failed.
zsh: abort (core dumped)  LC_ALL=C grep --color=auto -E '(()x)|\2' in
[Exit 134 (ABRT)]
[0001-grep-test-and-gnulib.diff (application/octet-stream, attachment)]

This bug report was last modified 6 years and 285 days ago.

Previous Next


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