Re: Odd Layout Manager Crash
Re: Odd Layout Manager Crash
- Subject: Re: Odd Layout Manager Crash
- From: Daniel Jalkut <email@hidden>
- Date: Thu, 5 Apr 2007 11:45:37 -0400
On Apr 5, 2007, at 1:49 AM, Ben Lachman wrote:
*** NSLayoutManager, _getGlyphBuffer(): NSZoneMalloc failed!
I changed some of my attributed string generation code and this
suddenly started crashing my app. It happens when I call [super
drawRect:] from my customized textview. Anyone have any ideas or
run across this before?
This kind of bug is almost always due to a memory allocation error of
some kind in your own code. I would in particular review carefully
the changes you made recently and how they might impact the
allocation/deallocation of objects.
Running with NSZombieEnabled and with Guard Malloc enabled might
reveal clues.
Daniel
--------------
Daniel Jalkut
http://www.red-sweater.com/blog/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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