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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 33069 in the body.
You can then email your comments to 33069 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-grep <at> gnu.org:
bug#33069; Package grep. (Wed, 17 Oct 2018 00:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jim Meyering <jim <at> meyering.net>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Wed, 17 Oct 2018 00:23:02 GMT) Full text and rfc822 format available.

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

Reply sent to Jim Meyering <jim <at> meyering.net>:
You have taken responsibility. (Sun, 28 Oct 2018 23:19:02 GMT) Full text and rfc822 format available.

Notification sent to Jim Meyering <jim <at> meyering.net>:
bug acknowledged by developer. (Sun, 28 Oct 2018 23:19:02 GMT) Full text and rfc822 format available.

Message #10 received at 33069-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: 33069-done <at> debbugs.gnu.org, 27838 <at> debbugs.gnu.org
Subject: Re: bug#33069: FYI: test tweak (one still fails) and gnulib update
Date: Sun, 28 Oct 2018 16:18:05 -0700
On Tue, Oct 16, 2018 at 5:23 PM Jim Meyering <jim <at> meyering.net> wrote:
> 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)]

FYI, this no longer fails with glibc-2.28-9.fc29
I'm marking my 33069 as done.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 26 Nov 2018 12:24:08 GMT) Full text and rfc822 format available.

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

Previous Next


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