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

Re: Segmentation fault with latest git (070c57df)

From
Jeff King <peff@peff.net>
Date
Jan 31, 2013, 06:49 UTC
Message-ID
<20130131064921.GB24660@sigill.intra.peff.net>
In-Reply-To
<28799936.346521359596121253.JavaMail.weblogic@epmltmp3>
On Thu, Jan 31, 2013 at 01:35:21AM +0000, Jongman Heo wrote:
Show 13 quoted lines
> Looks like following commit causes a segmentation fault in my machine
> (when running git pull or git fetch);
> 
> commit 8dd5afc926acb9829ebf56e9b78826a5242cd638
> Author: Junio C Hamano <gitster@pobox.com>
> Date:   Mon Jan 7 12:24:55 2013 -0800
> 
>     string-list: allow case-insensitive string list
> 
> 
> In my case, list->cmp (at get_entry_index() function) has an invalid
> address, obviously not an address of string comparision function,
> instead it points to 1.

Can you show us a stack trace? The string-list functions are generic and get called in a lot of places. It would be useful to know which list is causing the problem.

-Peff
Previous: Jongman HeoNext: Antoine Pelisse
Message 2 of 4 in “Segmentation fault with latest git (070c57df)”
  1. Jongman HeoJan 31, 2013
  2. Jeff KingJan 31, 2013
  3. Antoine PelisseJan 31, 2013
  4. Jeff KingJan 31, 2013

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.