Re: CALayer removeFromSupeLayer crashes
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