delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/15/13:46:46

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Blake <ebb9 AT byu DOT net>
Subject: Re: 1.5.21: segfault with findutils 4.3.1
Date: Wed, 15 Nov 2006 18:45:39 +0000 (UTC)
Lines: 25
Message-ID: <loom.20061115T194139-750@post.gmane.org>
References: <455B493A DOT 10405 AT elektrobit DOT com> <20061115173258 DOT GB21115 AT trixie DOT casa DOT cgf DOT cx>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019