[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Peculiar date problem with checkout of zero-length files

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 8 Oct 2009 15:32:09 -0400

On Thu, Oct 8, 2009 at 3:22 PM, David Brodbeck <brodbd_at_u.washington.edu> wrote:
> I have a RedHat Linux server that mounts a filesystem via NFSv4 from
> an OpenSolaris system.  I'm seeing very peculiar behavior when I check
> out zero-length files using Subversion 1.5.5.  These files end up with
> random dates, often far in the past or future -- I've seen dates in
> 1917, 1955, 1958, 1987, and 2013.  Naturally this causes Subversion to
> report "bogus date" errors.  I've now reproduced the behavior on three
> different systems using two different Linux distributions (Ubuntu and
> RedHat) and both 32-bit and 64-bit kernels.  Some interesting details:
>
> - The bug DOES NOT occur with Subversion 1.4.2.
>
> - The bug DOES occur with Subversion 1.5.5 and 1.6.5.
>
> - The bug DOES NOT occur when checking out to an NFSv3 filesystem or a
> local ext3 filesystem; it only seems to occur with NFSv4.  (Possibly
> ACL related?)
>
> - The bug DOES NOT occur when both the client and server are
> OpenSolaris machines.
>
> Has anyone seen anything like this before?  Before I noticed that the
> behavior didn't occur in Subversion 1.4.2, I reported it to RedHat as
> a possible kernel bug (#527580), but now I'm wondering if later
> versions of Subversion are doing something peculiar when they create
> zero-length files.

It might be worth comparing the versions of APR used by the different
versions that are working and not working. Subversion uses APR
functions for most (perhaps all) file related routines.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2405291
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-08 21:32:58 CEST

This is an archived mail posted to the Subversion Users mailing list.