bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33069: FYI: test tweak (one still fails) and gnulib update


From: Jim Meyering
Subject: bug#33069: FYI: test tweak (one still fails) and gnulib update
Date: Tue, 16 Oct 2018 17:21:37 -0700

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)]

Attachment: 0001-grep-test-and-gnulib.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]