• 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: Odd Layout Manager Crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Odd Layout Manager Crash
      • From: Ben Lachman <email@hidden>
References: 
 >Odd Layout Manager Crash (From: Ben Lachman <email@hidden>)

  • Prev by Date: How to ask for and utilize a user's password?
  • Next by Date: Re: How to ask for and utilize a user's password?
  • Previous by thread: Odd Layout Manager Crash
  • Next by thread: Re: Odd Layout Manager Crash
  • Index(es):
    • Date
    • Thread