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

RE: Steps to repro: Revision file lacks trailing newline (bug 2453)

From: Aaron Siri <Aaron.Siri_at_efi.com>
Date: 2006-02-02 19:41:46 CET

I'm wondering if anybody has had a chance to look at this yet. Is there any
more information I need to provide?

-Aaron

-----Original Message-----
From: Aaron Siri [mailto:Aaron.Siri@efi.com]
Sent: Tuesday, January 31, 2006 3:26 PM
To: dev@subversion.tigris.org
Subject: Steps to repro: Revision file lacks trailing newline (bug 2453)

I think I have a script (below) which reproduces SVN bug 2453 ("FSFS commits
>2GB pass but fail verify on Linux, with APR patch").

This was using HTTPD 2.2.0 + Subversion 1.3.0 (FSFS) + Fedora Core 3 (saw the
same error on OS X with HTTPD 2.0.55 and HTTPD 2.2.0). This assumes an empty
(Revision 0) FSFS repository called "bigtest". Please note that these steps
can take a while to execute. I tried just using a single big 3GB file but I
got a content length error and bucket brigade error (may have been due to
some limit in httpd.conf). I tried using just 8 of these files and the
import worked. The inclusion of the 9th file triggers the error. Let me
know if there are any questions.

-Aaron

bash
$ mkdir bigtest
$ cd bigtest
$ ## Create a ~500MB file
$ dd if=/dev/urandom bs=1024 count=500000 of=500mb.file
$ ## Copy the file to create a total of 9 files
$ for ((x=1; x < 9; x++)) ; do cp 500mb.file 500mb$x.file; done;
$ cd ..
$ ## Import the bigtest directory into the repository
$ svn import -m "SVN Test" bigtest http://localhost/svn/bigtest
Adding (bin) bigtest/500mb.file
Adding (bin) bigtest/500mb1.file
Adding (bin) bigtest/500mb2.file
Adding (bin) bigtest/500mb3.file
Adding (bin) bigtest/500mb4.file
Adding (bin) bigtest/500mb5.file
Adding (bin) bigtest/500mb6.file
Adding (bin) bigtest/500mb7.file
Adding (bin) bigtest/500mb8.file
svn: MERGE request failed on '/svn/bigtest'
svn: Revision file lacks trailing newline

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 2 19:42:16 2006

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