Subject: bug#21513: closed (Re: assertion error in pop_fail_stack)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 23 Dec 2019 01:10:02 +0000

Your bug report

#21513: assertion error in pop_fail_stack

which was filed against the grep package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
21513: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21513
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: assertion error in pop_fail_stack
From: Paul Eggert <[email-masked]>
To: Hanno Böck <[email-masked]>
Cc: [email-masked]
Date: Sun, 22 Dec 2019 17:09:11 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

As Bug#21513 is now fixed both in Gnulib (which grep uses when configured
--with-included-regex) and in Glibc (which grep uses when configured
--without-included-regex) I am marking the bug report as done.

Subject: assertion error in pop_fail_stack
From: Hanno Böck <[email-masked]>
To: [email-masked]
Date: Fri, 18 Sep 2015 18:37:57 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

This command
grep -E '0|()0|\1|0'
will cause an assert error:
grep: regexec.c:1401: pop_fail_stack: Assertion `num >= 0' failed.

Happens both in the latest release (2.21) and the latest git code.

(this was found with american fuzzy lop)

cu,
-- 
Hanno Böck
http://hboeck.de/

mail/jabber: [email-masked]
GPG: BBB51E42