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

Re: Checkout over HTTP fails with seemingly random errors

From: Bryan Dyck <bdyck_at_mac.com>
Date: 2005-06-23 09:38:40 CEST

On 22-Jun-05, at 3:15 PM, Stephen Davis wrote:

> On Jun 22, 2005, at 2:36 PM, Bryan Dyck wrote:
>
>
>
>> On 22-Jun-05, at 1:30 PM, Ben Collins-Sussman wrote:
>>
>>
>>
>>> On Jun 22, 2005, at 2:00 PM, Bryan Dyck wrote:
>>>
>>>
>>>
>>>>
>>>>
>>>> svn: Invalid diff stream: [tgt] insn 1 starts beyond the target
>>>> view position
>>>>
>>>> svn: Unexpected end of svndiff input
>>>>
>>>> svn: REPORT request failed on '/svn/prima-survey/!svn/vcc/default'
>>>> svn: REPORT of '/svn/prima-survey/!svn/vcc/default': Chunk
>>>> delimiter was invalid
>>>>
>>>> svn: Checksum mismatch for 'prima-survey/lib/log4j-1.2.9.jar';
>>>> expected: 'c2ced5f8505fe9d1cae685201e9cba07', actual:
>>>> 'be72ae3be573c017a8906647c8b13dd4'
>>>>
>>>> [error] [client 192.168.1.1] Provider encountered an error while
>>>> streaming a REPORT response. [500, #0]
>>>> [error] [client 192.168.1.1] A failure occurred while driving
>>>> the update report editor [500, #190004]
>>>>
>>>>
>>>
>>> This might be the famous bug in APR that only revealed itself on
>>> Tiger recently, something to do with APR using poll instead of
>>> select, or vice versa. The symptom was apache essentially unable
>>> to stream >64k files to the client.
>>>
>>> The bug has been fixed in the latest HEAD of apr and apr-util.
>>>
>>> As an experiment, you might want to checkout the latest apr/apr-
>>> util/httpd, and build them all from source and install. Then
>>> rebuild Subversion, since apr 1.X is binary-incompatible at
>>> runtime with apr-0.X. See if it clears things up.
>>>
>>>
>>
>> Hmm... that sounds like an ugly bug. If that's the case, I'm
>> relieved to hear it, because I was beginning to wonder if I was
>> going slightly crazy.
>>
>> I'll try checking out the latest apr/apr-util/httpd and rebuilding
>> the whole show... Hopefully that clears up the problem. Either
>> way, I'll report back with the results.
>>
>> Thanks for the quick response and keep up the awesome work, Ben
>> (and the rest of the SVN team).
>>
>> Cheers,
>> b
>>
>>
>
> I believe you can also just set the following in your environment
> before configuring apache2. This prevents apache2 from using poll.
>
> export ac_cv_func_poll=no

Apologies for the late response; I had to cut my workday short and
didn't get to finish dealing with this.

Thanks for the tip - I got part way into doing a bleeding-edge build
of everything but since I still have the old version of apr/apr-util
installed, I'll try this first and see if that solves the issue. If
not, I'll grab a recent Apache version (I'm a bit leery of just
checking out HEAD on the 2.1.x tree and building that, so I thought
I'd take the most recent tagged version, since APR 1.x doesn't work
with Apache 2.0.x) and go that route.

Cheers,
b

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 23 09:41:51 2005

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

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