[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regex [was: M4 1.4.14 on AIX 7.1BETA]

From: Eric Blake
Subject: Re: regex [was: M4 1.4.14 on AIX 7.1BETA]
Date: Thu, 29 Jul 2010 17:03:38 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1

On 07/29/2010 11:19 AM, Paolo Bonzini wrote:
> On 07/29/2010 07:10 PM, Eric Blake wrote:
>> On 07/29/2010 10:46 AM, Rainer Tammer wrote:
>>> *If I use M4*
>>> # ../src/m4 164.regexp
>>> ../src/m4:164.regexp:10: bad regular expression: `\<[a-z]\w+': Memory
>>> exhausted
>> ...and has since regressed.
> Looks like we have a suspect...
> commit 602e3e6b709592f883ebb7bf58df1f955ea4b8f2
> Author: Jim Meyering <address@hidden>
> Date:   Fri Mar 19 21:26:36 2010 +0100
>     regcomp.c: make non-_LIBC implementation of build_range_exp consistent

Not just ranges, but simpler expressions were dumping core for Rainer,
so I'm not sure if you've nailed the right culprit patch:

echo 'regexp(,^)' | src/m4

should output 0, not complain about memory failure.

> Unfortunately, I don't think I'll have much time to look at it.  Anyway,
> Eric, is this reproducible on a glibc system --with-included-regex?

Not on my 64-bit Fedora 13.  I'll try again on 32-bit cygwin, but don't
suspect any difference.  If I had access to an AIX machine, then I could
use a debugger to help pinpoint it a little faster.

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]