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

List:       kfm-devel
Subject:    Re: Problem with refcounting KHTMLPart
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2007-12-04 17:28:34
Message-ID: 47558E42.8050504 () gmx ! de
[Download RAW message or body]


David Faure schrieb:
> On Monday 03 December 2007, Christian Ehrlicher wrote:
>> Christian Ehrlicher schrieb:
>>> Hi,
>>>
>>> I get an assert on exiting konqueror in khtml_factory.cpp:63 (assert(
>>> !s_refcnt )).
>>>
>>> It looks like refcounting is broken, but it looks more like the problem
>>> is QObjectCleanupHandler() which deletes the objects directly instead
>>> calling KHTMLFactory::deref()  --> when ( s_self == this ) the refcount
>>> is still 1.
>>>
>>> How can this be fixed?
>>>
>> After hitting 'send' and a 'svn up' I saw that dfaure fixed exactly this
>> problem some hours ago...
> 
> Nope. I cleaned up the design, but the DocumentImpl refcounting problem is still there.
> 
At least it works now fine for me:
konqueror(42096)/khtml void __cdecl KHTMLGlobal::finalCheck(void):
s_refcnt= 0

Testcase: open a second tab and then close konqueror


Christian


["signature.asc" (application/pgp-signature)]

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

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