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

List:       kde-core-devel
Subject:    Re: Got some bugs here
From:       Michael Goffioul <goffioul () imec ! be>
Date:       2002-01-30 15:58:38
[Download RAW message or body]


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

In the case of KDEPrint, the potential crash cause (to be confirmed) is
the pointer to KPrinterImpl object included in KPrinter. However, this
KPrinterImpl object is owned by KMFactory whose deletion is controlled
by KStaticDeleter. So the crash of Kate is possibly caused by the fact
that static deleters are destroyed BEFORE the kate document is
destroyed.
Is this possible?

Michael.

-- 
------------------------------------------------------------------
Michael Goffioul		IMEC-DESICS-MIRA
e-mail: goffioul@imec.be	(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510		Kapeldreef, 75
Fax:    +32/16/28-1515		3001 HEVERLEE, BELGIUM
------------------------------------------------------------------
["goffioul.vcf" (text/x-vcard)]

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

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