Closed stefanbeller closed 10 years ago
I can't reproduce this problem, using the latest development build. Maybe it's not relevant anymore? Can you try again and let me know how it went?
Thanks!
It's still there (tested both on x86_64 as well as x86). When running plain ./git-status
without libgraprof compiled in, it just works. Testing with valgrind, there are not even any suspicious memory accesses.
When running with libgraprof enabled however I do get weird crashes. I do not really know how to track them down.
fixed in develop branch - the problem was related to concurrent access to the malloc family functions.
So I was trying to use graprof on git and then executing git crashed with the instrumented build.
Setting git up seems to be easy:
I do wonder what's the problem, whether I am missing a required step or if there is a real problem. I found on the web, that -finstrument-functions may get into trouble when using with shared libraries, but this doesn't seem to be the case. (add LD_DEBUG=symbols,bindings to see the bindings, which bind correctly to libgraprof)