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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Klaus Dittrich <kladit <at> t-online.de>
Subject: bug#50069: closed (Re: bug#50069: grep-3.7 test-regex fails when
 configured with --without-included-regex)
Date: Sun, 15 Aug 2021 18:23:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#50069: grep-3.7 test-regex fails when configured with --without-included-regex

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 50069 <at> debbugs.gnu.org.

-- 
50069: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50069
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.

[Message part 3 (message/rfc822, inline)]
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




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

Previous Next


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