bugmonotone - Bugs: bug #15994, Invariant 'fetching nonexistent...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #15994: Invariant 'fetching nonexistent entry from children' violated

Submitted by:  Thomas Keller <tommyd>
Submitted on:  Sat 04 Mar 2006 08:30:21 PM UTC  
Votes:  10  
 
Category: command line UISeverity: 3 - Normal
Item Group: crashStatus: Duplicate
Privacy: PublicAssigned to: Derek Scherger <dscherger>
Open/Closed: In Test
mtn version --full: 

monotone 0.26pre2 (base revision: 9ca37b918cb5309d8d3b0be000dc8a1151df262f)
Running on: Linux 2.6.14-1.1637_9.rhfc4.cubbi_swsusp2 #1 Fri Nov 25 17:06:18 CET 2005 i686
Changes since base revision: unknown

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.

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.

Tue 18 May 2010 10:45:32 PM UTC, comment #4:

Ok, I see its a duplication of #29484 or rather vice versa. My brain is so dead that I added the same bug twice in four years...

Thomas Keller <tommyd>
Project Administrator
Tue 18 May 2010 10:13:54 PM UTC, comment #3:

@Derek: I miss this fix in mainline (head d3959bbc9ba52916422e4871de36846232085ef3) and I can't find the branch for it either - where did the fix go?

Thomas Keller <tommyd>
Project Administrator
Tue 26 Sep 2006 02:12:39 PM UTC, comment #2:

And finally, this problem exists if a directory is renamed in such a way that it becomes its own children (which is of course illegal and should be catched properly instead of erroring out like this):

$ mtn rename src/ src/model/
mtn: fatal: std::logic_error: roster.cc:188: invariant 'fetching nonexistent entry from children' violated

Btw... this is now 0.30. I've grep'ed over the code but couldn't find this specific invariant (roster.cc, line 188 contains "return safe_get(children, pc);" in 0.30)

Thomas Keller <tommyd>
Project Administrator
Wed 21 Jun 2006 10:52:59 AM UTC, comment #1:

The problem persists with monotone 0.27, but the location of the invariant has moved:

std::logic_error: roster.cc:188: invariant 'fetching nonexistent entry from children' violated

What I did: renamed a file and put it in a directory which does not exist physically, i.e. mtn rename foo bar/foo while "bar" is neither accounted for in workspace nor does exists in the workspace at all.

Thomas Keller <tommyd>
Project Administrator
Sat 04 Mar 2006 08:30:21 PM UTC, original submission:

monotone crashes with this output:

monotone: fatal: std::logic_error: roster.cc:180: invariant 'fetching nonexistent entry from children' violated
[...]
terminate called after throwing an instance of 'unix_signal_exception'
segmentation fault

What I did:

A local, uncommitted rename from ./Makefile to ./src/Makefile
A local, uncommitted rename from ./src to ./src.old
A revert acting on ./src

After that repository actions (automate inventory, update) seem to fail with the same invariant error, until `monotone revert .` is called.

Thomas Keller <tommyd>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tommyd (Posted a comment)
  • -unavailable- added by dscherger (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 10 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 May 2010 10:45:32 PM UTCtommydStatusFixed=>Duplicate
    Sun 16 May 2010 10:43:46 PM UTCdschergerOpen/ClosedOpen=>In Test
    Sun 16 May 2010 10:43:01 PM UTCdschergerStatusNone=>Fixed
    Sun 16 May 2010 06:40:15 PM UTCdschergerAssigned toNone=>dscherger
    Sat 04 Mar 2006 08:30:21 PM UTCtommydCarbon-Copy-=>Added tommyd

    Back to the top


    Powered by Savane 3.1-cleanup1