monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: Invariant failure


From: Richard Levitte - VMS Whacker
Subject: [Monotone-devel] Re: Invariant failure
Date: Wed, 15 Sep 2004 12:35:28 +0200 (CEST)

In message <address@hidden> on Tue, 14 Sep 2004 10:35:31 -0400, "graydon hoare" 
<address@hidden> said:

graydon> On Tue, 14 Sep 2004 13:54:09 +0200 (CEST), Richard Levitte - VMS 
Whacker <address@hidden> wrote:
graydon> 
graydon> > In message <address@hidden> on 09 Sep 2004 23:16:16 +0200, Peter 
Simons <address@hidden> said:
graydon> >
graydon> > simons>   monotone: fatal: std::logic_error: patch_set.cc:351:
graydon> > simons>           invariant 'I(m_old.find(i->first) != m_old.end())'
graydon> > simons>           violated
graydon> > simons>
graydon> > simons> Does anyone have advice on how to proceed?
graydon> >
graydon> > I just hit the exact same problem (although with a different set of
graydon> > files :-)), and I haven't seen a reply to this yet, so I'm asking the
graydon> > same question.
graydon> 
graydon> the problem stems from your database having
graydon> previously-composed rename certs in it. for quite a while the
graydon> logic for issuing rename certs after merges was broken, so a
graydon> lot of them got composed which are essentially impossible to
graydon> interpret correctly. they make no sense. so I was in a sort
graydon> of tight situation there: either I fire an invariant failure
graydon> when I detect the nonsense (shutting down the process) or I
graydon> continue and possibly make an incorrect decision about moving
graydon> files around in your manifest or working copy (potential data
graydon> loss). I opted for the former. it's an ugly situation though.

How long ago was this?  In my case, The trouble is that this has
happened with a fairly recent build, done September 2 this year from a
fresh pull and update.  The rename certs are very few, there are two
as a result of a propagate (or so it seems, and I can't quite grasp
why they would be there), the other one is an actual rename I did.
The complete list of certificates is as follows:

: ; monotone heads
monotone: fetching heads of branch 
'se.kth.pdc.rfc3820.openssl.0_9_7-stable.rfc3820'
branch 'se.kth.pdc.rfc3820.openssl.0_9_7-stable.rfc3820' is currently merged:
548e613772541a51de76703ac716c6622e55cd4c address@hidden 2004-09-13T14:29:48
: ; monotone list certs 548e613772541a51de76703ac716c6622e55cd4c
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : ancestor
Value : 6d875f876593d3600980f4f5f17ba64b0c220b36
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : branch
Value : se.kth.pdc.rfc3820.openssl.0_9_7-stable.rfc3820
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : date
Value : 2004-09-13T14:29:48
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : author
Value : address@hidden
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : changelog
Value : Proxy Certificate Info extension handler implemented.
      : make update
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : rename
Value : <binary data>

: ; monotone list certs 6d875f876593d3600980f4f5f17ba64b0c220b36
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : ancestor
Value : a047a5ab95d0f4251e467723ac6f15d95aa01445
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : ancestor
Value : 71a58891d8ed74efdbb17fee5322cdcb45b50e95
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : date
Value : 2004-09-07T14:30:03
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : author
Value : address@hidden
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : rename
Value : <binary data>
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : rename
Value : <binary data>
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : branch
Value : se.kth.pdc.rfc3820.openssl.0_9_7-stable.rfc3820
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : changelog
Value : propagate of a047a5ab95d0f4251e467723ac6f15d95aa01445 and 
71a58891d8ed74efdbb17fee5322cdcb45b50e95 from branch 
'se.kth.pdc.rfc3820.openssl.0_9_7-stable' to 
'se.kth.pdc.rfc3820.openssl.0_9_7-stable.rfc3820'

: ; monotone list certs a047a5ab95d0f4251e467723ac6f15d95aa01445
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : ancestor
Value : 755109b003726977c8e53b7f6ec8a484a236ca81
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : branch
Value : se.kth.pdc.rfc3820.openssl.0_9_7-stable
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : date
Value : 2004-09-07T14:25:51
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : author
Value : address@hidden
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : changelog
Value : Import of OpenSSL 0.9.7-stable, 200409071623

: ; monotone list certs 71a58891d8ed74efdbb17fee5322cdcb45b50e95
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : ancestor
Value : 755109b003726977c8e53b7f6ec8a484a236ca81
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : branch
Value : se.kth.pdc.rfc3820.openssl.0_9_7-stable.rfc3820
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : date
Value : 2004-09-06T14:04:46
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : author
Value : address@hidden
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : changelog
Value : Add the proxy certificate structures and corresponding
      : ASN.1 templates and functions

: ; monotone list certs 755109b003726977c8e53b7f6ec8a484a236ca81
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : branch
Value : se.kth.pdc.rfc3820.openssl.0_9_7-stable
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : date
Value : 2004-09-02T20:59:24
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : author
Value : address@hidden
-----------------------------------------------------------------
Key   : address@hidden
Sig   : ok
Name  : changelog
Value : Import of OpenSSL 0.9.7-stable, 200409022258


Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis




reply via email to

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