| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=0.8 required=5.0 tests=AWL,BAYES_50,J_CHICKENPOX_54 |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <08B768A95A4E469CB9E03A528139AF31@marianPC> |
| From: | "marian" <bettabe AT dodo DOT com DOT au> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | findutils-4.5.4-1 problem (updatedb crashing) |
| Date: | Wed, 5 Aug 2009 09:34:10 +1000 |
| MIME-Version: | 1.0 |
| X-IsSubscribed: | yes |
| 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 |
This problem has already been reported on 7/22/2009 9:37 PM, but I think to
have found the reason for it.
Unfortunately I am not able to put together a patch; -- never done one.
What follows is the message I get when running updatedb:
assertion "ent->fts_info == FTS_NSOK || state.type != 0" failed: file
"/usr/src/findutils-4.5.4-1/src/findutils-4.5.4/find/ftsfind.c", line 475,
function: consider_visiting.
I have downloaded the sources tarball for findutils-4.5.4-1 and checked line
475 of ftsfind.c. The block of code line 475 is part of, follows:
/* Cope with the usual cases. */
if (ent->fts_info == FTS_NSOK
|| ent->fts_info == FTS_NS /* e.g. symlink loop */)
(THIS IS LINE 475)
{
assert (!state.have_stat);
assert (ent->fts_info == FTS_NSOK || state.type != 0);
mode = state.type;
}
I can write some c but am not an expert by a long shot, however there is a
comment INSIDE the conditional statement; is that legal c?
I hope to have been helpful rather than annoying, and hope this was the
right list to write to.
Thankyou for your attention.
Regards Marian <marian AT dodo DOT com DOT au>
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |