From kde-core-devel Wed Jan 30 15:58:38 2002 From: Michael Goffioul Date: Wed, 30 Jan 2002 15:58:38 +0000 To: kde-core-devel Subject: Re: Got some bugs here X-MARC-Message: https://marc.info/?l=kde-core-devel&m=101240710828275 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------FD47B580ED949BE183488FA9" This is a multi-part message in MIME format. --------------FD47B580ED949BE183488FA9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > > 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 ------------------------------------------------------------------ --------------FD47B580ED949BE183488FA9 Content-Type: text/x-vcard; charset=us-ascii; name="goffioul.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Michael Goffioul Content-Disposition: attachment; filename="goffioul.vcf" begin:vcard n:Goffioul;Michael x-mozilla-html:FALSE org:IMEC;DESICS-MIRA adr:;;Kapeldreef, 75;Heverlee;;3001;Belgium version:2.1 email;internet:goffioul@imec.be title:Engineer fn:Michael Goffioul end:vcard --------------FD47B580ED949BE183488FA9--