1.5.21: segfault with findutils 4.3.1

Eric Blake ebb9@byu.net
Wed Nov 15 19:42:00 GMT 2006


Christopher Faylor <cgf-no-personal-reply-please <at> cygwin.com> writes:

> 
> On Wed, Nov 15, 2006 at 06:07:06PM +0100, Ingmar Sittl wrote:
> >running "find -type f -regex '.*[.]trc'" within any (even an empty) directory
> >leads to the following segfault message:
> >
> >Exception: STATUS_ACCESS_VIOLATION at eip=610DDBC0
> 
> FWIW, that IP seems to be in stpbrk.

This is an upstream bug, due to findutils using an out-of-date regex library 
from gnulib.  The gnulib regex library has fixed the bug in the meantime.  I've 
reported this upstream.  I'll see about getting a new findutils release soon, 
whether that means seeing if upstream will release 4.3.2 in the near future, or 
whether it means trying to patch the 4.3.1 tarball to use a newer snapshot of 
gnulib.

But for your particular example, what's wrong with using the identical behavior 
of "-name '*.trc*'" instead of the faulting "-regex '.*[.]trc'"?

-- 
Eric Blake
volunteer cygwin findutils maintainer



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list