Corrupt repository

Matt Mackall mpm at selenic.com
Fri Jun 26 21:32:29 CDT 2009


On Fri, 2009-06-26 at 19:45 -0400, Greg Ward wrote:
> On Fri, Jun 26, 2009 at 12:43 PM, Matt Mackall<mpm at selenic.com> wrote:
> > Hg doesn't really 'crash', it only reports prettier or uglier
> > exceptions. We could probably make this one prettier.
> 
> Picky, picky.  ;-)  I habitually use "crash" as shorthand for
> "terminate abnormally with an uncaught exception".  Gets people's
> attention, if nothing else.
> 
> > You should also check if the problem persists over reboot. It's more
> > likely for corruption to appear when reading than when writing, as we
> > only write a block once.
> 
> Son-of-a-gun: the problem disappeared after a reboot.  Huh.

So here's what probably happened:

- distant star goes supernova
- expanding magnetic field accelerates particles to near the speed of
light
- several thousand years later, one hits your laptop's memory
- transient current changes memory cell, corrupting disk cache
- zlib CRC check fails

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list