www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/20/10:54:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_40
X-Spam-Check-By: sourceware.org
x-cr-hashedpuzzle: CUeb DE9G EHR7 Eiwi E1+F Fo7J F3K3 GvQN HKBg HWUI HaB/ H8p2 IbxR JNx4 KVOf LX3j;1;YwB5AGcAdwBpAG4AQABjAHkAZwB3AGkAbgAuAGMAbwBtAA==;Sosha1_v1;7;{987981C8-E183-41F3-B7BC-F31CEAC8C32E};agBlAGcAZQByAHQAbwBuAEAAYQBrAGEAbQBhAGkALgBjAG8AbQA=;Sat, 20 Mar 2010 15:53:41 GMT;ZgBpAG4AZAAgAGMAcgBhAHMAaAAgAHcAaABpAGwAZQAgAHQAcgBhAHYAZQByAHMAaQBuAGcAIAAvAHAAcgBvAGMA
MIME-Version: 1.0
x-cr-puzzleid: {987981C8-E183-41F3-B7BC-F31CEAC8C32E}
Subject: find crash while traversing /proc
Date: Sat, 20 Mar 2010 08:53:41 -0700
Message-ID: <F3F5304BB3DD2445AF37A9E799FF6EE10C911284@CAVS1.sanmateo.corp.akamai.com>
From: "Egerton, Jim" <jegerton AT akamai DOT com>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Hi,

	I'm running cygwin 1.7.1(0.218/5/3) on Server 2008 and see a
crash with find.   I first noticed it with:

$ find / -name foo

and have narrowed it down a bit to the point where it looks like the
find process crashes looking at it's own data in /proc:

from ps:

      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
O     828    2372     828       2696    1 1000 12:04:24 /usr/bin/find

=46rom pv -l:

  PROCESS            PID COMMAND LINE
find.exe            2696 C:\bin\find.exe -D search /proc/ -name foo

and the crash:

consider_visiting (early): `/proc/828/fd/6': fts_info=3DFTS_NS, fts_level=
=3D
3, prev_depth=3D3 fts_path=3D`/proc/828/fd/6', fts_accpath=3D`6'
assertion "ent->fts_info =3D=3D FTS_NSOK || state.type !=3D 0" failed: file
"/usr/src/findutils-4.5.5-1/src/findutils-4.5.5/find/ftsfind.c", line
477, function: consider_visiting
Aborted (core dumped)

Anyone want to see if this is reproducible?

thanks,
jim


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

- Raw text -


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