From kde-core-devel Wed Jan 30 19:49:11 2002 From: Michael Brade Date: Wed, 30 Jan 2002 19:49:11 +0000 To: kde-core-devel Subject: Re: Got some bugs here X-MARC-Message: https://marc.info/?l=kde-core-devel&m=101242025611818 Hi, > > They lead to crashes ;) > > I see ;) > > May I ask "why"? ok, now I know why :-), thanks. > > > KDirListerCache *is* a static object in libkio... > > > > Try to redesign it to not require static objects. If impossible use > > KStaticDeleter. Examples are all over kdelibs. > > I'm using KStaticDeleter.... */me thinking about the second sentence* > YEAH!! But I guess from your mail that I used it wrongly! Will change and > test it this evening, hopefully the crashes will be gone by then :-) Uhmm, sh*t, I didn't misuse KStaticDeleter... :( But I found that KFileMetaInfo is using a KStaticDeleter as well - so is it possible that one of the static deleters is deleted too early or too late? Has anybody a tool for searching already deleted pointers that are accessed again later? -- Michael Brade; KDE Developer, Student of Computer Science |-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2' °--web: http://www.kde.org/people/michaelb.html KDE 3.0: Konquering the Desktops