monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Invariant violated


From: Matt Johnston
Subject: Re: [Monotone-devel] Invariant violated
Date: Sun, 22 May 2005 13:04:35 +0800
User-agent: Mutt/1.5.6+20040907i

On Sat, May 21, 2005 at 11:41:46PM +0200, Thomas Reitmayr wrote:
> FYI, this happened while pulling the database from colinux. As it's my
> first time trying to use monotone I don't know where the problem is so I
> send you the output as instructed.
> -Thomas Reitmayr.

I can reproduce it here with a known-good monotone instance
(near-current head), it seems that the server is sending
(valid) revision data which doesn't match the associated
revision_id. Someone else reported the same problem to the
list about a week ago.

(Also the netsync error handling isn't smart enough to know
it's not a 'bug in monotone' on the client side).

Could the server admin run "db check" and see if that shows
anything? (I've bcced him) It seems most likely to be bad
hardware or perhaps a strange miscompilation bug, though
could be a server-side monotone bug.

The revision in question seems to be the first revision of a
branch (no old_revision) and has a manifest_id of
785e7d8bed37af1bd14b4b4a6339b8437204011a.

Matt


> monotone --db=colinux.db --key="" pull monotone.colinux.org stable
> monotone: setting default server to monotone.colinux.org
> monotone: setting default collection to stable
> monotone: warning: doing anonymous pull
> monotone: connecting to monotone.colinux.org
> monotone: rebuilding merkle trees for collection stable
> monotone: first time connecting to server monotone.colinux.org
> monotone: I'll assume it's really them, but you might want to
> monotone: double-check their key's fingerprint:
> 54b6e19dec70f5d54054194458bb7b4c616a93cd
> monotone: [bytes in: 2.1M] [bytes out: 110.3k] [certs in: 838] [revs in:
> 279]
> monotone: fatal: std::logic_error: database.cc:1442: invariant 'I(tmp ==
> new_id)' violated
> monotone:
> monotone: this is almost certainly a bug in monotone.
> monotone: please send this error message, the output of 'monotone
> --full-version',
> monotone: and a description of what you were doing to
> address@hidden
> monotone: discarding debug log (maybe you want --debug or --dump?)
> 
> =====================================================================
> debug output:
> 
> monotone: db.fetch("SELECT id FROM 'file_deltas' WHERE id =
> '86ef865e30c7fa44fdbafe54e24611c222a32f74'")
> monotone: db.fetch("SELECT id FROM 'revisions' WHERE id =
> 'c41816932e8237b05bc28412a4a5e82877724cee'")
> monotone: database.cc:1442: invariant 'I(tmp == new_id)' violated
> monotone: [bytes in: 2.1M] [bytes out: 110.3k] [certs in: 838] [revs in:
> 279]
> monotone: db.execute("ROLLBACK")
> monotone: fatal: std::logic_error: database.cc:1442: invariant 'I(tmp ==
> new_id)' violated
> 
> =====================================================================
> 
> monotone --full-version
> monotone 0.19 (base revision: 168adf9537ff136c9b7fe7faad5991f92859390d)
> Running on: Linux 2.6.12-rc4 #1 Sat May 7 12:55:07 MEST 2005 i686
> Changes since base revision:
> 
> new_manifest [52a617d908ac6c4bb5b837ce5306f75155dc59ef]
> 
> old_revision [168adf9537ff136c9b7fe7faad5991f92859390d]
> old_manifest [a9ee1d741b855fdcc0d038d64d913cef70da72f5]
> 
> patch "po/monotone.pot"
>  from [10e6d7cbad87eaa0dbe35c803cafa371567f024b]
>    to [0465f6ac8d09fac5938ac067747b179aca677b67]
> 
> 
>   Generated from data cached in the distribution;
>   further changes may have been made.
> 
>   Generated from data cached in the distribution;
>   further changes may have been made.
> 
>   Generated from data cached in the distribution;
>   further changes may have been made.
> 
> 
> 
>       
>               
> ___________________________________________________________ 
> Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
> http://mail.yahoo.de
> 
> 
> _______________________________________________
> Monotone-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/monotone-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]