You can use Dmalloc, an open source debugging package, on the Solaris OS with Sun Studio compilers to find application bugs related to memory access. Here's how.