bug-gnustep
[Top][All Lists]
Advanced

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

Re: Notifications sent in -(void)dealloc


From: Adam Fedor
Subject: Re: Notifications sent in -(void)dealloc
Date: Wed, 17 Jul 2002 11:56:23 -0600
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.0rc2) Gecko/20020513

Marcus Müller wrote:
Hi,

I just stumbled across some interesting problem. If you post a notification in one object's dealloc and send 'self' as the object of the notification, it later on crashes during an AutoreleasePool's release method (although the object gets retained by the notification, so its deallocation should be cancelled). It doesn't crash on Mac OS X, however.
A testcase for this problem (GNUstep and OS X project) can be found at

http://www.mulle-kybernetik.com/~znek/GNUstep/Notifications.tar.bz2



Funny. Richard fixed this, or at least it says that he fixed this in the ChangeLog (Jun 2 2002). But it doesn't appear the code was actually changed. Bummer that he's out of town now...


--
Adam Fedor, Digital Optics Corp.      | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
                                      | know how I hate the stuff.




reply via email to

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