• 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
scrollRangeToVisible from within mouseDown causing crash?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scrollRangeToVisible from within mouseDown causing crash?


  • Subject: scrollRangeToVisible from within mouseDown causing crash?
  • From: Ben Lachman <email@hidden>
  • Date: Sun, 30 Mar 2008 04:06:30 -0400

I just added a call to scrollRangeToVisible: that is sometimes called from my text view's mouseDown method. Now, whenever scrollRangeToVisible: is called on a range that is not visible, the next drawRect of the text view crashes with the exception: "*** NSLayoutManager, _getGlyphBuffer(): NSZoneMalloc failed!" (EXC_BAD_ACCESS). I had assumed that this was just a memory management bug on my part, but the fact that I can basically turn the crash on or off based on whether I call scrollRangeToVisible has me a bit confused. Anyone know what this could be?

->Ben
--
Ben Lachman
Acacia Tree Software

http://acaciatreesoftware.com

email@hidden
740.590.0009



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Prev by Date: Bloated NIB files
  • Next by Date: Re: Threads and Core Data, bindings results in view corruption
  • Previous by thread: Re: Bloated NIB files
  • Next by thread: Core Data Client/Server Application
  • Index(es):
    • Date
    • Thread