logo       

Re: Another weird one, seems to be 'rename' related...: msg#00087

Subject: Re: Another weird one, seems to be 'rename' related...
Actually, I found out what was up.  The ancestor revision didn't
exist!  I've grepped through a dump, looking for
6a7b9bed51abc89bc6cf69bc0cd0121e4f13fe57, and there was no such thing
at all.  How this happened is beyond me, but simply doing a diff, then
checking out a new copy of the head of that branch and applying the
diff on it worked.

I've no idea how I got in this situation...

Cheers,
Richard

In message <20040920.114709.64807662.richard@xxxxxxxxxxx> on Mon, 20 Sep 2004 
11:47:09 +0200 (CEST), Richard Levitte - VMS Whacker <richard@xxxxxxxxxxx> said:

richard> Hi,
richard> 
richard> it seems like I've hit another thing with rename (or so I gather from
richard> the log.
richard> 
richard> Simply put, I'm doing a commit, and in MT/work, there is the
richard> following:
richard> 
richard>   add
richard>    crypto/x509v3/v3_pci.c
richard>   rename
richard>    crypto/x509v3/v3_prca.c
richard>    crypto/x509v3/v3_pcia.c
richard> 
richard> The error I'm getting is this:
richard> 
richard>   monotone: fatal: std::logic_error: database.cc:787: invariant 
'I(delta_exists(ident, delta_table))' violated
richard> 
richard> Here's the log, after I type my pass phrase:
richard> 
richard>   enter passphrase for key ID [richard@xxxxxxxxxxx]: 
richard>   monotone: running arc4 process on 634 bytes of data
richard>   monotone: building signer from 634-byte decrypted private key
richard>   monotone: base64-decoding 859-byte private key
richard>   monotone: running arc4 process on 634 bytes of data
richard>   monotone: building signer from 634-byte decrypted private key
richard>   monotone: base64-decoding 859-byte private key
richard>   monotone: running arc4 process on 634 bytes of data
richard>   monotone: building signer from 634-byte decrypted private key
richard>   monotone: produced 128-byte signature
richard>   monotone: db.fetch("SELECT id FROM 'manifest_certs' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3' AND name = 'ancestor' AND value = 
'NmE3YjliZWQ1MWFiYzg5YmM2Y2Y2OWJjMGNkMDEyMWU0ZjEzZmU1Nw==
richard>   ' AND keypair = 'richard@xxxxxxxxxxx' AND signature = 'EGey63xk5vl
richard>   monotone: db.fetch("SELECT id FROM 'manifest_deltas' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3'")
richard>   monotone: db.fetch("SELECT id FROM 'manifests' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3'")
richard>   monotone: db.execute("INSERT INTO 'manifest_certs' 
VALUES('3bd98d00a5e8bb6800e8fc19f44ac6f32 ...")
richard>   monotone: lua isfunction() failed in get_fn
richard>   monotone: db.fetch("SELECT id from private_keys")
richard>   monotone: cert: signable text 
[branch@a6990f3411f3eb349dcc03c3380cd72bd0089ab3:c2Uua3RoLnBkYy5yZmMzODIwLm9wZW5zc2wuMF85XzgtZGV2LnJmYzM4MjA=]
richard>   monotone: produced 128-byte signature
richard>   monotone: db.fetch("SELECT id FROM 'manifest_certs' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3' AND name = 'branch' AND value = 
'c2Uua3RoLnBkYy5yZmMzODIwLm9wZW5zc2wuMF85XzgtZGV2LnJmYzM4MjA=
richard>   ' AND keypair = 'richard@xxxxxxxxxxx' AND signature = 'MwfrclrHD
richard>   monotone: db.execute("INSERT INTO 'manifest_certs' 
VALUES('b58f4ceb15427fb743a2e2a41394b0af0 ...")
richard>   monotone: lua isfunction() failed in get_fn
richard>   monotone: db.fetch("SELECT id from private_keys")
richard>   monotone: cert: signable text 
[date@a6990f3411f3eb349dcc03c3380cd72bd0089ab3:MjAwNC0wOS0yMFQwOTozMTo0Mg==]
richard>   monotone: produced 128-byte signature
richard>   monotone: db.fetch("SELECT id FROM 'manifest_certs' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3' AND name = 'date' AND value = 
'MjAwNC0wOS0yMFQwOTozMTo0Mg==
richard>   ' AND keypair = 'richard@xxxxxxxxxxx' AND signature = 
'TMEh5KmCxX9cLzGibkaTkkYRNNXJGCBixwvPPEN111a
richard>   monotone: db.execute("INSERT INTO 'manifest_certs' 
VALUES('5ca75a550d6fde1cd682ab6e083e69624 ...")
richard>   monotone: lua isfunction() failed in get_fn
richard>   monotone: lua isfunction() failed in get_fn
richard>   monotone: db.fetch("SELECT id from private_keys")
richard>   monotone: lua isfunction() failed in get_fn
richard>   monotone: db.fetch("SELECT id from private_keys")
richard>   monotone: cert: signable text 
[author@a6990f3411f3eb349dcc03c3380cd72bd0089ab3:cmljaGFyZEBsZXZpdHRlLm9yZw==]
richard>   monotone: produced 128-byte signature
richard>   monotone: db.fetch("SELECT id FROM 'manifest_certs' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3' AND name = 'author' AND value = 
'cmljaGFyZEBsZXZpdHRlLm9yZw==
richard>   ' AND keypair = 'richard@xxxxxxxxxxx' AND signature = 
'MmyBg8DnirOe+v5Bt0/o5bSGva0QRDMGCxxAeNY1N
richard>   monotone: db.execute("INSERT INTO 'manifest_certs' 
VALUES('593a5489c093347e7254697f1e148128a ...")
richard>   monotone: lua isfunction() failed in get_fn
richard>   monotone: db.fetch("SELECT id from private_keys")
richard>   monotone: cert: signable text 
[changelog@a6990f3411f3eb349dcc03c3380cd72bd0089ab3:QWRkIHRoZSBQcm94eSBDZXJ0IEluZm8gcGFyc2VyIGFuZCBwcmludGVyLgpBZGQgYW4gZXhhbXBsZSBQcm94eSBDZXJ0IGV4dGVybnNpb24uCm1ha2UgdXBkYXRl]
richard>   monotone: produced 128-byte signature
richard>   monotone: db.fetch("SELECT id FROM 'manifest_certs' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3' AND name = 'changelog' AND value = 
'QWRkIHRoZSBQcm94eSBDZXJ0IEluZm8gcGFyc2VyIGFuZCBwcmludGVyLgpBZGQgYW4gZXhh
richard>   bXBsZSBQcm94eSBDZXJ0IGV4dGVybnNpb24uCm1ha2UgdXBkY
richard>   monotone: db.execute("INSERT INTO 'manifest_certs' 
VALUES('fcdb4c0c6b41aa69decf2071d22272386 ...")
richard>   monotone: db.fetch("SELECT id, name, value, keypair, signature FROM 
'manifest_certs' WHERE id = 'a6990f3411f3eb349dcc03c3380cd72bd0089ab3' AND name 
= 'rename'")
richard>   monotone: db.fetch("SELECT id FROM 'manifests' WHERE id = 
'6a7b9bed51abc89bc6cf69bc0cd0121e4f13fe57'")
richard>   monotone: reconstructing 6a7b9bed51abc89bc6cf69bc0cd0121e4f13fe57 in 
manifest_deltas
richard>   monotone: db.fetch("SELECT id FROM 'manifest_deltas' WHERE id = 
'6a7b9bed51abc89bc6cf69bc0cd0121e4f13fe57'")
richard>   monotone: database.cc:787: invariant 'I(delta_exists(ident, 
delta_table))' violated
richard>   monotone: db.execute("ROLLBACK")
richard>   monotone: discarding debug log
richard>   monotone: fatal: std::logic_error: database.cc:787: invariant 
'I(delta_exists(ident, delta_table))' violated
richard> 
richard> Please help me figure this out.

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

-- 
Richard Levitte                         richard@xxxxxxxxxxx
                                        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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe