Paul Eggert <eggert@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Paul Eggert <eggert@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 34238) by debbugs.gnu.org; 31 Jan 2019 03:21:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 30 22:21:47 2019 Received: from localhost ([127.0.0.1]:52073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gp2vC-0007Gm-OW for submit <at> debbugs.gnu.org; Wed, 30 Jan 2019 22:21:47 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:36538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1gp2v9-0007GY-SN for 34238 <at> debbugs.gnu.org; Wed, 30 Jan 2019 22:21:45 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A4630161135; Wed, 30 Jan 2019 19:21:37 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id A3DTvVIIbHSD; Wed, 30 Jan 2019 19:21:36 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id CB881161144; Wed, 30 Jan 2019 19:21:36 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id d5lrq9i6sAu8; Wed, 30 Jan 2019 19:21:36 -0800 (PST) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id AFF4416112F; Wed, 30 Jan 2019 19:21:36 -0800 (PST) Subject: Re: bug#34238: Assertion `num >= 0' failed at regexec.c:1363 To: Hongxu Chen <leftcopy.chx@HIDDEN> References: <CAJPBKOHY9UkQcR_BWhmFTzLAVdAhML1BY4vD_2nYd0p_+6jLPQ@HIDDEN> From: Paul Eggert <eggert@HIDDEN> Openpgp: preference=signencrypt Autocrypt: addr=eggert@HIDDEN; prefer-encrypt=mutual; keydata= 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 uNcby4U= Organization: UCLA Computer Science Department Message-ID: <60b51590-3820-4c12-b0d8-ec8a45065aa6@HIDDEN> Date: Wed, 30 Jan 2019 19:21:36 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <CAJPBKOHY9UkQcR_BWhmFTzLAVdAhML1BY4vD_2nYd0p_+6jLPQ@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34238 Cc: 34238 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Thanks for the test case. This appears to be the same as bug#22793 so I'll merge them. https://debbugs.gnu.org/22793
bug-grep@HIDDEN
:bug#34238
; Package grep
.
Full text available.Received: (at submit) by debbugs.gnu.org; 29 Jan 2019 02:57:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 28 21:57:51 2019 Received: from localhost ([127.0.0.1]:49657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1goJax-0006Nf-Fb for submit <at> debbugs.gnu.org; Mon, 28 Jan 2019 21:57:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <leftcopy.chx@HIDDEN>) id 1goJav-0006NU-VW for submit <at> debbugs.gnu.org; Mon, 28 Jan 2019 21:57:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:56012) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <leftcopy.chx@HIDDEN>) id 1goJap-0000on-CP for submit <at> debbugs.gnu.org; Mon, 28 Jan 2019 21:57:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <leftcopy.chx@HIDDEN>) id 1goJam-0007Rw-MP for bug-grep@HIDDEN; Mon, 28 Jan 2019 21:57:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <leftcopy.chx@HIDDEN>) id 1goJak-0000fo-ML for bug-grep@HIDDEN; Mon, 28 Jan 2019 21:57:40 -0500 Received: from mail-it1-x12c.google.com ([2607:f8b0:4864:20::12c]:39175) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <leftcopy.chx@HIDDEN>) id 1goJah-0000Sv-14 for bug-grep@HIDDEN; Mon, 28 Jan 2019 21:57:38 -0500 Received: by mail-it1-x12c.google.com with SMTP id a6so1876772itl.4 for <bug-grep@HIDDEN>; Mon, 28 Jan 2019 18:57:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=PTPidEoI6G3sdxsOIpk7wOKt2zlGhzMsSv0FzalxS6g=; b=AepkyKxXsKYtgzgaJqXrTMN4zMB3Wrb0s6ALnhxLjRwyc43hoRoqbx467Ryx2QEnuE 3CjsNSgugqqw+9wQQ6OZqByNEM7JYQj42qjkMpRCJ23BbSa0Csm5Rg3Q44GDy/GrsoWq JrRdUAelkjAlwOIoJxVgtH0uRV/5UdKllipQ1SduqaPhs3RuZXKu0HnJgyfOhAxIId8/ rJg/nqqqmOo8bOdPgWsirvsYR0tRsVy3zgAawdlpeX8Wio43Y10kJIVc44LBztygIbtT bMEXLKJoFulxl9zfWEoXKQFn+z9HQIjTo0oTRxNW+GXQgcR+C52y61WUxMcu9ieQjfhe kaPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PTPidEoI6G3sdxsOIpk7wOKt2zlGhzMsSv0FzalxS6g=; b=AmuWaPz+cA9A238zUkp0BI/G+HkJKmfGnK13Ofhv6ZAM+WxK6hC5gs75jb4tnkf2qW 2Wzj3PyldJ3T2lseU07WGnXImpeiakUY/iKaJVLJX9+HLpe1apEDAshM5pBMTnY9Ltjd QgOGVfdWoUkjOVfqHdHsyndVgunieMCopuho2AwXpHQkdi5fLSt7dtV2yl3rJDb8HfVd MAaydlT3DjxdmPfe4aN0B9ak5vf7eCs8jfJ3b6dbYQq7ZJzQkb3aVF31gOfDiUVh3W8k /ADeJgtR3LrRTmMNegbRhxfONs9UbEFo1nRE+KosMeNb6lJRY560Y2Eh47xtCFpdE8Er mUJQ== X-Gm-Message-State: AJcUukdSdgTxIh3o/Y8Ana59E1YM7g/C/ZfMcSKIN1Dw83WANXmgE7QG SPq9UGkW6TKd+z2n9R4OtYA90pCdqd2+WlVSDElAkFG4 X-Google-Smtp-Source: ALg8bN4gvGa9KH+kC40HOIIH2ci6XxWvl0oMxUikGJQaVbAyIdEKD0WxHxPcL2wlShvYDF/IPdtPRXVp9r4bNxRNd8s= X-Received: by 2002:a24:1aca:: with SMTP id 193mr12128930iti.150.1548730649533; Mon, 28 Jan 2019 18:57:29 -0800 (PST) MIME-Version: 1.0 From: Hongxu Chen <leftcopy.chx@HIDDEN> Date: Tue, 29 Jan 2019 10:57:18 +0800 Message-ID: <CAJPBKOHY9UkQcR_BWhmFTzLAVdAhML1BY4vD_2nYd0p_+6jLPQ@HIDDEN> Subject: Assertion `num >= 0' failed at regexec.c:1363 To: bug-grep@HIDDEN Content-Type: multipart/mixed; boundary="00000000000038134405808ff412" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::12c X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --00000000000038134405808ff412 Content-Type: multipart/alternative; boundary="00000000000038134005808ff410" --00000000000038134005808ff410 Content-Type: text/plain; charset="UTF-8" Hi, GNU grep 3.3.7-8df7 (and other versions such as 3.1) may trigger an assertion failure by executing the following command. echo | grep -f regex.grep Reading symbols from ./grep...done. gdb$ run Starting program: /home/hongxu/FOT/grep-asan/install/bin/grep -q -f assert_regexec.c:1363.grep assert_regexec.c:1363.input [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". grep: ./regexec.c:1363: Idx pop_fail_stack(struct re_fail_stack_t *, Idx *, Idx, regmatch_t *, re_node_set *): Assertion `num >= 0' failed. Program received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=0x6) at ../sysdeps/unix/sysv/linux/raise.c:51 51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. gdb$ bt #0 __GI_raise (sig=sig@entry=0x6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00007ffff6bd1801 in __GI_abort () at abort.c:79 #2 0x00007ffff6bc139a in __assert_fail_base (fmt=0x7ffff6d487d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x5f8d20 <.str.26> "num >= 0", file=file@entry=0x5f8a60 <.str.22> "./regexec.c", line=line@entry=0x553, function=function@entry=0x5f8d60 <__PRETTY_FUNCTION__.pop_fail_stack> "Idx pop_fail_stack(struct re_fail_stack_t *, Idx *, Idx, regmatch_t *, re_node_set *)") at assert.c:92 #3 0x00007ffff6bc1412 in __GI___assert_fail (assertion=0x5f8d20 <.str.26> "num >= 0", file=0x5f8a60 <.str.22> "./regexec.c", line=0x553, function=0x5f8d60 <__PRETTY_FUNCTION__.pop_fail_stack> "Idx pop_fail_stack(struct re_fail_stack_t *, Idx *, Idx, regmatch_t *, re_node_set *)") at assert.c:101 #4 0x00000000005d08f3 in pop_fail_stack (fs=0x7fffffffa3c0, pidx=0x7fffffffa360, nregs=0x4, regs=0x606000000740, eps_via_nodes=0x7fffffffa380) at ./regexec.c:1363 #5 0x00000000005b691b in set_regs (preg=0x60c000000380, mctx=0x7fffffffa6a0, nmatch=0x4, pmatch=0x606000000740, fl_backtrack=0x1) at ./regexec.c:1467 #6 0x0000000000588820 in re_search_internal (preg=0x60c000000380, string=0x7fffffffb8d1 "\n", length=0x0, start=0x0, last_start=0x0, stop=0x0, nmatch=0x4, pmatch=0x606000000740, eflags=0x0) at ./regexec.c:864 #7 0x0000000000589aa8 in re_search_stub (bufp=0x60c000000380, string=0x7fffffffb8d1 "\n", length=0x0, start=0x0, range=0x0, stop=0x0, regs=0x607000000430, ret_len=0x0) at ./regexec.c:425 #8 0x0000000000589e32 in rpl_re_search (bufp=0x60c000000380, string=0x7fffffffb8d1 "\n", length=0x0, start=0x0, range=0x0, regs=0x607000000430) at ./regexec.c:289 #9 0x00000000005160fe in EGexecute (vdc=0x607000000410, buf=0x7fffffffb8d1 "\n", size=0x1, match_size=0x7fffffffb8e0, start_ptr=0x0) at dfasearch.c:357 #10 0x000000000051abec in main (argc=0x5, argv=0x7fffffffbee8) at grep.c:2894 regex.grep is attached. Best Regards, Hongxu --00000000000038134005808ff410 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di= r=3D"ltr"><div dir=3D"ltr"><div>Hi,</div><div><br></div><div>=C2=A0=C2=A0= =C2=A0 GNU grep 3.3.7-8df7 (and other versions such as 3.1) may trigger an = assertion failure by executing the following command.</div><div><br></div><= div>=C2=A0=C2=A0=C2=A0 echo | grep -f regex.grep</div><div><br></div><div>R= eading symbols from ./grep...done.<br>gdb$ run<br>Starting program: /home/h= ongxu/FOT/grep-asan/install/bin/grep -q -f assert_regexec.c:1363.grep asser= t_regexec.c:1363.input<br>[Thread debugging using libthread_db enabled]<br>= Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so= .1".<br>grep: ./regexec.c:1363: Idx pop_fail_stack(struct re_fail_stac= k_t *, Idx *, Idx, regmatch_t *, re_node_set *): Assertion `num >=3D 0&#= 39; failed.<br><br>Program received signal SIGABRT, Aborted.<br>__GI_raise = (sig=3Dsig@entry=3D0x6) at ../sysdeps/unix/sysv/linux/raise.c:51<br>51=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 ../sysdeps/unix/sysv/linux/raise.c: No such fil= e or directory.<br>gdb$ bt<br>#0=C2=A0 __GI_raise (sig=3Dsig@entry=3D0x6) a= t ../sysdeps/unix/sysv/linux/raise.c:51<br>#1=C2=A0 0x00007ffff6bd1801 in _= _GI_abort () at abort.c:79<br>#2=C2=A0 0x00007ffff6bc139a in __assert_fail_= base (fmt=3D0x7ffff6d487d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\= n%n", assertion=3Dassertion@entry=3D0x5f8d20 <.str.26> "num= >=3D 0", file=3Dfile@entry=3D0x5f8a60 <.str.22> "./rege= xec.c", line=3Dline@entry=3D0x553, function=3Dfunction@entry=3D0x5f8d6= 0 <__PRETTY_FUNCTION__.pop_fail_stack> "Idx pop_fail_stack(struc= t re_fail_stack_t *, Idx *, Idx, regmatch_t *, re_node_set *)") at ass= ert.c:92<br>#3=C2=A0 0x00007ffff6bc1412 in __GI___assert_fail (assertion=3D= 0x5f8d20 <.str.26> "num >=3D 0", file=3D0x5f8a60 <.st= r.22> "./regexec.c", line=3D0x553, function=3D0x5f8d60 <__P= RETTY_FUNCTION__.pop_fail_stack> "Idx pop_fail_stack(struct re_fail= _stack_t *, Idx *, Idx, regmatch_t *, re_node_set *)") at assert.c:101= <br>#4=C2=A0 0x00000000005d08f3 in pop_fail_stack (fs=3D0x7fffffffa3c0, pid= x=3D0x7fffffffa360, nregs=3D0x4, regs=3D0x606000000740, eps_via_nodes=3D0x7= fffffffa380) at ./regexec.c:1363<br>#5=C2=A0 0x00000000005b691b in set_regs= (preg=3D0x60c000000380, mctx=3D0x7fffffffa6a0, nmatch=3D0x4, pmatch=3D0x60= 6000000740, fl_backtrack=3D0x1) at ./regexec.c:1467<br>#6=C2=A0 0x000000000= 0588820 in re_search_internal (preg=3D0x60c000000380, string=3D0x7fffffffb8= d1 "\n", length=3D0x0, start=3D0x0, last_start=3D0x0, stop=3D0x0,= nmatch=3D0x4, pmatch=3D0x606000000740, eflags=3D0x0) at ./regexec.c:864<br= >#7=C2=A0 0x0000000000589aa8 in re_search_stub (bufp=3D0x60c000000380, stri= ng=3D0x7fffffffb8d1 "\n", length=3D0x0, start=3D0x0, range=3D0x0,= stop=3D0x0, regs=3D0x607000000430, ret_len=3D0x0) at ./regexec.c:425<br>#8= =C2=A0 0x0000000000589e32 in rpl_re_search (bufp=3D0x60c000000380, string= =3D0x7fffffffb8d1 "\n", length=3D0x0, start=3D0x0, range=3D0x0, r= egs=3D0x607000000430) at ./regexec.c:289<br>#9=C2=A0 0x00000000005160fe in = EGexecute (vdc=3D0x607000000410, buf=3D0x7fffffffb8d1 "\n", size= =3D0x1, match_size=3D0x7fffffffb8e0, start_ptr=3D0x0) at dfasearch.c:357<br= >#10 0x000000000051abec in main (argc=3D0x5, argv=3D0x7fffffffbee8) at grep= .c:2894<br><br></div><div><br></div><div>=C2=A0=C2=A0=C2=A0 regex.grep is a= ttached.<br></div><div><br></div><div><div dir=3D"ltr" class=3D"gmail_signa= ture"><div dir=3D"ltr"><div><div dir=3D"ltr"><font face=3D"Arial, sans-seri= f" color=3D"#313131"><span style=3D"font-size:12px">Best Regards,</span></f= ont><div><font face=3D"Arial, sans-serif" color=3D"#313131"><span style=3D"= font-size:12px">Hongxu</span></font></div></div></div></div></div></div></d= iv></div></div></div></div></div> --00000000000038134005808ff410-- --00000000000038134405808ff412 Content-Type: application/octet-stream; name="regex.grep" Content-Disposition: attachment; filename="regex.grep" Content-Transfer-Encoding: base64 Content-ID: <f_jrh663qj0> X-Attachment-Id: f_jrh663qj0 MAowKlwoMCpcKFwpJFwpKlwoXClcMQ== --00000000000038134405808ff412--
Hongxu Chen <leftcopy.chx@HIDDEN>
:bug-grep@HIDDEN
.
Full text available.bug-grep@HIDDEN
:bug#34238
; Package grep
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.