Re: Segmentation fault on http clone, post-1.5.6
On Tue, Jun 24, 2008 at 09:57:23PM +0300, Teemu Likonen wrote:
Show 24 quoted lines
> Jeff King wrote (2008-06-24 12:40 -0400):
>
> > On Tue, Jun 24, 2008 at 04:04:57PM +0300, Teemu Likonen wrote:
> >
> > > With the current "master" branch version (29b0d0191) I get
> > > segmentation fault when trying to clone a git repo with http
> > > protocol. Tried a couple of times and it's always reproducible. You
> > > can test with the following repository (about 5.5 MB):
> > >
> > > git clone http://www.iki.fi/tlikonen/voikko.git
> >
> > I can't reproduce the segfault here.
> >
> > > I also build git from the tag v1.5.6 and it seems to work fine, so
> > > I guess the bug was introduced after 1.5.6.
> >
> > That sounds like an excellent opportunity to learn about git-bisect.
> > Can you try bisecting the bug and reporting back the problematic
> > commit?
>
> Indeed. I have now officially bisected the problem and the first bad or
> problematic commit is 8eca0b47 "implement some resilience against pack
> corruptions" (hence Cc to Nicolas, the author). This is always
> reproducible in my Debian 4.0 box.
Does it crash in verify_packfile() ?
Mike