• 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
Mapping CrashReporter addresses to Obj-C method names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mapping CrashReporter addresses to Obj-C method names


  • Subject: Mapping CrashReporter addresses to Obj-C method names
  • From: Itrat Khan <email@hidden>
  • Date: Wed, 14 Apr 2004 13:36:06 -0400

Does anyone know how to map the addresses that appear in a CrashReporter log to their corresponding Objective-C method names? When a deployment-built application crashes (i.e. no debug symbols), the CrashReporter log contains lines like:

6 com.modeless.liquidledger 0x00022eac 0x1000 + 0x21eac
7 com.modeless.liquidledger 0x000304e0 0x1000 + 0x2f4e0
8 com.apple.Foundation 0x909f794c _nsnote_callback + 0xb0
9 com.apple.CoreFoundation 0x901aa7f0 __CFXNotificationPost + 0x1b4
10 com.apple.CoreFoundation 0x901af200 _CFXNotificationPostNotification + 0x340
11 com.apple.Foundation 0x909f5798 -[NSNotificationCenter postNotificationName:object:userInfo:] + 0x74

In order to determine the location of the crash, I need to first determine what "0x00022eac 0x1000 + 0x21eac" means (in line 6, for example). I can use "otool -ov" on the Mach-O executable (com.modeless.liquidledger) to show the implementation addresses of methods, but I'm not sure how the addresses in the CrashReporter log relate to the output of otool.

Any suggestions for interpreting the output of CrashReporter logs would be appreciated. I have been unable to find any relevant tech notes or documentation at the Apple Developer Connection site.

Thanks,
Itrat.

............................................................
Modeless Software, Inc.
London, Ontario Canada
Tel.: +1 519 473 2037
Modern personal accounting for Mac OS X
Learn more at http://www.liquidledger.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Mapping CrashReporter addresses to Obj-C method names
      • From: Glenn Andreas <email@hidden>
  • Prev by Date: Re: Can't build OCUnit example
  • Next by Date: Re: Setting env vars from Cocoa with /bin/sh?
  • Previous by thread: Re: Is there a ruled (row numbered) subclass to NSDocument?
  • Next by thread: Re: Mapping CrashReporter addresses to Obj-C method names
  • Index(es):
    • Date
    • Thread