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

Submitter:  Thomas Keller <tommyd>
Submitted:  Sat 04 Mar 2006 08:30:21 PM UTC
Votes: 10
 
Category:  command line UI Severity:  3 - Normal
Item Group:  crash Status:  Duplicate
Privacy:  Public Assigned to:  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>
Group 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>
Group 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>
Group 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>
Group 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>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 10 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-05-18 tommyd StatusFixed Duplicate
    2010-05-16 dscherger Open/ClosedOpen In Test
    2010-05-16 dscherger StatusNone Fixed
    2010-05-16 dscherger Assigned toNone dscherger
    2006-03-04 tommyd Carbon-Copy- Added tommyd

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code