• 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: 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


References: 
 >Odd Layout Manager Crash (From: Ben Lachman <email@hidden>)
 >Re: Odd Layout Manager Crash (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: Button refuse to change the title!!!!
  • Next by Date: Re: Button refuse to change the title!!!!
  • Previous by thread: Re: Odd Layout Manager Crash
  • Next by thread: Core Data Relationships
  • Index(es):
    • Date
    • Thread