GNU bug report logs - #50069
grep-3.7 test-regex fails when configured with --without-included-regex

Previous Next

Package: grep;

Reported by: Klaus Dittrich <kladit <at> t-online.de>

Date: Sun, 15 Aug 2021 17:10:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

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 50069 in the body.
You can then email your comments to 50069 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#50069; Package grep. (Sun, 15 Aug 2021 17:10:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Klaus Dittrich <kladit <at> t-online.de>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Sun, 15 Aug 2021 17:10:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Klaus Dittrich <kladit <at> t-online.de>
To: bug-grep <at> gnu.org
Subject: grep-3.7 test-regex fails when configured with
 --without-included-regex
Date: Sun, 15 Aug 2021 18:49:12 +0200
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





Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Sun, 15 Aug 2021 18:23:01 GMT) Full text and rfc822 format available.

Notification sent to Klaus Dittrich <kladit <at> t-online.de>:
bug acknowledged by developer. (Sun, 15 Aug 2021 18:23:01 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Klaus Dittrich <kladit <at> t-online.de>
Cc: 50069-done <at> debbugs.gnu.org
Subject: Re: bug#50069: grep-3.7 test-regex fails when configured with
 --without-included-regex
Date: Sun, 15 Aug 2021 11:22:10 -0700
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 have 
> overlooked something?

You're running into this glibc bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=11053

Unfortunately yhis has not yet been fixed in glibc. However, GNU grep's 
implementation fixes the bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 13 Sep 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 274 days ago.

Previous Next


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