[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segfault when NSTextView is released
From: |
Matt Rice |
Subject: |
Re: Segfault when NSTextView is released |
Date: |
Sat, 15 Feb 2014 23:20:04 -0800 |
On Sat, Feb 15, 2014 at 4:17 PM, Lundberg, Johannes
<johannes@brilliantservice.co.jp> wrote:
> I don't know if the problem is because my ivar. This should work regardless
> if I store the pointer in an ivar or not. And so far this only occurs on
> NSTextView. I suspect that the way NSTextView releases its objects
> internally is not ARC-friendly.
been a long time since i've been in this area, but I do recall
NSTextView being rather weird due to its support for multiple
ownership graphs, I can definitely see as being non-arc friendly...
looking in our NSTextView.h I didn't see the objc_arc_weak_unavailable
or NS_AUTOMATED_REFCOUNT_WEAK_UNAVAILABLE or a -supportsWeakPointers
which the following indicates should be there
http://stackoverflow.com/questions/12882710/iboutlet-for-nstextview-in-a-arc-project
possibly has something to do with it....
- Re: Segfault when NSTextView is released, (continued)
- Re: Segfault when NSTextView is released, Lundberg, Johannes, 2014/02/13
- Re: Segfault when NSTextView is released, Fred Kiefer, 2014/02/13
- Re: Segfault when NSTextView is released, Lundberg, Johannes, 2014/02/13
- Re: Segfault when NSTextView is released, Lundberg, Johannes, 2014/02/13
- Re: Segfault when NSTextView is released, Fred Kiefer, 2014/02/14
- Re: Segfault when NSTextView is released, Sebastian Reitenbach, 2014/02/14
- Re: Segfault when NSTextView is released, Lundberg, Johannes, 2014/02/14
- Re: Segfault when NSTextView is released, David Chisnall, 2014/02/15
- Re: Segfault when NSTextView is released, Fred Kiefer, 2014/02/15
- Re: Segfault when NSTextView is released, Lundberg, Johannes, 2014/02/15
- Re: Segfault when NSTextView is released,
Matt Rice <=
- Re: Segfault when NSTextView is released, Lundberg, Johannes, 2014/02/16
- Re: Segfault when NSTextView is released, Lundberg, Johannes, 2014/02/18