Thread (13 messages) flat view 13 messages, 4 authors, 2016-06-15

Re: git-fast-import crashes

From: Pierre Habouzit <hidden>
Date: 2016-06-15 22:43:41

On Tue, Oct 16, 2007 at 08:01:18AM +0000, Shun Kei Leung wrote:
quoted
  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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help