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

Re: GPF in index-pack

From
Jon Smirl <jonsmirl@gmail.com>
Date
Aug 6, 2006, 04:16 UTC
Message-ID
<9e4733910608052116u4d58908cj654ea94716b546e6@mail.gmail.com>
In-Reply-To
<20060806040848.GF20565@spearce.org>
On 8/6/06, Shawn Pearce <spearce@spearce.org> wrote:
Show 7 quoted lines
> > When I put index-pack in gdb at the seg fault, resolve_delta had
> > recursed more than 20,000 times. I stopped looking after that.
>
> Ouch.  I'm not familiar with this code, but looking at right now its
> also not entirely obviously what its recursing for.  Plus dinner
> is trying to be burned on the grill, so my attention is on that
> more than on GIT.  :-)

It has recursed 131,000 times before running out of memory. Something must be wrong in the resolve_delta() logic.

-- 
Jon Smirl
jonsmirl@gmail.com
Previous: Shawn PearceNext: Jon Smirl
Message 7 of 9 in “Re: GPF in index-pack”
  1. Jon SmirlAug 6, 2006
  2. Shawn PearceAug 6, 2006
  3. Jon SmirlAug 6, 2006
  4. Shawn PearceAug 6, 2006
  5. Jon SmirlAug 6, 2006
  6. Shawn PearceAug 6, 2006
  7. Jon SmirlAug 6, 2006
  8. Jon SmirlAug 6, 2006
  9. Sergey VlasovAug 6, 2006

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.