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

Checksum error through RA_DAV on Win2K, with binary file

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-05-18 06:18:33 CEST

Hello guys,

I believe I found an obscure bug somewhere deep in RA_DAV. I might be
here, but please bear with me.

I downloaded a fresh copy of JUnit from SourceForge's download servers.
unzipped the file and ran jar tf junit.jar. This command lists the jar's
JAR ran, and everything was fine.

I added the junit.jar to a working copy, and I committed.

When I tried to later checkout trunk/ on this project, SVN stopped while
checking out junit.jar. SVN was complaining about a checksum mismatch

I browsed the repository and downloaded the file through the HTTP
I then went to the command line and ran the same command (jar tf
This time, JAR stopped in mid-stream and complained about a ZipException.

So, I started investigating...

D:\httpd>svn --version
svn, version 0.22.2 (r5918)

D:\httpd>rm -rf bin-repos

D:\httpd>svnadmin create bin-repos

D:\httpd>cd ..

D:\>svn co file:///httpd/bin-repos wc <--- Tried with ra_dav, same
Checked out revision 0.

D:\>cd wc

D:\wc>copy "C:\...\junit3.8.1\junit.jar"
        1 fichier(s) copié(s).

D:\wc>copy "C:\...\junit3.8.1\src.jar"
        1 fichier(s) copié(s).

D:\wc>copy "C:\...\junit3.8.1\cpl-v10.html"
        1 fichier(s) copié(s).

 Le volume dans le lecteur D s'appelle Disque local
 Le numéro de série du volume est 84CC-3527

 Répertoire de D:\wc

2003-05-18 00:01 <REP> .
2003-05-18 00:01 <REP> ..
2003-05-18 00:00 <REP> .svn
2003-05-17 23:58 15 172 cpl-v10.html
2003-05-17 23:58 121 070 junit.jar
2003-05-17 23:58 57 635 src.jar
               3 fichier(s) 193 877 octets
               3 Rép(s) 2 847 920 128 octets libres

D:\wc>svn add junit.jar src.jar cpl-v10.html
A (bin) junit.jar
A (bin) src.jar
A cpl-v10.html

D:\wc>svn commit -m ""
Adding cpl-v10.html
Adding (bin) junit.jar
Adding (bin) src.jar
Transmitting file data ...
Committed revision 1.

D:\wc>cd ..\

D:\>svn co file:///httpd/bin-repos ra_local-wc
A ra_local-wc/src.jar
A ra_local-wc/junit.jar
A ra_local-wc/cpl-v10.html
Checked out revision 1.

D:\>svn co svn://localhost/bin-repos ra_svn-wc
A ra_svn-wc/src.jar
A ra_svn-wc/junit.jar
A ra_svn-wc/cpl-v10.html
Checked out revision 1.

D:\>svn co http://localhost:5649/bin/repos ra_dav-wc
svn: A checksum mismatch occurred
svn: could not checkout a file
svn: close_file: expected and actual checksums do not match:
   expected checksum: 1f40fb782a4f2cf78f161d32670f7a3a
   actual checksum: 10060a3038e3440a0a2209e16589eb2a

Please note that I tried twice: Initial checkout/commit through ra_local
ra_dav, with the same results.

Since I can only reproduce that problem with the junit.jar, it might be
something specific in the data of this file that causes an error
somewhere, but only when through RA_DAV.

So, I am running Apache 2.0.45 (MSI installer), SVN 0.22.2 (r5918), Win
Pro (No SP).

Thanks !
Francois Beausoleil

  Francois Beausoleil
  Developer of Java Gui Builder
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 18 06:19:21 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.