• 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: CALayer removeFromSupeLayer crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CALayer removeFromSupeLayer crashes


  • Subject: Re: CALayer removeFromSupeLayer crashes
  • From: David Duncan <email@hidden>
  • Date: Mon, 12 Jan 2009 14:44:25 -0800

On Jan 12, 2009, at 12:57 PM, Dennis Christopher wrote:

Dave,

Thanks for the pointer. I had corrected the original array enumeration error, and forgotten. But no matter how I try to access a sublayer I seem to have a problem.

When I now try your suggestion I still get a crash. The call stack shows, in order of execution:

[CALayer setSublayers:]
CALayerUpdateSublayers
updateRemovedSublayer
CALayerMarkVisible
.
.
objc_msgSend (EXC_BAD_ACCESS)

Can you suggest what might be wrong?


I can't reproduce that issue in a simple test project, so I would suspect that you either have a memory management issue or some other dependency. I would start by pulling out the code your looking at into a smaller test project and seeing if you can reproduce the issue from there.
--
David Duncan
Apple DTS Animation and Printing


_______________________________________________

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: 
 >CALayer removeFromSupeLayer crashes (From: Dennis Christopher <email@hidden>)
 >Re: CALayer removeFromSupeLayer crashes (From: David Duncan <email@hidden>)
 >Re: CALayer removeFromSupeLayer crashes (From: Dennis Christopher <email@hidden>)

  • Prev by Date: Re: App Listener?
  • Next by Date: Re: Mac Pro memory sizes
  • Previous by thread: Re: CALayer removeFromSupeLayer crashes
  • Next by thread: Re: CALayer removeFromSupeLayer crashes
  • Index(es):
    • Date
    • Thread