X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Blake 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: References: <455B493A DOT 10405 AT elektrobit DOT com> <20061115173258 DOT GB21115 AT trixie DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: List-Archive: List-Post: List-Help: , 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 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/