From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 15 13:09:36 2021 Received: (at submit) by debbugs.gnu.org; 15 Aug 2021 17:09:36 +0000 Received: from localhost ([127.0.0.1]:47678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFJdg-0007Bk-5c for submit@debbugs.gnu.org; Sun, 15 Aug 2021 13:09:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:39070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFJKR-0006dv-Q9 for submit@debbugs.gnu.org; Sun, 15 Aug 2021 12:49:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFJKQ-00060F-7s for bug-grep@gnu.org; Sun, 15 Aug 2021 12:49:42 -0400 Received: from mailout12.t-online.de ([194.25.134.22]:55366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFJKL-0000yD-1q for bug-grep@gnu.org; Sun, 15 Aug 2021 12:49:40 -0400 Received: from fwd28.aul.t-online.de (fwd28.aul.t-online.de [172.20.26.133]) by mailout12.t-online.de (Postfix) with SMTP id 8C0126DEE for ; Sun, 15 Aug 2021 18:49:24 +0200 (CEST) Received: from df1tl.local.here (JlrBlEZJQhUm58I7UCIhyuMplqPcMJo7vhxvTLQmj9vyzg3Z8vbWY7B-rzCIQSBwbX@[93.239.117.198]) by fwd28.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1mFJJw-24CdiS0; Sun, 15 Aug 2021 18:49:12 +0200 Received: from [192.168.168.33] (df1tl.local.here [192.168.168.33]) by df1tl.local.here (Postfix) with UTF8SMTP id 79174540BD1 for ; Sun, 15 Aug 2021 18:49:12 +0200 (CEST) Message-ID: Date: Sun, 15 Aug 2021 18:49:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.0 Content-Language: de-DE To: bug-grep@gnu.org From: Klaus Dittrich Subject: grep-3.7 test-regex fails when configured with --without-included-regex Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ID: JlrBlEZJQhUm58I7UCIhyuMplqPcMJo7vhxvTLQmj9vyzg3Z8vbWY7B-rzCIQSBwbX X-TOI-EXPURGATEID: 150726::1629046153-0000EDA1-77DE52FB/0/0 CLEAN NORMAL X-TOI-MSGID: a2c8e186-d034-42a2-9c8e-be9d7688c4c5 Received-SPF: none client-ip=194.25.134.22; envelope-from=kladit@t-online.de; helo=mailout12.t-online.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 15 Aug 2021 13:09:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) According to configure --help --without-included-regex don't compile regex; this is the default on systems with recent-enough versions of the GNU C Library (use with caution on other systems). I have installed glib-2.34 so I assumed --without-included-regex would save some time. Instead I got =============================================== GNU grep 3.7: gnulib-tests/test-suite.log =============================================== # TOTAL: 201 # PASS: 192 # SKIP: 8 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: test-regex ================ free(): invalid pointer FAIL test-regex (exit status: 134) Without using this option all run through without any failure. So is this option deprecated, configure/compile logic wrong or do I have overlooked something? -- Regards Klaus From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 15 14:22:23 2021 Received: (at 50069-done) by debbugs.gnu.org; 15 Aug 2021 18:22:23 +0000 Received: from localhost ([127.0.0.1]:47735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFKm6-0002nU-So for submit@debbugs.gnu.org; Sun, 15 Aug 2021 14:22:23 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:45988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFKm4-0002nF-Rn for 50069-done@debbugs.gnu.org; Sun, 15 Aug 2021 14:22:21 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 6D731160078; Sun, 15 Aug 2021 11:22:15 -0700 (PDT) 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 Sx7_8cQdAArF; Sun, 15 Aug 2021 11:22:10 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 8CE1D160076; Sun, 15 Aug 2021 11:22:10 -0700 (PDT) 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 TaqOfqOmkaCG; Sun, 15 Aug 2021 11:22:10 -0700 (PDT) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 698FA1600C3; Sun, 15 Aug 2021 11:22:10 -0700 (PDT) To: Klaus Dittrich References: From: Paul Eggert Organization: UCLA Computer Science Department Subject: Re: bug#50069: grep-3.7 test-regex fails when configured with --without-included-regex Message-ID: <296ae023-89cf-3042-f108-ac7bdc01e435@cs.ucla.edu> Date: Sun, 15 Aug 2021 11:22:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 50069-done Cc: 50069-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) On 8/15/21 9:49 AM, Klaus Dittrich wrote: > --without-included-regex > don't compile regex; this is the default on systems > with recent-enough versions of the GNU C Library > (use with caution on other systems).... > So is this option deprecated, configure/compile logic wrong or do I hav= e=20 > overlooked something? You're running into this glibc bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D11053 Unfortunately yhis has not yet been fixed in glibc. However, GNU grep's=20 implementation fixes the bug. From unknown Sat Jun 14 19:43:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 13 Sep 2021 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator