|
From: Julian S. <js...@ac...> - 2005-07-19 16:59:11
|
I must say I find helgrind perplexing and frustrating, because it's potentially such an incredibly useful tool, yet we have never really made it work as convincingly as I'd like, and now we seem to be slipping away from being able to support it. I'd love to be able to make a good showing with Helgrind in the future, but it strikes me that the difficulties with it put it right at the edge of the state-of-the-art. The key problem is getting observability on all the lock/unlock events that the client program does. We at least had a handle on that <= 2.2.0, but it all went south in 2.4.0. Jeremy tried valiantly to get it to go in 2.4.0, but that didn't work well enough to ship. Now I'm wondering if we could use our general redirect/intercept mechanism to catch all entries into libpthread. In 2.4.0 Jeremy tried one way of doing function wrapping, but it involved some pretty intrusive changes to the JIT which I wasn't happy about. However, we could surely do the relevant function wrapping with the mechanism we have in place in the valgrind-3 line already; we don't need fully general function wrapping to make this work. Urk. It's all complicated and nasty. J On Tuesday 19 July 2005 17:16, Duncan Sands wrote: > > What about helgrind? > > > > After dropping it in 2.4.0 are there any plans to get it up > > and running again in the 3.x line? > > > > I'm asking, because I'm currently doing some research on > > finding bugs in multi-threaded applications and helgrind > > was/would be a good start, being the only usable tool in > > this area that is free and with source available. > > > > BTW, is anybody using helgrind actually? > > Or are there just too many false reports for most applications? > > I am also interested in helgrind, though I haven't tried to use > it seriously. My impression from a few quick tests was that it > does catch real mistakes. Though it produced many false > positives, the ratio of true to false positives didn't seem too > bad. This was some time ago. > > All the best, > > Duncan. > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |