[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Konsole still crashes on exit (Re: purify konsole)
From:       Stephan Kulow <coolo () kde ! org>
Date:       2000-09-19 21:36:22
[Download RAW message or body]

Waldo Bastian wrote:
> 
> On Tue, 19 Sep 2000, Stephan Kulow wrote:
> > Thomas Leitner wrote:
> > > On Tue, 19 Sep 2000, Waldo Bastian wrote:
> > > > > Hmm, not, it's about KCursorPrivate's KStaticDeleter....
> > > >
> > > > Hmm.. could it be that the order of deletion is wrong? E.g. that the
> > > > meta-data is deleted before this static-deleter is called?
> > >
> > > This could be the case. Any countermeasure?
> >
> > This shouldn't happen as the StaticDeleter is cleaned when KApplication
> > exists. The only possible case is that KApplication itself leaks, but
> > if KApplication is destructed in mail the static deleters shouldn't be
> > the problem as they are away before any global destructors run.
> 
> Oh.. how smart of us to think of that :-)
> 
> The (theoretical) problem would still exist in lib's that get dlclosed
> though. Wouldn't it?
> 
Well, only if the order of their destructing of KStaticDeleters makes
any
difference. Say that libkonsole keeps a reference to a KCursor it
deletes
later (all staticly bound). Then, otherwise not as qt isn't dlclosed and
from what I understand konsole crashes while closing.

Greetings, Stephan

-- 
... but you ain't had mine
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic