• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
No function names in Instruments Stack Trace?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No function names in Instruments Stack Trace?


  • Subject: No function names in Instruments Stack Trace?
  • From: Jon Hodgson <email@hidden>
  • Date: Thu, 1 Apr 2010 10:19:34 +0100

Hi,

I have memory leaks, which I'm trying to track down

So I'm attempting to use the Leaks template in instruments, launched
from the XCode run menu

It runs fine, and identifies the leaks, it also identifies a bunch of
them as being objects specific to my application (or rather DLL), so I
know it's seeing that symbol information correctly.

However the stack trace gives function names for system calls, it
gives function names for library calls, but within my code, only
addresses.

Doubly oddly I notice that  within the host app that is running the
audio plugin (the plugin is my code), the stack trace gives only
addresses, but also gives the app name, in my code it doesn't even
give that.

So for example right now I'm looking at

......
_CFRunLoopDoSources0 (Corefounation)
_NSThreadPerformPerform (Foundation)
0xcdd7a (AU Lab) -- this is the host app
.....
00x8752c(AU Lab)
AudioUnitCarbonViewCreate (AudioUnit)
CallComponentDispatch (CarbonCore)
0x373124a () - we're now into my code, note no function name or module name
....
0x15b314fc ()
operator new (libstdc++)


.... is where I've missed out some parts of the stack since they look
like the stuff before and after.

Now, the code is a debug, with symbols, and if I run it in the
debugger I get full stack traces with all the function names.

Does anyone have any idea why I'm not getting them in Instruments?

regards

Jon
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Next by Date: Puzzling Analyzer output
  • Next by thread: Puzzling Analyzer output
  • Index(es):
    • Date
    • Thread