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

Re: git-fast-import crashes

From
Pierre Habouzit <madcoder@debian.org>
Date
Oct 13, 2007, 07:50 UTC
Message-ID
<20071013075027.GD7110@artemis.corp>
In-Reply-To
<20071013073640.GC7110@artemis.corp>
On sam, oct 13, 2007 at 07:36:40 +0000, Pierre Habouzit wrote:
Show 21 quoted lines
> On Sat, Oct 13, 2007 at 03:34:07AM +0000, Shawn O. Pearce wrote:
> > "Shawn O. Pearce" <spearce@spearce.org> wrote:
> > > Shun Kei Leung <kevinlsk@gmail.com> wrote:
> > > > I am using git 1.5.3.4.206.g58ba4-dirty on Mac OS X 10.4.
> > ....
> > > > Program received signal EXC_BAD_ACCESS, Could not access memory.
> > > > Reason: KERN_INVALID_ADDRESS at address: 0x64617469
> > ....
> > > This looks like it is
> > > memory corruption (e.g. someone overwriting a free'd segment),
> > > but that sort of memory corruption is very hard to track down.
> > 
> > OK, so the version you have (58ba4) is the latest fast-import after
> > the strbuf.c series went in.  The one immediately before that series
> > was 4bf538 and is probably actually stable.
> > 
> > So I wonder, can you test 4bf538 and then if it is good bisect
> > between those two commits?  There must be a memory corruption
> > introduced by one of the strbuf changes...
> 
>   Gasp, if you get the offending sha1 commit, don't forget to Cc: me.
  Okay, given that fast-import uses quote_c_style, I believe this is the
same but that the one that was reported already. I've read the full
`git diff 4bf53833dbca666f61b5177977e96d453527db20.. -- fast-import.c`
and nothing alarming shows up.
  Please try to apply:
http://git.madism.org/?p=git.git;a=commit;h=7406e83342cd445ac38c1753c5fce75377737e2f
  And see if that fixes the issue for you. Else a bisection would be
much appreciated. Thanks.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
Previous: Pierre HabouzitNext: Shun Kei Leung
Message 5 of 13 in “git-fast-import crashes”
  1. Shun Kei LeungOct 12, 2007
  2. Shawn O. PearceOct 13, 2007
  3. Shawn O. PearceOct 13, 2007
  4. Pierre HabouzitOct 13, 2007
  5. Pierre HabouzitOct 13, 2007
  6. Shun Kei LeungOct 15, 2007
  7. Pierre HabouzitOct 15, 2007
  8. Shun Kei LeungOct 15, 2007
  9. Shun Kei LeungOct 16, 2007
  10. Pierre HabouzitOct 16, 2007
  11. Shun Kei LeungOct 16, 2007
  12. Pierre HabouzitOct 16, 2007
  13. Johannes SchindelinOct 13, 2007

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.