site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com -Jason _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Aug 1, 2005, at 7:15 AM, Jack Howarth wrote: I am trying to debug a heap corruption problem in unix program compiled with gfortran and Apple's gcc and g++ on MacOS X 10.4.2. I am told by the gnu gcc developers that valgrind is the best tool for this but I can only find a ppclinux version. Is there a port available for Darwin for valgrind? If not is there an equivalent tool for Apple that can be used from the command line? Thanks in advance for any information. You may want to try libgmalloc (also known as GuardMalloc). The libgmalloc man page has information on it. Also, you can set some environment variables when using the regular malloc such as MallocScribble and MallocCheckHeapStart/ MallocCheckHeapEvery. See the malloc man page for more on this. This email sent to site_archiver@lists.apple.com
participants (1)
-
Jason Townsend