bug-gnustep
[Top][All Lists]
Advanced

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

Re: GWorkspace.app & GNUstep cvs


From: Adam Fedor
Subject: Re: GWorkspace.app & GNUstep cvs
Date: Sun, 27 Oct 2002 18:30:37 -0700
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.0.0) Gecko/20020610

Charles Philip Chan wrote:
There seem to be a problem with GWorkspace.app and GNUstep cvs dated
Oct. 26. The problem is that whenever an Inspector panel is closed the
program segfaults. Here is the backtrace:

#0  0x405054c7 in objc_msg_lookup () from /usr/local/lib/libobjc.so.1
#1 0x080810ea in -[GenericContsView dealloc] (self=0x83f94c0,


I see the problem. NSTextView knows it is going to be dealloc'd twice, so it makes arrangements not to release its ivars prematurely. However, subclasses (GenericContsView) do not know this so they happily release their ivars twice.

Unfortuneatly, in this case, knowing the problem does not make it easy to solve :-(

--
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]