bugmonotone - Bugs: bug #24060, lua error on mtn -add ( invariant...

 
 

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

bug #24060: lua error on mtn -add ( invariant 'I(lua_checkstack (st, 1))' violated )

Submitted by:  None
Submitted on:  Wed 13 Aug 2008 08:33:38 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Thomas Keller <tommyd>
Open/Closed: Closed
mtn version --full: 

monotone 0.38 (base revision: c1757f6cde49bddd77c82580059105bc470145b2)
Running on : Linux 2.6.9-55.QEL4smp #1 SMP Fri May 4 16:08:10 PDT 2007 i686
C++ compiler : GNU C++ version 3.4.5 20051201 (Red Hat 3.4.5-2)
C++ standard library: GNU libstdc++ version 20051201
Boost version : 1_33_1
Changes since base revision:
format_version "1"

new_manifest [085f4d04a0bbbc06b44cf6194ca9c2079f924cdd]

old_revision [c1757f6cde49bddd77c82580059105bc470145b2]

Generated from data cached in the distribution;
further changes may have been made.

Wed 07 Jan 2009 02:02:55 AM UTC, comment #3:

Thanks for the bug report. The issue has been fixed in monotone 0.42.

Thomas Keller <tommyd>
Project AdministratorIn charge of this item.
Thu 14 Aug 2008 07:00:44 PM UTC, comment #2:

Pretty sure this is just due to too long a list being passed to mtn add. here is the point where the error is first generated:

for i in `seq 1 2047`; do date > $i.txt; done

Fine up to 2046 files. So just a constraint that I could probably find in a doc. Feel free to close as invalid unless your spec/docs indicate that behavior should be other than what I saw.

dan ginsberg <dang>
Thu 14 Aug 2008 06:10:25 PM UTC, comment #1:

the add * was done in a directory containing over 2000 files. We don't have a problem with bash globbing in that dir ( ls * doesn't overflow ) but I'm not sure how mtn handles that kind of glob.

add --unknown works. Not ideal because it will sweep up files in other directories, but no lua error. And clearly we can iterate over the files and add them one by one. Just want to get clear on what ought to work and what can't work if there is no bug here, or to find a version with the bug fixed if .39 or .4 would be cleaner.

dan ginsberg <dang>
Wed 13 Aug 2008 08:33:38 PM UTC, original submission:

When adding new files in a directory by globbing, we are seeing this:

cd /home/dist/files; /usr/bin/mtn --quiet add * 2>&1
mtn: fatal: std::logic_error: lua.cc:282: invariant 'I(lua_checkstack (st, 1))' violated
mtn: this is almost certainly a bug in monotone.
mtn: please send this error message, the output of 'mtn version --full',
mtn: and a description of what you were doing to monotone-devel@nongnu.org.
mtn: wrote debugging log to /home/dist/us/_MTN/debug
mtn: if reporting a bug, please include this file


We ( clearly ) haven't upgraded mtn in a while, but this was working until just a few days ago. Is there a workaround?

Anonymous

 

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 dang (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Jan 2009 02:02:55 AM UTCtommydStatusNone=>Fixed
      Assigned toNone=>tommyd
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1