Issue 395: crash when view changelog
http://bitbucket.org/tortoisehg/stable/issue/395/crash-when-view-changelog

Steve Borho / sborho on Wed, 15 Jul 2009 05:44:53 +0200:

Comment:
  The applicable part of revlog.py that gets stuck:

{{{
#!python
        i = ''
        try:
            f = self.opener(self.indexfile)
            i = f.read(_prereadsize)
            if len(i) > 0:
                v = struct.unpack(versionformat, i[:4])[0]
        except IOError, inst:
            if inst.errno != errno.ENOENT:
                raise

}}}

Line 442 is the f.read(_prereadsize) line.  So it's generating a MemoryError 
while reading a file revlog index.

Does this repository pass a verify check?

-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to