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 16, 2007, 08:04 UTC
Message-ID
<20071016080405.GC6919@artemis.corp>
In-Reply-To
<e66701d40710160101x5c697a6fmeecea4c81dfd9972@mail.gmail.com>
On Tue, Oct 16, 2007 at 08:01:18AM +0000, Shun Kei Leung wrote:
Show 6 quoted lines
> >   What I _really_ need is that you run your test into valgrind (the easy
> > way is to rename git-fast-import into git-fast-import.bin, and make
> > git-fast-import be a shell-script doing:
> ....
> 
> valgrind is not yet ported to Mac OS X, sadly enough.
  hmmm I see. hmmm isn't there _any_ chance that you can have access to
a linux box to see if that fails in the same conditions ? I mean I
believe qemu (or virtual pc or …) on your macos would be just fine.
  But this realloc() that returns 0xd looks fishy. I would be tempted to
think of a stack corruption, but the frame just before still looks
correct so I'm confused. And valgrind is definitely the tool to use for
stack smashing and other memory related corruptions :/
  Using gcc -Wstack-protector may also help.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
Previous: Shun Kei LeungNext: Johannes Schindelin
Message 12 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.