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

Re: svnadmin dump fails, "invalid stream: [tgt] insn 1786 starts beyond the target view position"

From: Brett Meyer <brettmeyer_at_cmu.edu>
Date: 2006-09-01 22:41:09 CEST

I have a correction to make to some of my initial analysis and some
additional questions.

Revision 1102 is clearly corrupted, however this corruption does not
impact the active code base because the files checked in in revision
1102 are later deleted in revision 1107. Also significantly (I
think), the files are not modified at all between revision 1102 and
revision 1107. Further, the files impacted by revision 1102 are
completely isolated in their own directory (and this entire directory
is later removed in revision 1107).

My goal is to repair the repository so I can eventually perform
repository splitting with a combination of "svnadmin dump" and
"svndumpfilter" operations. I can do without having this data in my
repository, but my question now is how I remove it? I obviously
can't follow the typical path of performing a "svnadmin dump" and
then using "svndumpfilter" to exclude the path in question.

Is there a way I can safely remove all references to the directory
that was added in revision 1102 and later removed in 1107? If this
is the only revision that is corrupted, I should theoretically repair
the repository as a whole in the process.

Thanks again for your time,
Brett Meyer

On Sep 1, 2006, at 1:35 PM, Brett Meyer wrote:

> I'm trying to create a dump of my repository because I'm trying to
> fork off a portion of our code base for a second repository to be
> used independently by a second set of developers.
> When I try to perform
> svnadmin dump myrepos > mydump
> the dump fails at revision 1102 of 1667, with the following message:
> svnadmin: Invalid diff stream: [tgt] insn 1786 starts beyond the
> target view position
> I can check out without any difficulty revision 1102 and later
> revisions both using file:/// and svn+ssh://. These revisions show
> no obvious sign of corruption (the code base compiles and executes
> without error).
> I'm using subversion 1.2.1 and Berkeley DB 4.1.24 (Apache Portable
> Runtime 0.9.6, but I don't think this is relevant since I can check
> out without any trouble) running on SuSE 9.3.
> Thank you for your time,
> Brett Meyer

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 1 22:42:29 2006

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