[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: Invariant violation in server
From: |
Peter Simons |
Subject: |
[Monotone-devel] Re: Invariant violation in server |
Date: |
07 Apr 2004 22:20:39 +0200 |
Jon Bright sent me instructions how to add debug code before
the invariant that fails. With it, the server produces the
following output now:
fd 6 is armed
i/o probe with 1 armed
db.execute("BEGIN")
processing 7 byte input buffer from peer 213.146.112.87:50191
name delta netcmd, item type pos 0 str.size 43 len 1
name delta netcmd, base identifier pos 1 str.size 43 len 20
name delta netcmd, ident identifier pos 21 str.size 43 len 20
name delta netcmd, compression flag pos 41 str.size 43 len 1
name delta netcmd, delta payload pos 43 str.size 43 len 0
netio.hh:32: invariant 'I(pos < str.size())' violated
db.execute("ROLLBACK")
*** Error: std::logic_error: netio.hh:32: invariant 'I(pos < str.size())'
violated
So apparently, this is a problem with 0-byte deltas.
Anyhow, the good news is that I can reliably re-produce the
crash. :-)
Peter