• 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: How to get routine names in crash logs ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get routine names in crash logs ?


  • Subject: Re: How to get routine names in crash logs ?
  • From: Frederick Cheung <email@hidden>
  • Date: Tue, 21 Jun 2005 17:09:55 +0100


On 21 Jun 2005, at 16:04, Hugh Sontag wrote:

I'm now building with XCode 2.1 with the following settings:

"Produce Unstripped Product" - checked
"Strip symbols from binary files" - unchecked

But crash logs (at least on Tiger, 10.4.1) don't have symbols in them. The crash log looks like this:

Thread 4 Crashed:
0 <<00000000>> 0xffff8acc __memcpy + 812 (cpu_capabilities.h: 189)
1 bsimpd 0x00022580 0x1000 + 136576
2 bsimpd 0x00024cb8 0x1000 + 146616
3 ...ple.CoreServices.CarbonCore 0x90b387d0 PrivateMPEntryPoint + 76
4 libSystem.B.dylib 0x9002c3d4 _pthread_body + 96


How can I build the product so that I get routine names, source file names and line numbers in a crash log created on a system that the product was not built on, that is, a customer's machine?

I believe the setting you are interested in is "deployment post processing". You can also have the end user run a stripped binary, then use atos along with your unstripped copy of the app to get symbol info (see http://developer.apple.com/technotes/tn2004/ tn2123.html).

Fred
_______________________________________________
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: 
 >How to get routine names in crash logs ? (From: Hugh Sontag <email@hidden>)

  • Prev by Date: Re: How to get routine names in crash logs ?
  • Next by Date: Re: Opening "sdef" files as XML
  • Previous by thread: Re: How to get routine names in crash logs ?
  • Next by thread: 10.2.8 SDK Cross-development
  • Index(es):
    • Date
    • Thread