[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: Monotone server problems
From: |
Jon Bright |
Subject: |
[Monotone-devel] Re: Monotone server problems |
Date: |
Tue, 06 Apr 2004 17:27:56 +0200 |
User-agent: |
Mozilla Thunderbird 0.5 (Windows/20040207) |
Hi,
graydon hoare wrote:
*** Error: std::logic_error: netio.hh:31: invariant 'I(pos <
str.size())' violated
ooh, that's not very good. at least it was trapped. could you save a
copy of the database which caused that (on the server) for future
reference? I want to nail down remaining bugs in netsync code.
I've played around a bit more. After adding some debug output around
the assertion that was failing, in netio.hh, I changed:
I(pos < str.size());
to
I(pos < str.size() || len == 0);
Since requesting 0 bytes seems valid even if at the end of the buffer
(though it's possibly a logical error to be requesting 0 bytes in the
first place?).
In any event, this seemed to process much more data. Where the previous
runs would get to
monotone: [bytes in: 1502181] [bytes out: 249514]
before spewing, the current one gets to
monotone: [bytes in: 5365218] [bytes out: 249514]
At this point, however, it appears to stop altogether until, on the
server side:
monotone: fd 6 (peer 123.45.67.89:44425) has been idle too long,
disconnecting
The client then shows:
monotone: read from fd 5 (peer host.siliconcircus.com) failed, disconnecting
--
Jon Bright
Silicon Circus Ltd.
http://www.siliconcircus.com
- [Monotone-devel] Monotone server problems, Jon Bright, 2004/04/02
- [Monotone-devel] Re: Monotone server problems, graydon hoare, 2004/04/02
- [Monotone-devel] Re: Monotone server problems,
Jon Bright <=
- [Monotone-devel] Re: Monotone server problems, graydon hoare, 2004/04/06
- [Monotone-devel] Re: Monotone server problems, Jon Bright, 2004/04/06
- [Monotone-devel] Re: Monotone server problems, graydon hoare, 2004/04/06
- [Monotone-devel] Re: Monotone server problems, Jon Bright, 2004/04/06
- [Monotone-devel] Re: Monotone server problems, Jon Bright, 2004/04/06
- [Monotone-devel] Re: Monotone server problems, graydon hoare, 2004/04/09