|
From: Owen O'M. <ow...@em...> - 2003-12-15 19:04:30
|
Does anyone have any experience running valgrind on ACE-based (http://www.cs.wustl.edu/~schmidt/ACE.html) programs? I tried it on some little programs and it worked, but when I tried a larger program I got strange results. I was wondering if there was any collected wisdom on the subject. Thanks, Owen |
|
From: Robert W. <rj...@du...> - 2004-01-06 10:52:55
|
> Does anyone have any experience running valgrind on ACE-based > (http://www.cs.wustl.edu/~schmidt/ACE.html) programs? I tried it on > some little programs and it worked, but when I tried a larger program > I got strange results. I was wondering if there was any collected > wisdom on the subject. I recall correctly (my experience with ACE is something I suppress ;-) ACE provides it's own memory allocator. You'd need to hook that into Valgrind using the VALGRIND_MALLOCLIKE_BLOCK and VALGRIND_FREELIKE_BLOCK client requests. See memcheck/tests/custom_alloc.c for an example. Regards, Robert. --=20 Robert Walsh Amalgamated Durables, Inc. - "We don't make the things you buy." Email: rj...@du... |