git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Segmentation fault on http clone, post-1.5.6

From
Mike Hommey <mh@glandium.org>
Date
Jun 24, 2008, 19:34 UTC
Message-ID
<20080624193441.GC28574@glandium.org>
In-Reply-To
<20080624185723.GA3368@mithlond.arda.local>
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
Previous: Teemu LikonenNext: Nicolas Pitre
Message 4 of 8 in “Segmentation fault on http clone, post-1.5.6”
  1. Teemu LikonenJun 24, 2008
  2. Jeff KingJun 24, 2008
  3. Teemu LikonenJun 24, 2008
  4. Mike HommeyJun 24, 2008
  5. Nicolas PitreJun 24, 2008
  6. Teemu LikonenJun 24, 2008
  7. Nicolas PitreJun 24, 2008
  8. SZEDER GáborJun 24, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.