[webkit-qt] Infinite loop while rendering this url

Tarandeep Singh tarandeep at gmail.com
Wed May 25 11:42:44 PDT 2011


Thanks guys for testing this out....

I downloaded a fresh copy of qt-4.7.3 and compiled it with the following
options-

./configure -release -opensource -shared -webkit -qt-zlib -graphicssystem
raster -openssl-linked -largefile -rpath -prefix ../build

I tested the domtraversal example again with this url-
http://nzonlinemall.com/home.html

and I am still facing the same problem. Once I close the window, I can see
the memory footprint starts to go up and I have to kill the process.

Any pointers what could be possible wrong? I am running Ubuntu 9.10
Any library  (flash?) that might be old on my system that I can update to
fix this?

Thanks,
Tarandeep

PS the following messages were printed on screen-

** (<unknown>:20007): DEBUG: NP_Initialize
** (<unknown>:20007): DEBUG: NP_Initialize succeeded
** (<unknown>:20007): DEBUG: NP_Initialize
** (<unknown>:20007): DEBUG: NP_Initialize succeeded
** (<unknown>:20007): DEBUG: NP_Initialize
** (<unknown>:20007): DEBUG: NP_Initialize succeeded
** (<unknown>:20007): DEBUG: NP_Initialize
** (<unknown>:20007): DEBUG: NP_Initialize succeeded
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1~9.10.1)
OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)


On Tue, May 24, 2011 at 3:03 PM, Ademar Reis <ademar.reis at openbossa.org>wrote:

> Works fine with QtWebKit-2.2 also (branch as of today, 49b8a1e).
>
> I tested both on the domtraversal example and the QtTestBrowser.
>
> Cheers,
>   - Ademar
>
> On Tue, May 24, 2011 at 6:51 PM, Alexis Menard
> <alexis.menard at openbossa.org> wrote:
> > It works fine on WebKit trunk.
> >
> > On Tue, May 24, 2011 at 6:45 PM, Tarandeep Singh <tarandeep at gmail.com>
> wrote:
> >> I think webkit is entering into infinite loop while rendering this url-
> >> http://nzonlinemall.com/home.html
> >>
> >> I am using qt-4.7.3 on Ubuntu (I faced the same problem with qt-4.6.2).
> I
> >> used the domtraversal example to test this. Use the above url in
> >> domtraversal example.
> >>
> >> Compile-
> >> cd domtraversal;
> >> $QT/build/bin/qmake
> >> make
> >>
> >> Run-
> >> ./domtraversal
> >>
> >> Once the page is loaded, close the window, you will see that window gets
> >> closed but control does not return to shell prompt. And if you check the
> >> memory usage- it will be constantly increasing - indicating possible
> >> infinite loop.
> >>
> >> When I wrote my sample program to test it - I got the same behavior.
> Webkit
> >> possibly enters into inifinte loop when I try to delete the webpage or
> >> webview object.
> >>
> >> One more thing, this page has flash and the following messages were
> printed
> >> on the screen-
> >>
> >> ** (process:11644): DEBUG: NP_Initialize
> >> ** (process:11644): DEBUG: NP_Initialize succeeded
> >> ** (process:11644): DEBUG: NP_Initialize
> >> ** (process:11644): DEBUG: NP_Initialize succeeded
> >> ** (<unknown>:11644): DEBUG: NP_Initialize
> >> ** (<unknown>:11644): DEBUG: NP_Initialize succeeded
> >> ** (<unknown>:11644): DEBUG: NP_Initialize
> >> ** (<unknown>:11644): DEBUG: NP_Initialize succeeded
> >>
> >> I really need to fix this problem as I am seeing this behavior in some
> other
> >> urls as well. Any help to fix/debug it will be highly appreciated.
> >>
> >> Thanks,
> >> Tarandeep
>
> --
> Ademar de Souza Reis Jr. <ademar.reis at openbossa.org>
> Nokia Institute of Technology
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20110525/3499ebbf/attachment-0001.html>


More information about the webkit-qt mailing list