NetBSD-Bugs archive

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

Re: bin/46148: cvs(1) broken in NetBSD 6.0_BETA



The following reply was made to PR bin/46148; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/46148: cvs(1) broken in NetBSD 6.0_BETA
Date: Mon, 26 Mar 2012 17:39:00 +0000

 On Sat, Mar 24, 2012 at 07:25:02PM +0000, Matthew Mondor wrote:
  >  >  I find this highly improbable -- the current directory is a vnode
  >  >  reference saved in the process structure. If it were changing behind
  >  >  the process's back to some other vnode because of e.g. a refcounting
  >  >  or locking issue, it's highly unlikely you'd see specifically the
  >  >  previous-previous directory; you'd get some arbitrary directory or
  >  >  strange behavior because a regular file got picked up instead.
  >  >  Likewise for the chdir call retrieving and setting the wrong vnode.
  >  >  (And if the pointer were getting arbitrarily corrupted, you'd be
  >  >  seeing crashes.)
  >  
  >  You're probably right, yesterday I looked at the proc and lwp
  >  structures and there's no reason to think that it could remember the
  >  previous cwd (of course some shells can but that's irrelevant).  It
  >  could be that this ff8, spidermonkey or gtk2 bug only occurs on amd64,
  >  too, as I only briefly ran netbsd-5 on amd64, mostly on i386, and I
  >  didn't use netbsd-6 on i386 yet.
 
 Please file a separate PR on this... probably it will turn out to be
 an upstream issue.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index