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

diff problem notes

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-08-22 06:41:24 CEST

I captured the svndiff of a change to a file which is causing problems when
being sent to the server. The server is throwing error #21006 ("Delta source
ended unexpectedly.") (I don't have the name for 21006 handy... I think it
is SVN_ERR_INCOMPLETE_DATA)

I'm going to try and run this via ra_local to see what happens.

Attached below is the raw data and the breakdown of its meaning. It all
appears to be quite fine. I'm imagining the data gets corrupted in transit,
or that its interpretation blows up.

This is the underlying symptom of the "PUT 500" errors that were reported.

More info as it arises (e.g. ra_local testing)

Cheers,
-g

p.s. I believe Mike has a repro case for an svndiff related bug, too. He
hasn't posted anything, so I don't know if it is the same thing or not...

HEX DATA MEANING (decimal, where appropriate)

53 56 4e 00 "SVN\0"

00 Source view offset: 0
86 f0 77 Source view length: 112759 (length of original file)
86 a0 00 Target view length: 102400
05 Length of instructions: 5
00 Length of new data: 0
00 Copy from source:
    86 a0 102400 bytes
    00 00 offset 0

d0 77 Source view offset: 10359
86 a0 00 Source view length: 102400
d1 01 Target view length:
0b Length of instructions: 5
03 Length of new data: 3
00 Copy from source:
    d0 77 10359 bytes
    85 cf 09 offset 92041 (bytes 102400 thru 112759 of file)
07 Copy from source: 7 bytes
    85 b5 1b offset 88731 (found "changed " at 99090)
83 Copy from new data: 3 bytes
23 33 0a New data: "#3\n"

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:36 2006

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