• 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: Snow Leopard: unsupported PointerFunctions configuration was requested
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Snow Leopard: unsupported PointerFunctions configuration was requested


  • Subject: Re: Snow Leopard: unsupported PointerFunctions configuration was requested
  • From: Bill Bumgarner <email@hidden>
  • Date: Wed, 23 Sep 2009 19:36:04 -0700

On Sep 23, 2009, at 7:09 PM, Chris Idou wrote:
Very early in application startup, even before main() is called, I get the following error:

2009-09-24 12:07:11.462 MyApp[5534:a0f] *** An unsupported PointerFunctions configuration was requested, probably for use by NSMapTable, NSHashTable, or NSPointerArray. The requested configuration fails due to integer personality not using opaque memory


It happens twice on startup, and below are the stack traces when it happens:

What does it all mean?


#0 0x7fff84b342f7 in NSLog
#1 0x7fff84ac84d1 in +[NSConcretePointerFunctions initializeSlice:withOptions:]
#2 0x7fff84aea796 in -[NSConcretePointerFunctions initWithOptions:]
#3 0x7fff84aea74d in +[NSPointerFunctions pointerFunctionsWithOptions:]
#4 0x10004b633 in +[RKCache load]

One change to the NSPointerFunction based collection classes (which support a number of things that NSArray & the like do not) between Leopard and Snow Leopard was to tighten up the validation of the pointer function validation such that a handful of non-sensical configurations are detected that weren't before.


I.e. RKCache is trying to create a set of pointer functions that doesn't make sense (and for whose behavior is undefined).

As someone else pointed out, RK is most likely RegexKit and, thus, the source is available and can be fixed. Given the relatively common use of RK*, please provide a patch to the author so it can be fixed upstream.

b.bum

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Snow Leopard: unsupported PointerFunctions configuration was requested (From: Chris Idou <email@hidden>)

  • Prev by Date: Resizing UIView
  • Next by Date: Re: Resizing UIView
  • Previous by thread: Re: Snow Leopard: unsupported PointerFunctions configuration was requested
  • Next by thread: Resizing UIView
  • Index(es):
    • Date
    • Thread