Skip navigation.
 
mlRe: Odd Layout Manager Crash
FROM : Daniel Jalkut
DATE : Thu Apr 05 17:45:37 2007

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/

Related mailsAuthorDate
mlOdd Layout Manager Crash Ben Lachman Apr 5, 07:49
mlRe: Odd Layout Manager Crash Daniel Jalkut Apr 5, 17:45
mlRe: Odd Layout Manager Crash Ben Lachman Apr 6, 01:20