[webkit-qt] QWebPage leaking network threads?

İsmail Dönmez ismail at namtrac.org
Thu Jul 15 03:58:56 PDT 2010


It gets even more interesting. I enabled REQUEST_DEBUG in loader.cpp and;

1st load;

HOST  COUNT 1 LOADING data:image/gif;base64, [...]
HOST  COUNT 2 LOADING data:image/gif;base64, [...]
HOST  COUNT 3 LOADING data:image/gif;base64, [...]
HOST  COUNT 2 RECEIVED data:image/gif;base64, [...]
HOST  COUNT 1 RECEIVED data:image/gif;base64, [...]
HOST  COUNT 0 RECEIVED data:image/gif;base64, [...]
HOST www.google.com COUNT 1 LOADING
http://www.google.com/csi?v=3&s=mog&action=default_load_1&e=0&mog_d=0&mog_ui=4&rt=nav.210,foot.1002,ol.3482,prt.3482
HOST www.google.com COUNT 0 RECEIVED
http://www.google.com/csi?v=3&s=mog&action=default_load_1&e=0&mog_d=0&mog_ui=4&rt=nav.210,foot.1002,ol.3482,prt.3482

Close QWebView, create it again, 2nd load;

HOST www.google.com COUNT 1 LOADING
http://www.google.com/csi?v=3&s=mog&action=default_load_1&e=0&mog_d=0&mog_ui=4&rt=nav.2,foot.2,ol.15,prt.15
HOST www.google.com COUNT 0 RECEIVED
http://www.google.com/csi?v=3&s=mog&action=default_load_1&e=0&mog_d=0&mog_ui=4&rt=nav.2,foot.2,ol.15,prt.15

Close QWebView, create it again, 3rd load;

NO REQUEST LOG OUTPUT!

So the request does not even come to loader at 3rd load, any ideas which
part of the WebKit to debug next?

Regards,
ismail

On Thu, Jul 15, 2010 at 12:55 PM, İsmail Dönmez <ismail at namtrac.org> wrote:

> Hi Markus;
>
> Indeed the problem looks more complex. I am debugging deeper to see what
> might be wrong.
>
> Regards,
> ismail
>
> On Thu, Jul 15, 2010 at 12:34 PM, Markus Goetz <Markus.Goetz at nokia.com>wrote:
>
>> There are no threads except the DNS lookup threads and those should be
>> cheap
>> and exit themselves after some time.
>> Your webpage loading issue must have some other cause.
>>
>> On Wednesday, July 14, 2010 07:03:59 pm ext İsmail Dönmez wrote:
>> > Hi all;
>> >
>> > I have a small browser widget based on QWebView using a custom QWebPage.
>> > The app works on an embedded Windows CE device. The problem is if I open
>> > and close the browser 2-3 times no web page will open after the 3th
>> time.
>> > I can reproduce this everytime. Looking at the thread count, deleting
>> > QWebPage leaves some threads around.
>> >
>> > I am guessing these are networking related loader threads. I wonder if
>> > anyone experienced a similar problem before?
>> >
>> > Regards,
>> > ismail
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100715/4e8dcd29/attachment.html>


More information about the webkit-qt mailing list