R – Xcode 3.2.1 and Instruments: Useless Stack Trace

instrumentsmemory-leaksstack-tracexcode

I've reached the stage where it's time to start tracking down memory leaks and, to my dismay, Instruments is giving me very little to go on (other than the fact that I definitely have leaks). My stack trace contains no information other than memory addresses.

Since I'm working on a new project and I've transitioned to version 3.2.1 of Xcode in tandem, I'm not sure if it's my program configuration or Xcode that's causing the problem. I have found one reference to the issue coupled with a post on the dyld leak that seems to be prevalent with the 3.2.1 release.

Since I haven't been able to find much on the problem I'm guessing it's something I've created rather than a systematic issue with Xcode. If someone has any idea where I might have thrown a wrench in the works, I would love some pointers. Also, if someone could just verify that the stack trace is indeed functioning properly in 3.2.1 that would be useful as well.

Best Answer

Are you trying to run Instruments with a Release build of your app? If so, you might be stripping symbols so Instruments can't find them. Check that you're using a Debug build.