bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #25294] assertion failure on dangling symlink to //


From: James Youngman
Subject: [bug #25294] assertion failure on dangling symlink to //
Date: Sun, 02 Aug 2009 13:02:37 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.12) Gecko/2009072220 Iceweasel/3.0.6 (Debian-3.0.6-1)

Follow-up Comment #7, bug #25294 (project findutils):

federico, please indicate what version of find you are using.  Also, can you
proproduce the problem with a script which creates a suitable example?  (I
don't have your ~/.mozilla directory here!)



I'm suspicious of this part of the system call trace:

--- SIGCHLD (Child exited) @ 0 (0) ---
newfstatat(7, "cookies.sqlite-journal", 0x131ab00, AT_SYMLINK_NOFOLLOW) = -1
ENOENT (No such file or directory)
lstat("cookies.sqlite-journal", 0x7fff7880b330) = -1 ENOENT (No such file or
directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 6


... because I'm not convinced that fd 7 corresponds to the working directory,
so the lstat could fail or return the wrong information.

My guess is that the lstat call is inside symlink_loop() which is called at
line 462 of ftsfind.c (i.e. for the FTS_NS case).


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25294>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]