Re: Odd Layout Manager Crash
Re: Odd Layout Manager Crash
- Subject: Re: Odd Layout Manager Crash
- From: Ben Lachman <email@hidden>
- Date: Thu, 5 Apr 2007 19:20:19 -0400
The actual problem ended up being that during the changes to my
attributed string code I changed my mouseDown: method on the custom
textview and was accidently calling super's mouseDown: twice.
--
Ben Lachman
email@hidden
email@hidden
740.590.0009
On Apr 5, 2007, at 11:45 AM, Daniel Jalkut wrote:
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