FROM : Ben Lachman
DATE : Sun Mar 30 10:06:30 2008
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_removed>
740.590.0009
DATE : Sun Mar 30 10:06:30 2008
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_removed>
740.590.0009
| Related mails | Author | Date |
|---|---|---|
| Ben Lachman | Mar 30, 10:06 | |
| Ben Lachman | Apr 3, 08:03 | |
| Martin Wierschin | Apr 4, 00:27 |






Cocoa mail archive

