It sounds like your framework has been slid because you've mapped something where it normally likes to live or are doing interposition, e.g. For mallocdebug, etc., and you are not using -s, or that you are not specifying the correct -arch for the architecture you are running, if you built it universal and chose to run something other than the preferred slice. CrashReporter and Spintracer take these things into account when they run atos on your behalf.
The specific answer to your question about how the information is retrieved is that it's done via the symbolication framework, which Apple does not publish other than by providing tools like atos which have been linked against it, to enable precisely this kind of thing.
-- Terry On Aug 18, 2009, at 8:14 AM, Arnab Ganguly < email@hidden> wrote: Thanks for your response. When I do an atos hexaddress -o Binary , it just gives me the hexadecimal address only when the address is pointing to some System frameworks but if it points to my application it gives me the filename , line number and the application name.
In case of Apple crash report even if the address is of system frameworks we do get the symbol information atleast. Would like to know how this type of symbols is being retrieved from the binary or the symbol file ?
Thanks -A On Tue, Aug 18, 2009 at 8:37 PM, Terry Lambert <email@hidden> wrote:
Both CrashReporter and SpinTracer operate by getting the raw stack frames and then using an external process to symbolicate after the fact to avoid holding the process crashing or suspended over the symbolication process to avoid wedging the system, enabling it to recover from the event as quickly as possible. You will want to:
man atos
-- Terry On Aug 18, 2009, at 3:23 AM, Arnab Ganguly < email@hidden> wrote: This is related to the Xcode project settings that we have under the "Debugging Information Format" where have one of the option as "Stabs". I set the project as "Stabs" when it crashes, Apple crash report is able to get the symbols information related to SystemFramework like Cocoa Framework ,Appkit FrameWork etc...How it is being done I would like to know ? I have an application which resolves symbols for Application specific whose symbols are availabke internally basicall the information is retrieved from the stabs binary, is it possible to retrieve the system frameworks symbols also from the stabs binary ?
Thanks -A On Tue, Aug 18, 2009 at 3:42 PM, Arnab Ganguly <email@hidden> wrote:
Hi All, Is it possible to retrieve symbol informations specific to Mac OS X system framework from the stabs format binaries .Any help or suggestion would be very much appreciated. Thanks in advance. -A
|