• 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
Framework load address from an exception log?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Framework load address from an exception log?


  • Subject: Framework load address from an exception log?
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 12 Mar 2013 07:20:24 -0700

A crash report contains a *Binary Images* part, which gives the actual load address of each loaded framework.  This is necessary in order to symbolize crashes that occur in a framework.  It is typically 0x1000XY000, where X is typically 0 or 1 and Y is some other hex digit, 0-F.

An exception logged to the console, such as the example below, contains a nice call stack, but as far as I can see, no indication of framework load address.  So if I receive a console log snippet from a user, indicating that an exception occurred in my private framework, the only way I have to symbolize the culprit is to assume all 32 possibilities of XY in turn and hope that one of them gives me plausible line info.

Is there a better way?

Jerry Krinock


Mar 12 11:03:53 zbook.suzie.box MyApp[769]: CGSOrderWindowList: NULL list pointer or empty list
Mar 12 11:04:20 zbook.suzie.box MyApp[769]: *** -[NSArray arrayByAddingObject:]: object cannot be nil
Mar 12 11:04:20 zbook.suzie.box MyApp[769]: (
  0   CoreFoundation   0x00007fff907a80a6 __exceptionPreprocess + 198
  1   libobjc.A.dylib  0x00007fff8f2453f0 objc_exception_throw + 43
  2   CoreFoundation   0x00007fff907c234a -[NSArray arrayByAddingObject:] + 138
  3   MyFramework      0x0000000100152704 MyFramework + 614850
  4   MyFramework      0x0000000100152cd5 MyFramework + 616339
  5   MyFramework      0x00000001000395db MyFramework + 202203
  6   Foundation       0x00007fff92f34677 __NSThreadPerformPerform + 225
  7   CoreFoundation   0x00007fff90727101 __CFRUNLOOP_IS_CALLING_OUT_TO_… + 17
  8   CoreFoundation   0x00007fff90726a25 __CFRunLoopDoSources0 + 245
  9   CoreFoundation   0x00007fff90749dc5 __CFRunLoopRun + 789
 10  CoreFoundation   0x00007fff907496b2 CFRunLoopRunSpecific + 290
 11  HIToolbox        0x00007fff901030a4 RunCurrentEventLoopInMode + 209
 12  HIToolbox        0x00007fff90102e42 ReceiveNextEventCommon + 356
 13  HIToolbox        0x00007fff90102cd3 BlockUntilNextEventMatchingListInMode + 62
 14  AppKit           0x00007fff8bb81613 _DPSNextEvent + 685
 15  AppKit           0x00007fff8bb80ed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
 16  AppKit           0x00007fff8bb78283 -[NSApplication run] + 517
 17  AppKit           0x00007fff8bb1ccb6 NSApplicationMain + 869
 18  MyApp            0x0000000100001c85 MyApp + 7301
 19  MyApp            0x0000000100001b94 MyApp + 7060
 20  ???              0x0000000000000002 0x0 + 2
 _______________________________________________
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


  • Follow-Ups:
    • [SOLVED BUT UNEXPLAINED] Framework load address from an exception log
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: 'DBGLLDBLauncher' not found for required key 'workerClass'
  • Next by Date: Re: 'DBGLLDBLauncher' not found for required key 'workerClass'
  • Previous by thread: 'DBGLLDBLauncher' not found for required key 'workerClass'
  • Next by thread: [SOLVED BUT UNEXPLAINED] Framework load address from an exception log
  • Index(es):
    • Date
    • Thread