discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in NSKeyValueObserving.m


From: Richard Frith-Macdonald
Subject: Re: Crash in NSKeyValueObserving.m
Date: Thu, 16 Jan 2014 15:18:31 +0000

On 16 Jan 2014, at 14:49, Mathias Bauer <mathias_bauer@gmx.net> wrote:

> Hi,
> 
> I got a crash when using NSOperations. The root cause of the crash seems to 
> be that the implementation of "didChangeValueForKey" in NSKeyValueObserving.m 
> has a problem when an observer does unregister in the notification. In this 
> case the variable "pathInfo" in the following code gets destroyed (you can 
> also see how the crash can be avoided by adding a retain/release on pathInfo 
> in the right places):

Thanks very much ... I comitted a slightly different fix which should avoid the 
problem there as well as similar issues in other places.
Please give it a go.




reply via email to

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