monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] how to recover damaged database?


From: Nathaniel Smith
Subject: Re: [Monotone-devel] how to recover damaged database?
Date: Fri, 12 May 2006 09:57:34 -0700
User-agent: Mutt/1.5.11

On Fri, May 12, 2006 at 09:26:28AM -0500, Kelly F. Hickel wrote:
> I continued to import modules one by one and did encounter the error
> again, this time in a module that hadn't been imported the last time I
> tried this, so it doesn't seem as if a particular cvs repo file is
> causing the problem.

Very curious.

> address@hidden mtn_repo]$ mtn --db=eadev_import.mtn
> --branch=com.mqsoftware.qpasa.qa cvs_import /usr/cvsroot/master/qa
> mtn: branches | versions
> mtn:       45 |    1,225 amqsput_coa/amqsput.c,v
> mtn: branches | revisions | versions
> mtn:       45 |        72 |    1,225
> mtn: fatal: std::logic_error: revision.cc:50: invariant
> 'I(null_id(edge_old_revision(i)))' violated
> mtn:
> mtn: this is almost certainly a bug in monotone.
> mtn: please send this error message, the output of 'mtn --full-version',
> mtn: and a description of what you were doing to
> address@hidden
> mtn: discarding debug log, because I have nowhere to write it
> mtn: (maybe you want --debug or --dump?)
> address@hidden mtn_repo]$

What would be helpful here would be if you could reproduce the problem
while passing --debug or --dump?  --debug generates copious debugging
output to stderr; --dump takes a file argument, and when an error like
the one you see here occurs it dumps (slightly less) copious debugging
output to that file.  Either would probably be sufficient.

(Well, I guess it would also be useful if you could make the offending
CVS repo available, but I'm guessing from the branch names that that
isn't going to be possible :-).  You might want to look over the
debug output as well to double-check there's nothing sensitive there,
but I'm guessing it should be mostly okay, filenames are probably the
most sensitive thing that might be there.)

Thanks,
-- Nathaniel

-- 
"...All of this suggests that if we wished to find a modern-day model
for British and American speech of the late eighteenth century, we could
probably do no better than Yosemite Sam."




reply via email to

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