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 1.4.14.6-ffa0:* >>> >>> # ../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 <meyer...@redhat.com> > 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 ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature