bug-gnustep
[Top][All Lists]
Advanced

[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....



reply via email to

[Prev in Thread] Current Thread [Next in Thread]