This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.21: segfault with findutils 4.3.1


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]