• 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
Re: query on stack trace
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: query on stack trace


  • Subject: Re: query on stack trace
  • From: Arnab Ganguly <email@hidden>
  • Date: Fri, 13 Feb 2009 12:43:22 +0530

Problem is that my application is an embedded application.So once the main application crashes, from my embedded application I try to run an atos on the main application to get the symbol information.What would be the best and correct approach to get the symbols resolved correctly from the main app,considering it has to be a release build?

I don't have the opportunity to use backtrace set of functions as it is on Tiger and using 10.4 sdk.I am trying to retrieve the program counter and on that I run atos with the main applications process id.
Thanks in advance
-A

On Thu, Feb 12, 2009 at 9:57 PM, Rick Altherr <email@hidden> wrote:

On Feb 12, 2009, at 4:02 AM, Arnab Ganguly wrote:

Hi All,
I am using atos with process id and the address but it returns me only the same hex address I am not getting the function name and the line number.Below I have given the output.
The command that I am using is atos -p processid address.

0x9450366b -[NSApplication run] (in AppKit) + 795

0x944d08a4 NSApplicationMain (in AppKit) + 574

0x2f1d 0x00002f1d (in App)

0x2852 0x00002852 (in App)

0x2779 0x00002779 (in App)

What would be the workaround for this?


Does your app have symbol information?  Have you run strip on it?  atos can only report what information is available in the binary and/or the dSYM.


Thanks in advance.
-A

_______________________________________________
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

--
Rick Altherr
Architecture and Performance Group
email@hidden



 _______________________________________________
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

References: 
 >query on stack trace (From: Arnab Ganguly <email@hidden>)
 >Re: query on stack trace (From: Rick Altherr <email@hidden>)

  • Prev by Date: Re: Project Won't Let Me Add dylibs from /usr/lib
  • Next by Date: Re: How to launch Finder with given directory from Carbon app
  • Previous by thread: Re: query on stack trace
  • Next by thread: huge .strings files
  • Index(es):
    • Date
    • Thread