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]

find crash while traversing /proc


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

From 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=FTS_NS, fts_level=
3, prev_depth=3 fts_path=`/proc/828/fd/6', fts_accpath=`6'
assertion "ent->fts_info == FTS_NSOK || state.type != 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


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